|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.compile.spi.section.source.impl.AbstractSectionSource
net.officefloor.plugin.web.http.application.WebApplicationSectionSource
public class WebApplicationSectionSource
Provides server functionality for the HTTP Server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource |
|---|
AbstractSectionSource.SpecificationContext |
| Field Summary | |
|---|---|
static String |
PROPERTY_LINK_SERVICE_TASK_NAME_PREFIX
Prefix on the Task name to service links. |
static String |
ROUTE_TO_HTTP_TEMPLATE_OUTPUT_URI_PREFIX
Prefix on the SectionOutput name for the registered
HttpTemplateAutoWireSection to allow linking flow. |
static String |
SEND_RESPONSE_INPUT_NAME
Name of the SectionInput to send the HttpResponse. |
static String |
UNHANDLED_REQUEST_OUTPUT_NAME
Name of the SectionOutput for servicing non-handled
HttpRequest instances. |
| Constructor Summary | |
|---|---|
WebApplicationSectionSource()
|
|
| Method Summary | |
|---|---|
protected void |
loadSpecification(AbstractSectionSource.SpecificationContext context)
Loads the SectionSourceSpecification. |
void |
sourceSection(SectionDesigner designer,
SectionSourceContext context)
Sources the OfficeSection by constructing it via the input
SectionDesigner. |
| Methods inherited from class net.officefloor.compile.spi.section.source.impl.AbstractSectionSource |
|---|
getSpecification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UNHANDLED_REQUEST_OUTPUT_NAME
SectionOutput for servicing non-handled
HttpRequest instances.
public static final String SEND_RESPONSE_INPUT_NAME
SectionInput to send the HttpResponse.
public static final String ROUTE_TO_HTTP_TEMPLATE_OUTPUT_URI_PREFIX
SectionOutput name for the registered
HttpTemplateAutoWireSection to allow linking flow.
public static final String PROPERTY_LINK_SERVICE_TASK_NAME_PREFIX
Task name to service links.
| Constructor Detail |
|---|
public WebApplicationSectionSource()
| Method Detail |
|---|
protected void loadSpecification(AbstractSectionSource.SpecificationContext context)
AbstractSectionSourceSectionSourceSpecification.
loadSpecification in class AbstractSectionSourcecontext - AbstractSectionSource.SpecificationContext.
public void sourceSection(SectionDesigner designer,
SectionSourceContext context)
throws Exception
SectionSourceOfficeSection by constructing it via the input
SectionDesigner.
designer - SectionDesigner to construct the structure of the
OfficeSection.context - SectionSourceContext to source details to construct
the OfficeSection.
Exception - If fails to construct the OfficeSection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||