public abstract class PortalHandlerWorker extends Object
Modifier and Type | Field and Description |
---|---|
protected PortalRequest |
request |
protected PortalResponse.Builder |
response |
Constructor and Description |
---|
PortalHandlerWorker() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute() |
protected PortalException |
forbidden(String message,
Object... args) |
WebSocketEndpoint |
newWebSocketEndpoint(WebSocketConfig config) |
protected PortalException |
notFound(String message,
Object... args) |
protected void |
setResponseCacheable(boolean isPublic) |
protected PortalRequest request
protected PortalResponse.Builder response
public WebSocketEndpoint newWebSocketEndpoint(WebSocketConfig config) throws Exception
Exception
protected final PortalException notFound(String message, Object... args)
protected final PortalException forbidden(String message, Object... args)
protected void setResponseCacheable(boolean isPublic)