public class TomcatRequestUpgradeStrategy extends AbstractStandardUpgradeStrategy
HttpServletRequest
during a WebSocket handshake.logger
Constructor and Description |
---|
TomcatRequestUpgradeStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getSupportedVersions()
Return the supported WebSocket protocol versions.
|
void |
upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
Endpoint endpoint) |
upgrade
public java.lang.String[] getSupportedVersions()
RequestUpgradeStrategy
public void upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, java.lang.String selectedProtocol, Endpoint endpoint) throws java.io.IOException
upgradeInternal
in class AbstractStandardUpgradeStrategy
java.io.IOException