|
rewrite-api-servlet 2.0.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RewriteLifecycleListener<T extends Rewrite>
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
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.ocpsoft.common.pattern.Specialized |
|---|
handles |
| Methods inherited from interface org.ocpsoft.common.pattern.Weighted |
|---|
priority |
| Method Detail |
|---|
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.
|
rewrite-api-servlet 2.0.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||