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 WebArchitectgetWebArchitect()Obtains theWebArchitect.HttpUrlContinuationlink(boolean isSecure, java.lang.String applicationPath, java.lang.Class<?> sectionClass)Convenience method to link a URI to theservicemethod of theClass.HttpInputlink(boolean isSecure, java.lang.String httpMethodName, java.lang.String applicationPath, java.lang.Class<?> sectionClass)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 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 theservicemethod of theClass.- Parameters:
applicationPath- Application path.isSecure- Indicates if secure.sectionClass-Classcontaining aservicemethod.- 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 theservicemethod of theClass.- Parameters:
isSecure- Indicates if secure.httpMethodName- Name of theHttpMethod.applicationPath- Application path.sectionClass-Classcontaining aservicemethod.- Returns:
HttpInput.
-
-