public interface ServletRewrite<IN extends javax.servlet.ServletRequest,OUT extends javax.servlet.ServletResponse> extends Rewrite
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Marks the current
ServletRewrite as handled and terminates further handling. |
BaseRewrite.Flow |
getFlow()
Get the current
BaseRewrite.Flow state. |
IN |
getRequest() |
OUT |
getResponse() |
javax.servlet.ServletContext |
getServletContext() |
void |
handled()
Marks the
ServletRewrite as handled and terminates further handling. |
void |
proceed()
Marks the
ServletRewrite as handled and proceeds with the rest of the handlers. |
void |
setFlow(BaseRewrite.Flow flow)
Set the current
BaseRewrite.Flow state. |
getRewriteContextIN getRequest()
OUT getResponse()
javax.servlet.ServletContext getServletContext()
void abort()
ServletRewrite as handled and terminates further handling. Control of the request is
not passed to the application; the request is terminated immediately following execution of the current
handler.void proceed()
ServletRewrite as handled and proceeds with the rest of the handlers. Unless another handler
calls abort(), this typically results in passing control of the request to the application via
FilterChain.doFilter(ServletRequest, ServletResponse) after all handlers have processed.void handled()
ServletRewrite as handled and terminates further handling. Typically this results in passing
control of the request to the application via FilterChain.doFilter(ServletRequest, ServletResponse)BaseRewrite.Flow getFlow()
BaseRewrite.Flow state.void setFlow(BaseRewrite.Flow flow)
BaseRewrite.Flow state.Copyright © 2013 OCPsoft. All Rights Reserved.