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 byRequestInterceptor
.This function is called when the websocket handshake is attempted and the firstFullHttpRequest
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 toCluster.Builder.handshakeInterceptor(HandshakeInterceptor)
.
-
-
Field Summary
Fields Modifier and Type Field Description static HandshakeInterceptor
NO_OP
Deprecated.The default implementation of aHandshakeInterceptor
and behaves as a no-op.
-
-
-
Field Detail
-
NO_OP
static final HandshakeInterceptor NO_OP
Deprecated.The default implementation of aHandshakeInterceptor
and behaves as a no-op.
-
-