Interface RequestInterceptor
- 
- All Superinterfaces:
 Function<io.netty.handler.codec.http.FullHttpRequest,io.netty.handler.codec.http.FullHttpRequest>,UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>
public interface RequestInterceptor extends UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>
This function is called aFullHttpRequestconstructed and allow it to be modified as needed before it is sent to the server. Implementations are supplied toCluster.Builder.requestInterceptor(RequestInterceptor). When this method is called is dependent on theChannelizerimplementation. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static RequestInterceptorNO_OPThe default implementation of aRequestInterceptorand behaves as a no-op. 
 - 
 
- 
- 
Field Detail
- 
NO_OP
static final RequestInterceptor NO_OP
The default implementation of aRequestInterceptorand behaves as a no-op. 
 - 
 
 -