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

Quick Search    Search Deep

com.sonalb.net.http
Class HeaderUtils  view HeaderUtils download HeaderUtils.java

java.lang.Object
  extended bycom.sonalb.net.http.HeaderUtils

public final class HeaderUtils
extends java.lang.Object

Utility class with methods relevant to HTTP Headers.


Field Summary
static java.lang.String CVSID
           
 
Constructor Summary
private HeaderUtils()
           
 
Method Summary
static Header extractHeaders(java.net.URLConnection uc)
          Extracts the headers from the input URLConnection, and populates them in a Header instance.
static void setHeaders(java.net.URLConnection uc, Header h)
          Converts the Header input, into properties in the URLConnection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVSID

public static final java.lang.String CVSID
See Also:
Constant Field Values
Constructor Detail

HeaderUtils

private HeaderUtils()
Method Detail

extractHeaders

public static Header extractHeaders(java.net.URLConnection uc)
Extracts the headers from the input URLConnection, and populates them in a Header instance.


setHeaders

public static void setHeaders(java.net.URLConnection uc,
                              Header h)
Converts the Header input, into properties in the URLConnection.