|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HandlerHook
Interface that needs to be implemented to intercept handler method calls.
| Method Summary | |
|---|---|
void |
postCall(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.handler.codec.http.HttpResponseStatus status,
HandlerInfo handlerInfo)
postCall is run after a handler method call is made. |
boolean |
preCall(org.jboss.netty.handler.codec.http.HttpRequest request,
HttpResponder responder,
HandlerInfo handlerInfo)
preCall is run before a handler method call is made. |
| Method Detail |
|---|
boolean preCall(org.jboss.netty.handler.codec.http.HttpRequest request,
HttpResponder responder,
HandlerInfo handlerInfo)
request - HttpRequest being processed.responder - HttpResponder to send response.handlerInfo - Info on handler method that will be called.
void postCall(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.handler.codec.http.HttpResponseStatus status,
HandlerInfo handlerInfo)
request - HttpRequest being processed.status - Http status returned to the client.handlerInfo - Info on handler method that was called.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||