Interface HandshakeInterceptor
-
- All Superinterfaces:
Function<io.netty.handler.codec.http.FullHttpRequest,io.netty.handler.codec.http.FullHttpRequest>
,UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>
public interface HandshakeInterceptor extends UnaryOperator<io.netty.handler.codec.http.FullHttpRequest>
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
The default implementation of aHandshakeInterceptor
and behaves as a no-op.
-
-
-
Field Detail
-
NO_OP
static final HandshakeInterceptor NO_OP
The default implementation of aHandshakeInterceptor
and behaves as a no-op.
-
-