org.mortbay.jetty
Class HttpConnection.RequestHandler
java.lang.Object
org.mortbay.jetty.HttpParser.EventHandler
org.mortbay.jetty.HttpConnection.RequestHandler
- Enclosing class:
- HttpConnection
private class HttpConnection.RequestHandler
- extends HttpParser.EventHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_delayedHandling
boolean _delayedHandling
HttpConnection.RequestHandler
private HttpConnection.RequestHandler()
startRequest
public void startRequest(Buffer method,
Buffer uri,
Buffer version)
throws IOException
- Description copied from class:
HttpParser.EventHandler
- This is the method called by parser when the HTTP request line is parsed
- Specified by:
startRequest
in class HttpParser.EventHandler
- Throws:
IOException
parsedHeader
public void parsedHeader(Buffer name,
Buffer value)
- Description copied from class:
HttpParser.EventHandler
- This is the method called by parser when a HTTP Header name and value is found
- Overrides:
parsedHeader
in class HttpParser.EventHandler
headerComplete
public void headerComplete()
throws IOException
- Overrides:
headerComplete
in class HttpParser.EventHandler
- Throws:
IOException
content
public void content(Buffer ref)
throws IOException
- Specified by:
content
in class HttpParser.EventHandler
- Throws:
IOException
messageComplete
public void messageComplete(int contextLength)
throws IOException
- Overrides:
messageComplete
in class HttpParser.EventHandler
- Throws:
IOException
startResponse
public void startResponse(Buffer version,
int status,
Buffer reason)
- Description copied from class:
HttpParser.EventHandler
- This is the method called by parser when the HTTP request line is parsed
- Specified by:
startResponse
in class HttpParser.EventHandler