public abstract class AbstractProcessorLight extends Object implements Processor
Constructor and Description |
---|
AbstractProcessorLight() |
Modifier and Type | Method and 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.
|
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, wait
getLeftoverInput, getRequest, getUpgradeToken, isAsync, isUpgrade, pause, recycle, setSslSupport, timeoutAsync
public AbstractEndpoint.Handler.SocketState process(SocketWrapperBase<?> socketWrapper, SocketEvent status) throws IOException
Processor
process
in interface Processor
socketWrapper
- The connection to processstatus
- The status of the connection that triggered this additional
processingIOException
- If an I/O error occurs during the processing of the
requestpublic void addDispatch(DispatchType dispatchType)
public Iterator<DispatchType> getIteratorAndClearDispatches()
protected void clearDispatches()
protected abstract AbstractEndpoint.Handler.SocketState service(SocketWrapperBase<?> socketWrapper) throws IOException
dispatch(SocketEvent)
. Requests may be pipe-lined.socketWrapper
- The connection to processIOException
- 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-2016 Apache Software Foundation. All Rights Reserved.