public class HttpServerSocketManagedObjectSource extends AbstractServerSocketManagedObjectSource implements ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
DEFAULT_CHARSET, PROPERTY_DEFAULT_CHARSET, PROPERTY_PORT, PROPERTY_RECEIVE_BUFFER_SIZE, PROPERTY_SEND_BUFFER_SIZE
Constructor and Description |
---|
HttpServerSocketManagedObjectSource() |
Modifier and Type | Method and Description |
---|---|
static AutoWireObject |
autoWire(AutoWireApplication source,
int port,
String sectionName,
String sectionInputName)
Convenience method to auto-wire in a
HttpServerSocketManagedObjectSource into an
AutoWireApplication . |
protected CommunicationProtocolSource |
createCommunicationProtocolSource()
Creates the
CommunicationProtocolSource . |
static ManagedObjectSourceWirer |
createManagedObjectSourceWirer(String sectionName,
String sectionInputName)
Convenience method to create the
ManagedObjectSourceWirer for
wiring in the HttpServerSocketManagedObjectSource . |
String |
getManagedObjectSourceAlias()
Obtains the alias for the
ManagedObjectSource Class . |
Class<HttpServerSocketManagedObjectSource> |
getManagedObjectSourceClass()
Obtains the
ManagedObjectSource Class . |
closeConnectionManager, getCharset, getDefaultCharset, getManagedObject, getSendBufferSize, loadMetaData, loadSpecification, start, stop
sourceManagedObject
getMetaData, getSpecification, init
public static ManagedObjectSourceWirer createManagedObjectSourceWirer(String sectionName, String sectionInputName)
ManagedObjectSourceWirer
for
wiring in the HttpServerSocketManagedObjectSource
.sectionName
- Name of the section handling the HttpRequest
.sectionInputName
- Name of the SectionInput
handling the
HttpRequest
.ManagedObjectSourceWirer
for wiring in the
HttpServerSocketManagedObjectSource
.public static AutoWireObject autoWire(AutoWireApplication source, int port, String sectionName, String sectionInputName)
HttpServerSocketManagedObjectSource
into an
AutoWireApplication
.source
- AutoWireApplication
.port
- Port to listen for HTTP requests.sectionName
- Name of the SectionNode
.sectionInputName
- Name of the SectionInput
.AutoWireObject
.public String getManagedObjectSourceAlias()
ManagedObjectSourceService
ManagedObjectSource
Class
.getManagedObjectSourceAlias
in interface ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
ManagedObjectSource
Class
.public Class<HttpServerSocketManagedObjectSource> getManagedObjectSourceClass()
ManagedObjectSourceService
ManagedObjectSource
Class
.getManagedObjectSourceClass
in interface ManagedObjectSourceService<None,Indexed,HttpServerSocketManagedObjectSource>
ManagedObjectSource
Class
.protected CommunicationProtocolSource createCommunicationProtocolSource()
AbstractServerSocketManagedObjectSource
CommunicationProtocolSource
.createCommunicationProtocolSource
in class AbstractServerSocketManagedObjectSource
CommunicationProtocolSource
.Copyright © 2005–2016. All rights reserved.