rewrite-api-servlet 2.0.0.Beta2

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

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

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

Author:
Lincoln Baxter, III

Method Summary
 void abort()
          Marks the current ServletRewrite as handled and terminates further handling.
 IN getRequest()
          Get the current ServletRequest.
 OUT getResponse()
          Get the current ServletResponse.
 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(Flow flow)
          Set the current Flow state.
 
Methods inherited from interface org.ocpsoft.rewrite.event.Rewrite
getFlow, getRewriteContext
 

Method Detail

getRequest

IN getRequest()
Get the current ServletRequest.


getResponse

OUT getResponse()
Get the current ServletResponse.


getServletContext

ServletContext getServletContext()

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)


setFlow

void setFlow(Flow flow)
Set the current Flow state.


rewrite-api-servlet 2.0.0.Beta2

Copyright © 2013 OCPsoft. All Rights Reserved.