rewrite-api-servlet 1.0.0.Final

org.ocpsoft.rewrite.servlet.event
Interface ServletRewrite<IN extends javax.servlet.ServletRequest,OUT extends javax.servlet.ServletResponse>

All Superinterfaces:
Rewrite
All Known Subinterfaces:
HttpInboundServletRewrite, HttpOutboundServletRewrite, HttpServletRewrite, InboundServletRewrite<IN,OUT>, OutboundServletRewrite<IN,OUT>

public interface ServletRewrite<IN extends javax.servlet.ServletRequest,OUT extends javax.servlet.ServletResponse>
extends Rewrite

Author:
Lincoln Baxter, III

Method Summary
 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()
           
 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 unHandled)
          Set the current BaseRewrite.Flow state.
 
Methods inherited from interface org.ocpsoft.rewrite.event.Rewrite
getRewriteContext
 

Method Detail

getRequest

IN getRequest()

getResponse

OUT getResponse()

abort

void abort()
Marks the current 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.


proceed

void proceed()
Marks the 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.


handled

void handled()
Marks the ServletRewrite as handled and terminates further handling. Typically this results in passing control of the request to the application via FilterChain.doFilter(ServletRequest, ServletResponse)


getFlow

BaseRewrite.Flow getFlow()
Get the current BaseRewrite.Flow state.


setFlow

void setFlow(BaseRewrite.Flow unHandled)
Set the current BaseRewrite.Flow state.


rewrite-api-servlet 1.0.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.