Interface HandshakeInterceptor

  • All Superinterfaces:
    Function<io.netty.handler.codec.http.FullHttpRequest,​io.netty.handler.codec.http.FullHttpRequest>, UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>

    @Deprecated
    public interface HandshakeInterceptor
    extends UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>
    Deprecated.
    As of release 3.6.6, replaced by RequestInterceptor.
    This function is called when the websocket handshake is attempted and the first FullHttpRequest is sent to the server. The interceptor allows this message to be modified as needed before it is sent to the server. Implementations are supplied to Cluster.Builder.handshakeInterceptor(HandshakeInterceptor).