Package org.apache.coyote.http11.upgrade
Class UpgradeProcessorExternal
- java.lang.Object
- 
- org.apache.coyote.AbstractProcessorLight
- 
- org.apache.coyote.http11.upgrade.UpgradeProcessorBase
- 
- org.apache.coyote.http11.upgrade.UpgradeProcessorExternal
 
 
 
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- WebConnection,- Processor
 
 public class UpgradeProcessorExternal extends UpgradeProcessorBase 
- 
- 
Field Summary- 
Fields inherited from class org.apache.coyote.http11.upgrade.UpgradeProcessorBaseINFINITE_TIMEOUT
 
- 
 - 
Constructor SummaryConstructors Constructor Description UpgradeProcessorExternal(SocketWrapperBase<?> wrapper, UpgradeToken upgradeToken, UpgradeGroupInfo upgradeGroupInfo)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()AbstractEndpoint.Handler.SocketStatedispatch(SocketEvent status)Process an in-progress request that is not longer in standard HTTP mode.ServletInputStreamgetInputStream()Provides access to theServletInputStreamfor reading data from the client.protected LoggetLog()ServletOutputStreamgetOutputStream()Provides access to theServletOutputStreamfor writing data to the client.voidpause()Informs the processor that the underlying I/O layer has stopped accepting new connections.voidsetSslSupport(SSLSupport sslSupport)Set the SSL information for this HTTP connection.- 
Methods inherited from class org.apache.coyote.http11.upgrade.UpgradeProcessorBaseasyncPostProcess, checkAsyncTimeoutGeneration, getLeftoverInput, getRequest, getUpgradeToken, isAsync, isUpgrade, recycle, service, timeoutAsync
 - 
Methods inherited from class org.apache.coyote.AbstractProcessorLightaddDispatch, clearDispatches, getIteratorAndClearDispatches, logAccess, process
 
- 
 
- 
- 
- 
Constructor Detail- 
UpgradeProcessorExternalpublic UpgradeProcessorExternal(SocketWrapperBase<?> wrapper, UpgradeToken upgradeToken, UpgradeGroupInfo upgradeGroupInfo) 
 
- 
 - 
Method Detail- 
getLogprotected Log getLog() - Specified by:
- getLogin class- AbstractProcessorLight
 
 - 
closepublic void close() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
getInputStreampublic ServletInputStream getInputStream() throws java.io.IOException Description copied from interface:javax.servlet.http.WebConnectionProvides access to theServletInputStreamfor reading data from the client.- Returns:
- the input stream
- Throws:
- java.io.IOException- If an I/O occurs while obtaining the stream
 
 - 
getOutputStreampublic ServletOutputStream getOutputStream() throws java.io.IOException Description copied from interface:javax.servlet.http.WebConnectionProvides access to theServletOutputStreamfor writing data to the client.- Returns:
- the output stream
- Throws:
- java.io.IOException- If an I/O occurs while obtaining the stream
 
 - 
dispatchpublic final AbstractEndpoint.Handler.SocketState dispatch(SocketEvent status) Description copied from class:AbstractProcessorLightProcess 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.- Specified by:
- dispatchin class- AbstractProcessorLight
- Parameters:
- status- The event to process
- Returns:
- The state the caller should put the socket in when this method returns
 
 - 
setSslSupportpublic final void setSslSupport(SSLSupport sslSupport) Description copied from interface:ProcessorSet the SSL information for this HTTP connection.- Parameters:
- sslSupport- The SSL support object to use for this connection
 
 - 
pausepublic void pause() Description copied from interface:ProcessorInforms 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.
 
- 
 
-