Generated by
JDiff

Class org.springframework.web.socket.server.support.DefaultHandshakeHandler

The superclass changed from java.lang.Object to org.springframework.web.socket.server.support.AbstractHandshakeHandler.
Removed interface org.springframework.web.socket.server.HandshakeHandler.
Added interface org.springframework.web.context.ServletContextAware.

Added Methods
void setServletContext(ServletContext)  
 

Changed Methods
List<String> determineHandlerSupportedProtocols(WebSocketHandler) Method was locally defined, but is now inherited from AbstractHandshakeHandler. Determine the sub-protocols supported by the given WebSocketHandler by checking whether it is an instance of SubProtocolCapable.
Principal determineUser(ServerHttpRequest, WebSocketHandler, Map<String, Object>) Method was locally defined, but is now inherited from AbstractHandshakeHandler. A method that can be used to associate a user with the WebSocket session in the process of being established.
boolean doHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
List<WebSocketExtension> filterRequestedExtensions(ServerHttpRequest, List<WebSocketExtension>, List<WebSocketExtension>) Method was locally defined, but is now inherited from AbstractHandshakeHandler. Filter the list of requested WebSocket extensions.
String[] getSupportedProtocols() Method was locally defined, but is now inherited from AbstractHandshakeHandler. Return the list of supported sub-protocols.
String[] getSupportedVersions() Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
void handleInvalidConnectHeader(ServerHttpRequest, ServerHttpResponse) Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
void handleInvalidUpgradeHeader(ServerHttpRequest, ServerHttpResponse) Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
void handleWebSocketVersionNotSupported(ServerHttpRequest, ServerHttpResponse) Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
boolean isValidOrigin(ServerHttpRequest) Method was locally defined, but is now inherited from AbstractHandshakeHandler. Return whether the request {@code Origin} header value is valid or not.
boolean isWebSocketVersionSupported(WebSocketHttpHeaders) Method was locally defined, but is now inherited from AbstractHandshakeHandler.  
String selectProtocol(List<String>, WebSocketHandler) Method was locally defined, but is now inherited from AbstractHandshakeHandler. Perform the sub-protocol negotiation based on requested and supported sub-protocols.
void setSupportedProtocols(String[]) Method was locally defined, but is now inherited from AbstractHandshakeHandler. Use this property to configure the list of supported sub-protocols.
 

Changed Fields
Log logger Field was locally defined, but is now inherited from AbstractHandshakeHandler.