|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.DefaultProtocolFilter
public class DefaultProtocolFilter
Default ProtocolFilter implementation, that allows http request processing.
| Field Summary | |
|---|---|
protected static Logger |
logger
Logger |
| Fields inherited from interface com.sun.grizzly.ProtocolFilter |
|---|
SUCCESSFUL_READ |
| Constructor Summary | |
|---|---|
DefaultProtocolFilter(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)
Configure ProcessorTask. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger logger
| Constructor Detail |
|---|
public DefaultProtocolFilter(Class algorithmClass,
int port)
| Method Detail |
|---|
public boolean execute(Context ctx)
throws IOException
ProtocolFilter
execute in interface ProtocolFilterctx - Context
IOException
public boolean postExecute(Context ctx)
throws IOException
ProtocolFilter
postExecute in interface ProtocolFilterctx - Context
IOException
protected void configureProcessorTask(ProcessorTask processorTask,
Context context,
HttpWorkerThread workerThread,
Interceptor handler)
ProcessorTask.
protected void configureByteBufferInputStream(ByteBufferInputStream inputStream,
Context context,
HttpWorkerThread workerThread)
ByteBufferInputStream.
protected boolean isSecure()
ProtocolFilter secured
ProtocolFilter secured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||