Class ChannelInterceptor
java.lang.Object
org.apache.cxf.transport.http.netty.server.interceptor.ChannelInterceptor
- All Implemented Interfaces:
NettyInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRequestFailed(io.netty.channel.ChannelHandlerContext ctx, Throwable e) voidonRequestReceived(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest request) voidonRequestSuccessed(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpResponse response)
-
Constructor Details
-
ChannelInterceptor
public ChannelInterceptor()
-
-
Method Details
-
onRequestFailed
- Specified by:
onRequestFailedin interfaceNettyInterceptor
-
onRequestReceived
public void onRequestReceived(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest request) - Specified by:
onRequestReceivedin interfaceNettyInterceptor
-
onRequestSuccessed
public void onRequestSuccessed(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpResponse response) - Specified by:
onRequestSuccessedin interfaceNettyInterceptor
-