|
||||||||||
| 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 InetAddress |
address
The current address. |
protected Class |
algorithmClass
The StreamAlgorithm class. |
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,
InetAddress address,
int port)
Constructs a new DefaultProtocolFilter/ |
|
DefaultProtocolFilter(Class algorithmClass,
int port)
Deprecated. call DefaultProtocolFilter(Class, java.net.InetAddress, int) |
|
| 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 class.
protected int port
protected InetAddress address
protected static final Logger logger
| Constructor Detail |
|---|
@Deprecated
public DefaultProtocolFilter(Class algorithmClass,
int port)
DefaultProtocolFilter(Class, java.net.InetAddress, int)
Invokes DefaultProtocolFilter(Class, java.net.InetAddress, int).
algorithmClass - the StreamAlgorithmport - the network port to associate with this filter
public DefaultProtocolFilter(Class algorithmClass,
InetAddress address,
int port)
Constructs a new DefaultProtocolFilter/
algorithmClass - the StreamAlgorithmaddress - the network address to associate with this filterport - the network port to associate with this filter| 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 | |||||||||