public abstract class PortalHandlerWorker<WebRequestType extends WebRequest>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected WebRequestType |
request |
Constructor and Description |
---|
PortalHandlerWorker(WebRequestType request) |
Modifier and Type | Method and Description |
---|---|
abstract PortalResponse |
execute() |
protected WebException |
forbidden(java.lang.String message,
java.lang.Object... args) |
protected WebException |
notFound(java.lang.String message,
java.lang.Object... args) |
protected void |
setResponseCacheable(PortalResponse.Builder response,
boolean isPublic) |
protected WebRequestType extends WebRequest request
public PortalHandlerWorker(WebRequestType request)
public abstract PortalResponse execute() throws java.lang.Exception
java.lang.Exception
protected final WebException notFound(java.lang.String message, java.lang.Object... args)
protected final WebException forbidden(java.lang.String message, java.lang.Object... args)
protected void setResponseCacheable(PortalResponse.Builder response, boolean isPublic)