Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.util
Class HeaderUtils  view HeaderUtils download HeaderUtils.java

java.lang.Object
  extended byorg.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
 
Constructor Summary
private HeaderUtils()
           
 
Method Summary
static org.apache.http.Header[] parseHeaders(org.apache.http.io.HttpDataReceiver datareceiver)
           
static org.apache.http.Header[] parseHeaders(org.apache.http.io.HttpDataReceiver datareceiver, int maxCount)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderUtils

private HeaderUtils()
Method Detail

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