| Modifier and Type | Field and Description |
|---|---|
| private final InternalHttpUpgradeHandler | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public | UpgradeProcessorInternal(SocketWrapperBase<?> wrapper, UpgradeToken upgradeToken, UpgradeGroupInfo upgradeGroupInfo)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| public AbstractEndpoint. | dispatch(SocketEvent
The event to process status)Implements abstract org. Process an in-progress request that is not longer in standard HTTP mode. |
| public ServletInputStream | getInputStream()
Implements jakarta. Provides access to the |
| protected Log | |
| public ServletOutputStream | getOutputStream()
Implements jakarta. Provides access to the |
| public boolean | |
| public void | pause()
Implements org. Informs the processor that the underlying I/O layer has stopped accepting new connections. |
| public final void | setSslSupport(SSLSupport
The SSL support object to use for this connection sslSupport)Implements org. Set the SSL information for this HTTP connection. |
| public void | timeoutAsync(long
The time (as returned by now)System#currentTimeMillis() to use as the current time to determine
whether the timeout has expired. If negative, the timeout will always be treated as ifq it has
expired.Overrides org. Implements org. Check this processor to see if the timeout has expired and process a timeout if that is that case. |
| internalHttpUpgradeHandler | back to summary |
|---|---|
| private final InternalHttpUpgradeHandler internalHttpUpgradeHandler | |
| log | back to summary |
|---|---|
| private static final Log log | |
| UpgradeProcessorInternal | back to summary |
|---|---|
| public UpgradeProcessorInternal(SocketWrapperBase<?> wrapper, UpgradeToken upgradeToken, UpgradeGroupInfo upgradeGroupInfo) | |
| close | back to summary |
|---|---|
| public void close() throws Exception Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| dispatch | back to summary |
|---|---|
| public AbstractEndpoint. Implements abstract org. Doc from org. Process an in-progress request that is not longer in standard HTTP mode. Uses currently include Servlet 3.0 Async and HTTP upgrade connections. Further uses may be added in the future. These will typically start as HTTP requests.
| |
| getInputStream | back to summary |
|---|---|
| public ServletInputStream getInputStream() throws IOException Implements jakarta. Doc from jakarta. Provides access to the
| |
| getLog | back to summary |
|---|---|
| protected Log getLog() Implements abstract org.
| |
| getOutputStream | back to summary |
|---|---|
| public ServletOutputStream getOutputStream() throws IOException Implements jakarta. Doc from jakarta. Provides access to the
| |
| hasAsyncIO | back to summary |
|---|---|
| public boolean hasAsyncIO() | |
| pause | back to summary |
|---|---|
| public void pause() Implements org. Doc from org. Informs the processor that the underlying I/O layer has stopped accepting new connections. This is primarily intended to enable processors that use multiplexed connections to prevent further 'streams' being added to an existing multiplexed connection.
| |
| setSslSupport | back to summary |
|---|---|
| public final void setSslSupport(SSLSupport sslSupport) Implements org. Doc from org. Set the SSL information for this HTTP connection.
| |
| timeoutAsync | back to summary |
|---|---|
| public void timeoutAsync(long now) Overrides org. Implements org. Doc from org. Check this processor to see if the timeout has expired and process a timeout if that is that case. Note The name of this method originated with the Servlet 3.0 asynchronous processing but evolved over time to represent a timeout that is triggered independently of the socket read/write timeouts.
| |