public class SendStatus extends HttpOperation
HttpServletResponse.setStatus(int) and
ServletResponse.flushBuffer()DefaultOperationBuilder.NoOp| Modifier and Type | Method and Description |
|---|---|
static SendStatus |
code(int code)
Send an HTTP status code to the browser, then call
ServletRewrite.abort() |
static SendStatus |
error(int code) |
protected int |
getCode() |
void |
performHttp(HttpServletRewrite event,
EvaluationContext context) |
performand, create, wrappublic void performHttp(HttpServletRewrite event, EvaluationContext context)
performHttp in class HttpOperationprotected int getCode()
public static SendStatus code(int code)
ServletRewrite.abort()public static SendStatus error(int code)
Copyright © 2013 OCPsoft. All Rights Reserved.