Class HttpSessionInterceptor
- java.lang.Object
-
- org.apache.cxf.transport.http.netty.server.interceptor.HttpSessionInterceptor
-
- All Implemented Interfaces:
NettyInterceptor
public class HttpSessionInterceptor extends Object implements NettyInterceptor
-
-
Constructor Summary
Constructors Constructor Description HttpSessionInterceptor(HttpSessionStore sessionStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRequestFailed(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 Detail
-
HttpSessionInterceptor
public HttpSessionInterceptor(HttpSessionStore sessionStore)
-
-
Method Detail
-
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
-
onRequestFailed
public void onRequestFailed(io.netty.channel.ChannelHandlerContext ctx, Throwable e)- Specified by:
onRequestFailedin interfaceNettyInterceptor
-
-