Package org.apache.coyote.http11.upgrade
Interface InternalHttpUpgradeHandler
- All Superinterfaces:
- HttpUpgradeHandler
- All Known Implementing Classes:
- Http2AsyncUpgradeHandler,- WsHttpUpgradeHandler
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 SummaryModifier and TypeMethodDescriptiondefault UpgradeInfodefault booleanvoidpause()Pause processing for the connection.voidsetSocketWrapper(SocketWrapperBase<?> wrapper) Associate with the specified socket.voidsetSslSupport(SSLSupport sslSupport) Associate with the specified SSL support.voidtimeoutAsync(long now) Check for a possible timeout.upgradeDispatch(SocketEvent status) Process the specified event.Methods inherited from interface javax.servlet.http.HttpUpgradeHandlerdestroy, init
- 
Method Details- 
upgradeDispatchProcess the specified event.- Parameters:
- status- the event
- Returns:
- the status following the event
 
- 
timeoutAsyncvoid timeoutAsync(long now) Check for a possible timeout.- Parameters:
- now- the time to use for the timeout check
 
- 
setSocketWrapperAssociate with the specified socket.- Parameters:
- wrapper- the socket
 
- 
setSslSupportAssociate with the specified SSL support.- Parameters:
- sslSupport- the SSL support
 
- 
pausevoid pause()Pause processing for the connection.
- 
hasAsyncIOdefault boolean hasAsyncIO()- Returns:
- trueif able to process asynchronous IO, default is- false
 
- 
getUpgradeInfo- Returns:
- the associated upgrade information used to collect statistics for the connection
 
 
-