public interface RewriteLifecycleListener<T extends Rewrite> extends org.ocpsoft.common.pattern.Specialized<Rewrite>, org.ocpsoft.common.pattern.Weighted
Rewrite life-cycle events. Additional listeners may be specified by
providing a service activator file containing the name of your implementations:
/META-INF/services/org.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener --------------
com.example.LifecycleListenerImpl| Modifier and Type | Method and Description |
|---|---|
void |
afterInboundLifecycle(T event)
Invoked after application has returned control of the request to the rewrite engine, and after 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. |
void beforeInboundLifecycle(T event)
RequestCycleWrapper services are processed.void beforeInboundRewrite(T event)
RequestCycleWrapper services are processed, but before
RewriteProvider services are processed for inbound Rewrite requests.void afterInboundRewrite(T event)
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 beforeOutboundRewrite(T event)
RewriteProvider services are processed on outbound Rewrite
events.void afterOutboundRewrite(T event)
RewriteProvider services are processed on outbound Rewrite
events.void afterInboundLifecycle(T event)
FilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) or ends the
request.Copyright © 2014 OCPsoft. All Rights Reserved.