public class HttpRouteWorkSource extends AbstractWorkSource<HttpRouteTask>
WorkSource
to provide appropriately secure
ServerHttpConnection
.
Configuration of what to secure is determined by
HttpUrlContinuationDifferentiator
on the Office
TaskManager
instances.
AbstractWorkSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
TASK_NAME
Name of the
HttpRouteTask . |
Constructor and Description |
---|
HttpRouteWorkSource() |
Modifier and Type | Method and Description |
---|---|
protected void |
loadSpecification(AbstractWorkSource.SpecificationContext context)
Loads the
WorkSourceSpecification . |
void |
sourceWork(WorkTypeBuilder<HttpRouteTask> workTypeBuilder,
WorkSourceContext context)
Sources the
WorkType by populating it via the input
WorkTypeBuilder . |
getSpecification
public static final String TASK_NAME
HttpRouteTask
.protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
AbstractWorkSource
WorkSourceSpecification
.loadSpecification
in class AbstractWorkSource<HttpRouteTask>
context
- AbstractWorkSource.SpecificationContext
.public void sourceWork(WorkTypeBuilder<HttpRouteTask> 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.