rewrite-api-servlet 1.0.0.Final

org.ocpsoft.rewrite.servlet.spi
Interface RewriteLifecycleListener<T extends Rewrite>

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

public interface RewriteLifecycleListener<T extends Rewrite>
extends org.ocpsoft.common.pattern.Specialized<Rewrite>, org.ocpsoft.common.pattern.Weighted

Listens to Rewrite life-cycle events.

Author:
Lincoln Baxter, III

Method Summary
 void afterInboundLifecycle(T event)
          Invoked after application has returned control of the request to the rewrite engine, but before the rewrite engine calls FilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) or ends the request.
 void afterInboundRewrite(T event)
          Invoked after RewriteProvider services are processed on inbound Rewrite requests, but before control of the request cycle is passed to the application via FilterChain#doFilter(IN, OUT)
 void afterOutboundRewrite(T event)
          Invoked after RewriteProvider services are processed on outbound Rewrite events.
 void beforeInboundLifecycle(T event)
          Invoked before RequestCycleWrapper services are processed.
 void beforeInboundRewrite(T event)
          Invoked after RequestCycleWrapper services are processed, but before RewriteProvider services are processed for inbound Rewrite requests.
 void beforeOutboundRewrite(T event)
          Invoked before RewriteProvider services are processed on outbound Rewrite events.
 
Methods inherited from interface org.ocpsoft.common.pattern.Specialized
handles
 
Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
 

Method Detail

beforeInboundLifecycle

void beforeInboundLifecycle(T event)
Invoked before RequestCycleWrapper services are processed.


beforeInboundRewrite

void beforeInboundRewrite(T event)
Invoked after RequestCycleWrapper services are processed, but before RewriteProvider services are processed for inbound Rewrite requests.


afterInboundRewrite

void afterInboundRewrite(T event)
Invoked after RewriteProvider services are processed on inbound Rewrite requests, but before control of the request cycle is passed to the application via FilterChain#doFilter(IN, OUT)


beforeOutboundRewrite

void beforeOutboundRewrite(T event)
Invoked before RewriteProvider services are processed on outbound Rewrite events.


afterOutboundRewrite

void afterOutboundRewrite(T event)
Invoked after RewriteProvider services are processed on outbound Rewrite events.


afterInboundLifecycle

void afterInboundLifecycle(T event)
Invoked after application has returned control of the request to the rewrite engine, but before the rewrite engine calls FilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) or ends the request.


rewrite-api-servlet 1.0.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.