Package net.officefloor.web.compile
Class WebCompileOfficeFloor
- java.lang.Object
-
- net.officefloor.compile.spi.officefloor.source.impl.AbstractOfficeFloorSource
-
- net.officefloor.compile.test.officefloor.CompileOfficeFloor
-
- net.officefloor.web.compile.WebCompileOfficeFloor
-
- All Implemented Interfaces:
OfficeFloorSource
public class WebCompileOfficeFloor extends CompileOfficeFloor
ProvidesWebArchitect
and server configuration for testing web applications.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.officefloor.source.impl.AbstractOfficeFloorSource
AbstractOfficeFloorSource.SpecificationContext
-
-
Constructor Summary
Constructors Constructor Description WebCompileOfficeFloor()
Instantiate with no context path.WebCompileOfficeFloor(java.lang.String contextPath)
Instantiate with context path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mockHttpServer(java.util.function.Consumer<MockHttpServer> consumeMockhttpServer)
LoadsMockHttpServer
.void
web(CompileWebExtension extension)
Adds aCompileWebExtension
.-
Methods inherited from class net.officefloor.compile.test.officefloor.CompileOfficeFloor
compileAndOpenOfficeFloor, compileOfficeFloor, getOfficeFloorCompiler, invokeProcess, invokeProcess, invokeProcess, loadOfficeFloorType, loadSpecification, office, officeFloor, section, sourceOfficeFloor, specifyConfigurationProperties
-
Methods inherited from class net.officefloor.compile.spi.officefloor.source.impl.AbstractOfficeFloorSource
getSpecification
-
-
-
-
Method Detail
-
web
public void web(CompileWebExtension extension)
Adds aCompileWebExtension
.- Parameters:
extension
-CompileWebExtension
.
-
mockHttpServer
public void mockHttpServer(java.util.function.Consumer<MockHttpServer> consumeMockhttpServer)
LoadsMockHttpServer
.- Parameters:
consumeMockhttpServer
- Receives theMockHttpServer
.
-
-