Package net.officefloor.web.compile
Interface CompileWebContext
- All Superinterfaces:
CompileOfficeContext
- All Known Implementing Classes:
CompileWebContextImpl
Context for the
CompileWebExtension.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theWebArchitect.Convenience method to link a URI to theservicemethod of theClass.Convenience method to link a URL to theservicemethod of theClass.Methods inherited from interface net.officefloor.compile.test.officefloor.CompileOfficeContext
addManagedObject, addSection, getOfficeArchitect, getOfficeSection, getOfficeSourceContext, overrideSection, variable
-
Method Details
-
getWebArchitect
WebArchitect getWebArchitect()Obtains theWebArchitect.- Returns:
WebArchitect.
-
link
Convenience method to link a URI to theservicemethod of theClass.- Parameters:
applicationPath- Application path.isSecure- Indicates if secure.sectionClass-Classcontaining aservicemethod.- Returns:
HttpUrlContinuation.
-
link
HttpInput link(boolean isSecure, String httpMethodName, String applicationPath, Class<?> sectionClass) Convenience method to link a URL to theservicemethod of theClass.- Parameters:
isSecure- Indicates if secure.httpMethodName- Name of theHttpMethod.applicationPath- Application path.sectionClass-Classcontaining aservicemethod.- Returns:
HttpInput.
-