ProcessorAbstractProcessor, UpgradeProcessorBasepublic abstract class AbstractProcessorLight extends java.lang.Object implements Processor
| Constructor | Description |
|---|---|
AbstractProcessorLight() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDispatch(DispatchType dispatchType) |
|
protected abstract AbstractEndpoint.Handler.SocketState |
asyncPostProcess() |
|
protected void |
clearDispatches() |
|
protected abstract AbstractEndpoint.Handler.SocketState |
dispatch(SocketEvent status) |
Process an in-progress request that is not longer in standard HTTP mode.
|
java.util.Iterator<DispatchType> |
getIteratorAndClearDispatches() |
|
protected abstract Log |
getLog() |
|
AbstractEndpoint.Handler.SocketState |
process(SocketWrapperBase<?> socketWrapper,
SocketEvent status) |
Process a connection.
|
protected abstract AbstractEndpoint.Handler.SocketState |
service(SocketWrapperBase<?> socketWrapper) |
Service a 'standard' HTTP request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAsyncTimeoutGeneration, getLeftoverInput, getRequest, getUpgradeToken, isAsync, isUpgrade, pause, recycle, setSslSupport, timeoutAsyncpublic AbstractEndpoint.Handler.SocketState process(SocketWrapperBase<?> socketWrapper, SocketEvent status) throws java.io.IOException
Processorprocess in interface ProcessorsocketWrapper - The connection to processstatus - The status of the connection that triggered this additional
processingjava.io.IOException - If an I/O error occurs during the processing of the
requestpublic void addDispatch(DispatchType dispatchType)
public java.util.Iterator<DispatchType> getIteratorAndClearDispatches()
protected void clearDispatches()
protected abstract AbstractEndpoint.Handler.SocketState service(SocketWrapperBase<?> socketWrapper) throws java.io.IOException
dispatch(SocketEvent). Requests may be pipe-lined.socketWrapper - The connection to processjava.io.IOException - If an I/O error occurs during the processing of the
requestprotected abstract AbstractEndpoint.Handler.SocketState dispatch(SocketEvent status)
status - The event to processprotected abstract AbstractEndpoint.Handler.SocketState asyncPostProcess()
protected abstract Log getLog()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.