|
rewrite-impl-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.OperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.servlet.config.SendStatus
public class SendStatus
Responsible for sending status codes via HttpServletResponse.setStatus(int) and
ServletResponse.flushBuffer()
| Nested Class Summary | |
|---|---|
static class |
SendStatus.SendError
|
| Constructor Summary | |
|---|---|
SendStatus(int code)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpOperation |
|---|
perform |
| Methods inherited from class org.ocpsoft.rewrite.config.OperationBuilder |
|---|
and |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendStatus(int code)
| Method Detail |
|---|
public 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)
|
rewrite-impl-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||