Package 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. 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- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterInboundLifecycle(T event) Invoked after application has returned control of the request to the rewrite engine, and after the rewrite engine callsFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)or ends the request.voidafterInboundRewrite(T event) Invoked afterRewriteProviderservices are processed on inboundRewriterequests, but before control of the request cycle is passed to the application viaFilterChain.doFilter(IN, OUT)voidafterOutboundRewrite(T event) Invoked afterRewriteProviderservices are processed on outboundRewriteevents.voidbeforeInboundLifecycle(T event) Invoked beforeRequestCycleWrapperservices are processed.voidbeforeInboundRewrite(T event) Invoked afterRequestCycleWrapperservices are processed, but beforeRewriteProviderservices are processed for inboundRewriterequests.voidbeforeOutboundRewrite(T event) Invoked beforeRewriteProviderservices are processed on outboundRewriteevents.Methods inherited from interface org.ocpsoft.common.pattern.Specialized
handlesMethods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
-
Method Details
-
beforeInboundLifecycle
Invoked beforeRequestCycleWrapperservices are processed. -
beforeInboundRewrite
Invoked afterRequestCycleWrapperservices are processed, but beforeRewriteProviderservices are processed for inboundRewriterequests. -
afterInboundRewrite
Invoked afterRewriteProviderservices are processed on inboundRewriterequests, but before control of the request cycle is passed to the application viaFilterChain.doFilter(IN, OUT) -
beforeOutboundRewrite
Invoked beforeRewriteProviderservices are processed on outboundRewriteevents. -
afterOutboundRewrite
Invoked afterRewriteProviderservices are processed on outboundRewriteevents. -
afterInboundLifecycle
Invoked after application has returned control of the request to the rewrite engine, and after the rewrite engine callsFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)or ends the request.
-