class HTTPParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<byte[]> |
ourLocalReadBuffer |
Constructor and Description |
---|
HTTPParser() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer |
getCanonicalPath(java.lang.String path,
java.lang.StringBuffer target) |
static HTTPStatus |
parseStatus(java.io.InputStream is,
java.lang.String charset) |
static java.lang.String |
readLine(java.io.InputStream is,
java.lang.String charset) |
private static int |
readPlainLine(java.io.InputStream is) |
public static HTTPStatus parseStatus(java.io.InputStream is, java.lang.String charset) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
public static java.lang.String readLine(java.io.InputStream is, java.lang.String charset) throws java.io.IOException
java.io.IOException
private static int readPlainLine(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static java.lang.StringBuffer getCanonicalPath(java.lang.String path, java.lang.StringBuffer target)