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 a FullHttpRequest constructed and allow it to be modified as needed before it is sent to the server. Implementations are supplied to Cluster.Builder.requestInterceptor(RequestInterceptor). When this method is called is dependent on the Channelizer implementation.