|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonalb.net.http.HeaderUtils
public final class HeaderUtils
Utility class with methods relevant to HTTP Headers.
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Header extractHeaders(java.net.URLConnection uc)
uc
- a connected URLConnection
public static void setHeaders(java.net.URLConnection uc, Header h)
uc
- an un-connected URLConnectionh
- a Header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |