com.noelios.restlet.ext.grizzly
Class HttpParserFilter
java.lang.Object
com.noelios.restlet.ext.grizzly.HttpParserFilter
- All Implemented Interfaces:
- com.sun.grizzly.ProtocolFilter
public class HttpParserFilter
- extends Object
- implements com.sun.grizzly.ProtocolFilter
HTTP parser filter for Grizzly.
- Author:
- Jerome Louvel
Fields inherited from interface com.sun.grizzly.ProtocolFilter |
SUCCESSFUL_READ |
Method Summary |
boolean |
execute(com.sun.grizzly.Context context)
Execute a call. |
boolean |
postExecute(com.sun.grizzly.Context context)
Post execute method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpParserFilter
public HttpParserFilter(GrizzlyServerHelper helper)
- Constructor.
- Parameters:
helper
- The parent HTTP server helper.
execute
public boolean execute(com.sun.grizzly.Context context)
throws IOException
- Execute a call.
- Specified by:
execute
in interface com.sun.grizzly.ProtocolFilter
- Parameters:
context
- The call's context.
- Throws:
IOException
postExecute
public boolean postExecute(com.sun.grizzly.Context context)
throws IOException
- Post execute method.
- Specified by:
postExecute
in interface com.sun.grizzly.ProtocolFilter
- Parameters:
context
- The call's context.
- Throws:
IOException
Copyright © 2005-2008 Noelios Technologies.