|
||||||||||
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(ByteBufferInputStream inputStream,
Context context,
HttpWorkerThread workerThread)
Configure ByteBufferInputStream |
protected void |
configureProcessorTask(ProcessorTask processorTask,
Context context,
HttpWorkerThread workerThread,
Interceptor handler,
InputStream inputStream)
Configure SSLProcessorTask . |
protected ByteBufferInputStream |
createByteBufferInputStream()
Creates ByteBufferInputStream |
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
ctx
- Context
IOException
public void taskEvent(TaskEvent event)
taskEvent
in interface TaskListener
public boolean postExecute(Context ctx) throws IOException
postExecute
in interface ProtocolFilter
ctx
- Context
IOException
protected void configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler, InputStream inputStream)
SSLProcessorTask
.
protected void configureByteBufferInputStream(ByteBufferInputStream inputStream, Context context, HttpWorkerThread workerThread)
ByteBufferInputStream
ByteBufferInputStream
- protected boolean isSecure()
ProtocolFilter
secured
ProtocolFilter
securedprotected ByteBufferInputStream createByteBufferInputStream()
ByteBufferInputStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |