net.officefloor.plugin.socket.server.http.response.source
Class HttpResponseSenderWorkSource
java.lang.Object
net.officefloor.compile.spi.work.source.impl.AbstractWorkSource<Work>
net.officefloor.plugin.socket.server.http.response.source.HttpResponseSenderWorkSource
- All Implemented Interfaces:
- WorkSource<Work>
public class HttpResponseSenderWorkSource
- extends AbstractWorkSource<Work>
WorkSource to trigger sending the HttpResponse.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_HTTP_STATUS
public static final String PROPERTY_HTTP_STATUS
- Property to obtain the HTTP status for the
HttpResponse.
- See Also:
- Constant Field Values
PROPERTY_HTTP_RESPONSE_CONTENT_FILE
public static final String PROPERTY_HTTP_RESPONSE_CONTENT_FILE
- Property to obtain the class path location of the
File containing
the HTTP response.
- See Also:
- Constant Field Values
HttpResponseSenderWorkSource
public HttpResponseSenderWorkSource()
loadSpecification
protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
- Specified by:
loadSpecification in class AbstractWorkSource<Work>
sourceWork
public void sourceWork(WorkTypeBuilder<Work> workTypeBuilder,
WorkSourceContext context)
throws Exception
- Throws:
Exception
Copyright © 2005-2011. All Rights Reserved.