InternalHttpUpgradeHandler (Apache Tomcat 9.0.37 API Documentation)

org.apache.coyote.http11.upgrade

## Interface InternalHttpUpgradeHandler

- All Superinterfaces:
    HttpUpgradeHandler
  All Known Implementing Classes:
    Http2AsyncUpgradeHandler, WsHttpUpgradeHandler

      public interface InternalHttpUpgradeHandler
      extends HttpUpgradeHandler

  This Tomcat specific interface is implemented by handlers that require direct access to Tomcat's I/O layer rather than going through the Servlet API.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | `hasAsyncIO()`
    `void` | `pause()`
    `void` | `setSocketWrapper(SocketWrapperBase<?> wrapper)`
    `void` | `setSslSupport(SSLSupport sslSupport)`
    `void` | `timeoutAsync(long now)`
    `AbstractEndpoint.Handler.SocketState` | `upgradeDispatch(SocketEvent status)`

    - ### Methods inherited from interface javax.servlet.http.HttpUpgradeHandler

      `destroy, init`

- - ### Method Detail

    - #### upgradeDispatch

          AbstractEndpoint.Handler.SocketState upgradeDispatch(SocketEvent status)

    - #### timeoutAsync

          void timeoutAsync(long now)

    - #### setSocketWrapper

          void setSocketWrapper(SocketWrapperBase<?> wrapper)

    - #### setSslSupport

          void setSslSupport(SSLSupport sslSupport)

    - #### pause

          void pause()

    - #### hasAsyncIO

          default boolean hasAsyncIO()

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.