public class HttpParametersLoaderWorkSource extends AbstractWorkSource<HttpParametersLoaderWorkSource.HttpParametersLoaderTask>
WorkSource
to load the HttpRequest
parameters onto a
dependency Object.Modifier and Type | Class and Description |
---|---|
class |
HttpParametersLoaderWorkSource.HttpParametersLoaderTask
Task to load the HttpRequest parameters onto a dependency
Object. |
AbstractWorkSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CASE_INSENSITIVE
Property to obtain whether the
HttpParametersLoader is case
insensitive in matching parameter names. |
static String |
PROPERTY_PREFIX_ALIAS
Property prefix for an alias.
|
static String |
PROPERTY_TYPE_NAME
Property to obtain the fully qualified type name of the Object to have
parameters loaded on it.
|
Constructor and Description |
---|
HttpParametersLoaderWorkSource() |
Modifier and Type | Method and Description |
---|---|
protected void |
loadSpecification(AbstractWorkSource.SpecificationContext context)
Loads the
WorkSourceSpecification . |
void |
sourceWork(WorkTypeBuilder<HttpParametersLoaderWorkSource.HttpParametersLoaderTask> workTypeBuilder,
WorkSourceContext context)
Sources the
WorkType by populating it via the input
WorkTypeBuilder . |
getSpecification
public static final String PROPERTY_TYPE_NAME
public static final String PROPERTY_CASE_INSENSITIVE
HttpParametersLoader
is case
insensitive in matching parameter names.public static final String PROPERTY_PREFIX_ALIAS
protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
AbstractWorkSource
WorkSourceSpecification
.loadSpecification
in class AbstractWorkSource<HttpParametersLoaderWorkSource.HttpParametersLoaderTask>
context
- AbstractWorkSource.SpecificationContext
.public void sourceWork(WorkTypeBuilder<HttpParametersLoaderWorkSource.HttpParametersLoaderTask> workTypeBuilder, WorkSourceContext context) throws Exception
WorkSource
WorkType
by populating it via the input
WorkTypeBuilder
.workTypeBuilder
- WorkTypeBuilder
to be populated with the
type definition
of the Work
.context
- WorkSourceContext
to source details to populate the
WorkTypeBuilder
.Exception
- If fails to populate the WorkTypeBuilder
.Copyright © 2005–2016. All rights reserved.