Class HTTPParser
java.lang.Object
org.tmatesoft.svn.core.internal.io.dav.http.HTTPParser
class HTTPParser
extends java.lang.Object
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ourLocalReadBuffer
private static java.lang.ThreadLocal<byte[]> ourLocalReadBuffer
-
-
Constructor Details
-
HTTPParser
HTTPParser()
-
-
Method Details
-
parseStatus
public static HTTPStatus parseStatus(java.io.InputStream is, java.lang.String charset) throws java.io.IOException, java.text.ParseException - Throws:
java.io.IOException
java.text.ParseException
-
readLine
public static java.lang.String readLine(java.io.InputStream is, java.lang.String charset) throws java.io.IOException - Throws:
java.io.IOException
-
readPlainLine
private static int readPlainLine(java.io.InputStream is) throws java.io.IOException - Throws:
java.io.IOException
-
getCanonicalPath
public static java.lang.StringBuffer getCanonicalPath(java.lang.String path, java.lang.StringBuffer target)
-