public class UpgradeProcessorExternal extends UpgradeProcessorBase
INFINITE_TIMEOUT
Constructor and Description |
---|
UpgradeProcessorExternal(SocketWrapperBase<?> wrapper,
UpgradeToken upgradeToken) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
AbstractEndpoint.Handler.SocketState |
dispatch(SocketEvent status)
Process an in-progress request that is not longer in standard HTTP mode.
|
ServletInputStream |
getInputStream()
Provides access to the
ServletInputStream for reading data from
the client. |
protected Log |
getLog() |
ServletOutputStream |
getOutputStream()
Provides access to the
ServletOutputStream for writing data to
the client. |
void |
pause()
Informs the processor that the underlying I/O layer has stopped accepting
new connections.
|
void |
setSslSupport(SSLSupport sslSupport)
Set the SSL information for this HTTP connection.
|
asyncPostProcess, getLeftoverInput, getRequest, getUpgradeToken, isAsync, isUpgrade, recycle, service, timeoutAsync
addDispatch, clearDispatches, getIteratorAndClearDispatches, process
public UpgradeProcessorExternal(SocketWrapperBase<?> wrapper, UpgradeToken upgradeToken)
protected Log getLog()
getLog
in class AbstractProcessorLight
public ServletInputStream getInputStream() throws IOException
javax.servlet.http.WebConnection
ServletInputStream
for reading data from
the client.IOException
- If an I/O occurs while obtaining the streampublic ServletOutputStream getOutputStream() throws IOException
javax.servlet.http.WebConnection
ServletOutputStream
for writing data to
the client.IOException
- If an I/O occurs while obtaining the streampublic final AbstractEndpoint.Handler.SocketState dispatch(SocketEvent status)
AbstractProcessorLight
dispatch
in class AbstractProcessorLight
status
- The event to processpublic final void setSslSupport(SSLSupport sslSupport)
Processor
sslSupport
- The SSL support object to use for this connectionpublic void pause()
Processor
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.