public class HttpRequestObjectManagedObjectSource extends AbstractManagedObjectSource<Indexed,None>
Modifier and Type | Class and Description |
---|---|
class |
HttpRequestObjectManagedObjectSource.HttpRequestObjectManagedObject
ManagedObject to retrieve the object from the
HttpRequestState . |
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_BIND_NAME
Name of property containing the name to bind the object within the
HttpRequestState . |
static String |
PROPERTY_CASE_INSENSITIVE
Property to obtain whether the
HttpParametersLoader is case
insensitive in matching parameter names. |
static String |
PROPERTY_CLASS_NAME
Name of property containing the class name.
|
static String |
PROPERTY_IS_LOAD_HTTP_PARAMETERS
Name of property flagging whether to load the HTTP parameters to a new
object.
|
static String |
PROPERTY_PREFIX_ALIAS
Property prefix for an alias for the
HttpParametersLoader . |
Constructor and Description |
---|
HttpRequestObjectManagedObjectSource() |
Modifier and Type | Method and Description |
---|---|
protected ManagedObject |
getManagedObject()
Synchronously obtains the
ManagedObject . |
protected void |
loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<Indexed,None> context)
Overridden to load meta-data.
|
protected void |
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications.
|
sourceManagedObject
getMetaData, getSpecification, init, start, stop
public static final String PROPERTY_CLASS_NAME
public static final String PROPERTY_BIND_NAME
HttpRequestState
.public static final String PROPERTY_IS_LOAD_HTTP_PARAMETERS
public static final String PROPERTY_CASE_INSENSITIVE
HttpParametersLoader
is case
insensitive in matching parameter names.public static final String PROPERTY_PREFIX_ALIAS
HttpParametersLoader
.public HttpRequestObjectManagedObjectSource()
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
AbstractAsyncManagedObjectSource
loadSpecification
in class AbstractAsyncManagedObjectSource<Indexed,None>
context
- Specifications.protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<Indexed,None> context) throws Exception
AbstractAsyncManagedObjectSource
loadMetaData
in class AbstractAsyncManagedObjectSource<Indexed,None>
context
- Meta-data.Exception
- If fails to load the meta-data.protected ManagedObject getManagedObject()
AbstractManagedObjectSource
ManagedObject
.getManagedObject
in class AbstractManagedObjectSource<Indexed,None>
ManagedObject
.Copyright © 2005–2016. All rights reserved.