java.lang.Object
org.apache.http.util.HeaderUtils
- public class HeaderUtils
- extends java.lang.Object
A utility class for processing HTTP headers.
|
Nested Class Summary |
(package private) static class |
HeaderUtils.BufferedHeader
This class represents a raw HTTP header whose content is parsed
'on demand' only when the header value needs to be consumed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderUtils
private HeaderUtils()
parseHeaders
public static org.apache.http.Header[] parseHeaders(org.apache.http.io.HttpDataReceiver datareceiver,
int maxCount)
throws org.apache.http.HttpException,
java.io.IOException
- Parses HTTP headers from the data receiver stream according to the generic
format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
parseHeaders
public static org.apache.http.Header[] parseHeaders(org.apache.http.io.HttpDataReceiver datareceiver)
throws org.apache.http.HttpException,
java.io.IOException