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 Details

    • 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, and after the rewrite engine calls FilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse) or ends the request.