Package net.officefloor.web.compile
Interface CompileWebContext
-
- All Superinterfaces:
CompileOfficeContext
- All Known Implementing Classes:
CompileWebContextImpl
public interface CompileWebContext extends CompileOfficeContext
Context for theCompileWebExtension
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebArchitect
getWebArchitect()
Obtains theWebArchitect
.HttpUrlContinuation
link(boolean isSecure, java.lang.String applicationPath, java.lang.Class<?> sectionClass)
Convenience method to link a URI to theservice
method of theClass
.HttpInput
link(boolean isSecure, java.lang.String httpMethodName, java.lang.String applicationPath, java.lang.Class<?> sectionClass)
Convenience method to link a URL to theservice
method of theClass
.-
Methods inherited from interface net.officefloor.compile.test.officefloor.CompileOfficeContext
addManagedObject, addSection, getOfficeArchitect, getOfficeSection, getOfficeSourceContext, overrideSection, variable
-
-
-
-
Method Detail
-
getWebArchitect
WebArchitect getWebArchitect()
Obtains theWebArchitect
.- Returns:
WebArchitect
.
-
link
HttpUrlContinuation link(boolean isSecure, java.lang.String applicationPath, java.lang.Class<?> sectionClass)
Convenience method to link a URI to theservice
method of theClass
.- Parameters:
applicationPath
- Application path.isSecure
- Indicates if secure.sectionClass
-Class
containing aservice
method.- Returns:
HttpUrlContinuation
.
-
link
HttpInput link(boolean isSecure, java.lang.String httpMethodName, java.lang.String applicationPath, java.lang.Class<?> sectionClass)
Convenience method to link a URL to theservice
method of theClass
.- Parameters:
isSecure
- Indicates if secure.httpMethodName
- Name of theHttpMethod
.applicationPath
- Application path.sectionClass
-Class
containing aservice
method.- Returns:
HttpInput
.
-
-