com.noelios.restlet.ext.grizzly
Class HttpParserFilter

java.lang.Object
  extended by com.noelios.restlet.ext.grizzly.HttpParserFilter
All Implemented Interfaces:
com.sun.grizzly.ProtocolFilter

public class HttpParserFilter
extends java.lang.Object
implements com.sun.grizzly.ProtocolFilter

HTTP parser filter for Grizzly.

Author:
Jerome Louvel

Field Summary
 
Fields inherited from interface com.sun.grizzly.ProtocolFilter
SUCCESSFUL_READ
 
Constructor Summary
HttpParserFilter(GrizzlyServerHelper helper)
          Constructor.
 
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
 

Constructor Detail

HttpParserFilter

public HttpParserFilter(GrizzlyServerHelper helper)
Constructor.

Parameters:
helper - The parent HTTP server helper.
Method Detail

execute

public boolean execute(com.sun.grizzly.Context context)
                throws java.io.IOException
Execute a call.

Specified by:
execute in interface com.sun.grizzly.ProtocolFilter
Parameters:
context - The call's context.
Throws:
java.io.IOException

postExecute

public boolean postExecute(com.sun.grizzly.Context context)
                    throws java.io.IOException
Post execute method.

Specified by:
postExecute in interface com.sun.grizzly.ProtocolFilter
Parameters:
context - The call's context.
Throws:
java.io.IOException


Copyright © 2005-2008 Noelios Technologies.