R
- Type of objects read from the connection handled by this interceptor.W
- Type of objects written to the connection handled by this interceptor.public static interface TcpServerInterceptorChain.Interceptor<R,W>
Modifier and Type | Method and Description |
---|---|
ConnectionHandler<R,W> |
intercept(ConnectionHandler<R,W> handler)
Intercepts and optionally changes the passed
ConnectionHandler . |
ConnectionHandler<R,W> intercept(ConnectionHandler<R,W> handler)
ConnectionHandler
.handler
- Handler to intercept.