net.officefloor.plugin.socket.server.http.source
Class HttpServerSocketManagedObjectSource
java.lang.Object
net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource<D,F>
net.officefloor.frame.spi.managedobject.source.impl.AbstractManagedObjectSource<None,Indexed>
net.officefloor.plugin.socket.server.impl.AbstractServerSocketManagedObjectSource<HttpConnectionHandler>
net.officefloor.plugin.socket.server.http.source.HttpServerSocketManagedObjectSource
- All Implemented Interfaces:
- ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>, ManagedObjectSource<None,Indexed>
public class HttpServerSocketManagedObjectSource
- extends AbstractServerSocketManagedObjectSource<HttpConnectionHandler>
- implements ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
ManagedObjectSource for a ServerHttpConnection.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServerSocketManagedObjectSource
public HttpServerSocketManagedObjectSource()
createManagedObjectSourceWirer
public static ManagedObjectSourceWirer createManagedObjectSourceWirer(String sectionName,
String sectionInputName)
- Convenience method to create the
ManagedObjectSourceWirer for
wiring in the HttpServerSocketManagedObjectSource.
- Parameters:
sectionName - Name of the section handling the HttpRequest.sectionInputName - Name of the SectionInput handling the
HttpRequest.
- Returns:
ManagedObjectSourceWirer for wiring in the
HttpServerSocketManagedObjectSource.
autoWire
public static void autoWire(AutoWireOfficeFloorSource source,
int port,
String sectionName,
String sectionInputName)
- Convenience method to auto-wire in a
HttpServerSocketManagedObjectSource into an
AutoWireOfficeFloorSource.
- Parameters:
source - AutoWireOfficeFloorSource.port - Port to listen for HTTP requests.
getManagedObjectSourceAlias
public String getManagedObjectSourceAlias()
- Specified by:
getManagedObjectSourceAlias in interface ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
getManagedObjectSourceClass
public Class<HttpServerSocketManagedObjectSource> getManagedObjectSourceClass()
- Specified by:
getManagedObjectSourceClass in interface ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
createCommunicationProtocol
protected CommunicationProtocol<HttpConnectionHandler> createCommunicationProtocol()
- Description copied from class:
AbstractServerSocketManagedObjectSource
- Creates the
CommunicationProtocol.
- Specified by:
createCommunicationProtocol in class AbstractServerSocketManagedObjectSource<HttpConnectionHandler>
- Returns:
CommunicationProtocol.
Copyright © 2005-2011. All Rights Reserved.