|
||||||||||
| 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 Class |
algorithmClass
The StreamAlgorithm classes. |
protected static Logger |
logger
Logger |
protected int |
port
The current TCP port. |
| Fields inherited from interface com.sun.grizzly.ProtocolFilter |
|---|
SUCCESSFUL_READ |
| Constructor Summary | |
|---|---|
DefaultProtocolFilter(Class algorithmClass,
int port)
|
|
| Method Summary | |
|---|---|
protected void |
configureInputBuffer(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
Configure InputReader. |
protected void |
configureProcessorTask(ProcessorTask processorTask,
Context context,
StreamAlgorithm streamAlgorithm)
Configure ProcessorTask. |
boolean |
execute(Context ctx)
|
protected boolean |
isSecure()
Is ProtocolFilter secured |
boolean |
postExecute(Context ctx)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class algorithmClass
StreamAlgorithm classes.
protected int port
protected static final Logger logger
| Constructor Detail |
|---|
public DefaultProtocolFilter(Class algorithmClass,
int port)
| Method Detail |
|---|
public boolean execute(Context ctx)
throws IOException
execute in interface ProtocolFilterIOException
public boolean postExecute(Context ctx)
throws IOException
postExecute in interface ProtocolFilterIOException
protected void configureProcessorTask(ProcessorTask processorTask,
Context context,
StreamAlgorithm streamAlgorithm)
ProcessorTask.
protected void configureInputBuffer(InputReader inputStream,
Context context,
HttpWorkerThread workerThread)
InputReader.
protected boolean isSecure()
ProtocolFilter secured
ProtocolFilter secured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||