Top Description Methods
jakarta.servlet.http

public Interface HttpUpgradeHandler

Known Direct Subinterfaces
org.apache.coyote.http11.upgrade.InternalHttpUpgradeHandler

Interface between the HTTP upgrade process and the new protocol.
Since
Servlet 3.1

Method Summary

Modifier and TypeMethod and Description
public void
destroy()

This method is called after the upgraded connection has been closed.

public void
init(WebConnection
The connection that has been upgraded
connection
)

This method is called once the request/response pair where HttpServletRequest#upgrade(Class) is called has completed processing and is the point where control of the connection passes from the container to the HttpUpgradeHandler.

Method Detail

destroyback to summary
public void destroy()

This method is called after the upgraded connection has been closed.

initback to summary
public void init(WebConnection connection)

This method is called once the request/response pair where HttpServletRequest#upgrade(Class) is called has completed processing and is the point where control of the connection passes from the container to the HttpUpgradeHandler.

Parameters
connection:WebConnection

The connection that has been upgraded