public class DefaultHandshakeHandler extends AbstractHandshakeHandler implements ServletContextAware
AbstractHandshakeHandler
を継承するデフォルトの HandshakeHandler
実装。サポートされているサーバーなどの詳細については、AbstractHandshakeHandler
の javadoc を参照してください。logger
コンストラクターと説明 |
---|
DefaultHandshakeHandler() |
DefaultHandshakeHandler(RequestUpgradeStrategy requestUpgradeStrategy) |
修飾子と型 | メソッドと説明 |
---|---|
void | setServletContext(ServletContextEE servletContext) このオブジェクトが実行される ServletContext EE を設定します。 |
determineHandlerSupportedProtocols, determineUser, doHandshake, doStart, doStop, filterRequestedExtensions, getRequestUpgradeStrategy, getSupportedProtocols, getSupportedVersions, handleInvalidConnectHeader, handleInvalidUpgradeHeader, handleWebSocketVersionNotSupported, isRunning, isValidOrigin, isWebSocketVersionSupported, selectProtocol, setSupportedProtocols, start, stop
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public DefaultHandshakeHandler()
public DefaultHandshakeHandler(RequestUpgradeStrategy requestUpgradeStrategy)
public void setServletContext(ServletContextEE servletContext)
ServletContextAware
ServletContext
EE を設定します。 通常の Bean プロパティの設定後、InitializingBean の afterPropertiesSet
またはカスタム init メソッドのような初期コールバックの前に呼び出されます。ApplicationContextAware の setApplicationContext
の後に呼び出されます。
ServletContextAware
の setServletContext
servletContext
- このオブジェクトによって使用される ServletContext オブジェクト InitializingBean.afterPropertiesSet()
, ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)