org.eclipse.jetty.http
类 HttpParser.EventHandler
java.lang.Object
org.eclipse.jetty.http.HttpParser.EventHandler
- 包容类:
- HttpParser
public abstract static class HttpParser.EventHandler
- extends Object
| 从类 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
- 抛出:
IOException
headerComplete
public void headerComplete()
throws IOException
- 抛出:
IOException
messageComplete
public void messageComplete(long contentLength)
throws IOException
- 抛出:
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
- 抛出:
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
- 抛出:
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
- 抛出:
IOException
earlyEOF
public void earlyEOF()
Copyright © 2013. All Rights Reserved.