rewrite-api-servlet 2.0.0.Beta3

org.ocpsoft.rewrite.servlet.spi
Interface RequestCycleWrapper<IN extends ServletRequest,OUT extends ServletResponse>

All Superinterfaces:
org.ocpsoft.common.pattern.Specialized<Rewrite>, org.ocpsoft.common.pattern.Weighted
All Known Implementing Classes:
HttpRequestCycleWrapper

public interface RequestCycleWrapper<IN extends ServletRequest,OUT extends ServletResponse>
extends org.ocpsoft.common.pattern.Weighted, org.ocpsoft.common.pattern.Specialized<Rewrite>

Provides an opportunity for extensions to wrap the ServletRequest and ServletResponse object on each request-response cycle.

Author:
Lincoln Baxter, III

Method Summary
 IN wrapRequest(IN request, OUT response, ServletContext servletContext)
          Wrap the inbound IN object.
 OUT wrapResponse(IN request, OUT response, ServletContext servletContext)
          Wrap the outbound OUT object.
 
Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
 
Methods inherited from interface org.ocpsoft.common.pattern.Specialized
handles
 

Method Detail

wrapRequest

IN wrapRequest(IN request,
               OUT response,
               ServletContext servletContext)
Wrap the inbound IN object.


wrapResponse

OUT wrapResponse(IN request,
                 OUT response,
                 ServletContext servletContext)
Wrap the outbound OUT object.


rewrite-api-servlet 2.0.0.Beta3

Copyright © 2013 OCPsoft. All Rights Reserved.