|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.httpclient.HttpParser
A utility class for parsing http header values.
| Method Summary | |
static org.apache.commons.httpclient.Header[] |
parseHeaders(java.io.InputStream is)
Parses headers from the given stream. |
static java.lang.String |
readLine(java.io.InputStream inputStream)
Read up to "\n" from an (unchunked) input stream. |
static byte[] |
readRawLine(java.io.InputStream inputStream)
Return byte array from an (unchunked) input stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static byte[] readRawLine(java.io.InputStream inputStream)
throws java.io.IOException
null is returned
inputStream - the stream to read from
java.io.IOException - if an I/O problem occurs
public static java.lang.String readLine(java.io.InputStream inputStream)
throws java.io.IOException
null is returned
inputStream - the stream to read from
java.io.IOException - if an I/O problem occurs
public static org.apache.commons.httpclient.Header[] parseHeaders(java.io.InputStream is)
throws java.io.IOException,
org.apache.commons.httpclient.HttpException
is - the stream to read headers from
java.io.IOException - if an IO error occurs while reading from the stream
HttpException - if there is an error parsing a header value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||