org.mortbay.jetty
Class HttpParser.EventHandler
java.lang.Object
org.mortbay.jetty.HttpParser.EventHandler
- Enclosing class:
- HttpParser
public abstract static class HttpParser.EventHandler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpParser.EventHandler
public HttpParser.EventHandler()
content
public abstract void content(Buffer ref)
throws IOException
- Throws:
IOException
headerComplete
public void headerComplete()
throws IOException
- Throws:
IOException
messageComplete
public void messageComplete(long contentLength)
throws IOException
- Throws:
IOException
parsedHeader
public void parsedHeader(Buffer name,
Buffer value)
throws IOException
- This is the method called by parser when a HTTP Header name and value is found
- Throws:
IOException
startRequest
public abstract void startRequest(Buffer method,
Buffer url,
Buffer version)
throws IOException
- This is the method called by parser when the HTTP request line is parsed
- Throws:
IOException
startResponse
public abstract void startResponse(Buffer version,
int status,
Buffer reason)
throws IOException
- This is the method called by parser when the HTTP request line is parsed
- Throws:
IOException
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.