net.officefloor.plugin.web.http.server
Interface HttpServerAutoWireApplication

All Superinterfaces:
AutoWireApplication, WebAutoWireApplication
All Known Implementing Classes:
HttpServerAutoWireOfficeFloorSource, WoofOfficeFloorSource

public interface HttpServerAutoWireApplication
extends WebAutoWireApplication

Auto-wired web application that is stand-alone.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface net.officefloor.plugin.web.http.application.WebAutoWireApplication
HANDLER_INPUT_NAME, HANDLER_SECTION_NAME, WEB_PUBLIC_RESOURCES_CLASS_PATH_PREFIX
 
Method Summary
 AutoWireObject addHttpServerSocket(int port)
          Adds listening for HTTP on the specified port.
 AutoWireObject addHttpsServerSocket(int port, Class<? extends SslEngineSource> sslEngineSourceClass)
          Adds listening for HTTPS on the specified port.
 AutoWireObject getHttpSessionAutoWireObject()
           Obtains the AutoWireObject for the HttpSession.
 
Methods inherited from interface net.officefloor.plugin.web.http.application.WebAutoWireApplication
addHttpApplicationObject, addHttpApplicationObject, addHttpRequestObject, addHttpRequestObject, addHttpSessionObject, addHttpSessionObject, addHttpTemplate, chainServicer, getHttpSecurity, getURIs, linkEscalation, linkEscalation, linkToHttpTemplate, linkToResource, linkToSendResponse, linkUri, setDefaultHttpTemplateUriSuffix, setHttpSecurity
 
Methods inherited from interface net.officefloor.autowire.AutoWireApplication
addGovernance, addManagedObject, addObject, addSection, addSection, addSectionTransformer, addStartupFlow, addSupplier, assignDefaultTeam, assignTeam, getOfficeFloorCompiler, getSection, isLinked, isObjectAvailable, link, linkEscalation, openOfficeFloor, setProfiler
 

Method Detail

addHttpServerSocket

AutoWireObject addHttpServerSocket(int port)
Adds listening for HTTP on the specified port.

Parameters:
port - Port to listen on.
Returns:
AutoWireObject of the added HTTP server socket.

addHttpsServerSocket

AutoWireObject addHttpsServerSocket(int port,
                                    Class<? extends SslEngineSource> sslEngineSourceClass)
Adds listening for HTTPS on the specified port.

Parameters:
port - Port to listen on.
sslEngineSourceClass - SslEngineSource class. May be null.
Returns:
AutoWireObject of the added HTTPS server socket.

getHttpSessionAutoWireObject

AutoWireObject getHttpSessionAutoWireObject()

Obtains the AutoWireObject for the HttpSession.

This allows overriding the default configuration for the HttpSessionManagedObjectSource.

Returns:
AutoWireObject for the HttpSession.


Copyright © 2005-2013. All Rights Reserved.