|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.arp.AsyncProtocolFilter
public class AsyncProtocolFilter
A ProtocolFilter that allow asynchronous http request processing.
Field Summary | |
---|---|
protected int |
bbSize
Default size for ByteBuffer. |
Fields inherited from interface com.sun.grizzly.ProtocolFilter |
---|
SUCCESSFUL_READ |
Constructor Summary | |
---|---|
AsyncProtocolFilter(Class algorithmClass,
int port)
|
Method Summary | |
---|---|
protected void |
configureByteBufferInputStream(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
Configure InputReader |
protected void |
configureProcessorTask(ProcessorTask processorTask,
Context context,
HttpWorkerThread workerThread,
Interceptor handler,
InputStream inputStream)
Configure SSLProcessorTask . |
protected InputReader |
createByteBufferInputStream()
Creates InputReader |
boolean |
execute(Context ctx)
Execute a unit of processing work to be performed. |
protected boolean |
isSecure()
Is ProtocolFilter secured |
boolean |
postExecute(Context ctx)
Execute any cleanup activities, such as releasing resources that were acquired during the execute() method of this ProtocolFilter instance. |
void |
taskEvent(TaskEvent event)
Called when the Asynchronous Request Processing is resuming. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int bbSize
Constructor Detail |
---|
public AsyncProtocolFilter(Class algorithmClass, int port)
Method Detail |
---|
public boolean execute(Context ctx) throws IOException
execute
in interface ProtocolFilter
IOException
public void taskEvent(TaskEvent event)
taskEvent
in interface TaskListener
public boolean postExecute(Context ctx) throws IOException
postExecute
in interface ProtocolFilter
IOException
protected void configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler, InputStream inputStream)
SSLProcessorTask
.
protected void configureByteBufferInputStream(InputReader inputStream, Context context, HttpWorkerThread workerThread)
InputReader
{@link
- InputReader}protected boolean isSecure()
ProtocolFilter
secured
ProtocolFilter
securedprotected InputReader createByteBufferInputStream()
InputReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |