public class HandshakeInterceptorChain extends Object
Constructor and Description |
---|
HandshakeInterceptorChain(List<HandshakeInterceptor> interceptors,
WebSocketHandler wsHandler) |
Modifier and Type | Method and Description |
---|---|
void |
applyAfterHandshake(ServerHttpRequest request,
ServerHttpResponse response,
Exception failure) |
boolean |
applyBeforeHandshake(ServerHttpRequest request,
ServerHttpResponse response,
Map<String,Object> attributes) |
public HandshakeInterceptorChain(@Nullable List<HandshakeInterceptor> interceptors, WebSocketHandler wsHandler)
public boolean applyBeforeHandshake(ServerHttpRequest request, ServerHttpResponse response, Map<String,Object> attributes) throws Exception
Exception
public void applyAfterHandshake(ServerHttpRequest request, ServerHttpResponse response, @Nullable Exception failure)