public interface HandlerHook
| Modifier and Type | Method and Description |
|---|---|
void |
postCall(io.netty.handler.codec.http.HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus status,
io.cdap.http.internal.HandlerInfo handlerInfo)
postCall is run after a handler method call is made.
|
boolean |
preCall(io.netty.handler.codec.http.HttpRequest request,
HttpResponder responder,
io.cdap.http.internal.HandlerInfo handlerInfo)
preCall is run before a handler method call is made.
|
boolean preCall(io.netty.handler.codec.http.HttpRequest request,
HttpResponder responder,
io.cdap.http.internal.HandlerInfo handlerInfo)
request - HttpRequest being processed.responder - HttpResponder to send response.handlerInfo - Info on handler method that will be called.void postCall(io.netty.handler.codec.http.HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus status,
io.cdap.http.internal.HandlerInfo handlerInfo)
request - HttpRequest being processed.status - Http status returned to the client.handlerInfo - Info on handler method that was called.Copyright 2019 Cask, Inc. Licensed under the Apache License, Version 2.0