Top Description Methods
jakarta.servlet.http

public Interface HttpUpgradeHandler


This interface encapsulates the upgrade protocol processing. A HttpUpgradeHandler implementation would allow the servlet container to communicate with it.
Since
Servlet 3.1

Method Summary

Modifier and TypeMethod and Description
public void
destroy()

It is called when the client is disconnected.

public void
init(WebConnection
the WebConnection object associated to this upgrade request
wc
)

It is called once the HTTP Upgrade process has been completed and the upgraded connection is ready to start using the new protocol.

Method Detail

destroyback to summary
public void destroy()

It is called when the client is disconnected.

initback to summary
public void init(WebConnection wc)

It is called once the HTTP Upgrade process has been completed and the upgraded connection is ready to start using the new protocol.

Parameters
wc:WebConnection

the WebConnection object associated to this upgrade request