public class HttpServletHttpServerImplementation extends Object implements HttpServerImplementation, HttpServerImplementationFactory
HttpServerImplementation to validate tests.| Modifier and Type | Class and Description |
|---|---|
static interface |
HttpServletHttpServerImplementation.HttpServletOfficeFloorLoader
Provides context to load the
HttpServletHttpServerImplementation. |
| Modifier and Type | Field and Description |
|---|---|
static String |
SYNC_TEAM_NAME
Name of the
ThreadLocalAwareTeamSource to provide synchronous
blocking servicing to work within Filter chain. |
| Constructor and Description |
|---|
HttpServletHttpServerImplementation() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureHttpServer(HttpServerImplementationContext context) |
HttpServerImplementation |
createService(net.officefloor.frame.api.source.ServiceContext context) |
static boolean |
isWithinOfficeFloorFilter()
Indicates if running within the
OfficeFloorFilter. |
static HttpServletOfficeFloorBridge |
load(HttpServletHttpServerImplementation.HttpServletOfficeFloorLoader loader)
Loads the
HttpServletHttpServerImplementation. |
public static final String SYNC_TEAM_NAME
ThreadLocalAwareTeamSource to provide synchronous
blocking servicing to work within Filter chain.public static HttpServletOfficeFloorBridge load(HttpServletHttpServerImplementation.HttpServletOfficeFloorLoader loader) throws Exception
HttpServletHttpServerImplementation.loader - HttpServletHttpServerImplementation.HttpServletOfficeFloorLoader.HttpServletOfficeFloorBridge.Exception - If fails to load.public static boolean isWithinOfficeFloorFilter()
OfficeFloorFilter.true if running within OfficeFloorFilter.public HttpServerImplementation createService(net.officefloor.frame.api.source.ServiceContext context) throws Throwable
createService in interface net.officefloor.frame.api.source.ServiceFactory<HttpServerImplementation>Throwablepublic void configureHttpServer(HttpServerImplementationContext context)
configureHttpServer in interface HttpServerImplementationCopyright © 2005–2020 OfficeFloor. All rights reserved.