|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.htmlparser.http.HttpHeader
Utility methods to display HTTP headers.
Method Summary | |
static java.lang.String |
getRequestHeader(java.net.HttpURLConnection connection)
Gets the request header for the connection. |
static java.lang.String |
getResponseHeader(java.net.HttpURLConnection conn)
Gets the response header for the connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getRequestHeader(java.net.HttpURLConnection connection)
connection
- The connection to convert into an HTTP request header.
public static java.lang.String getResponseHeader(java.net.HttpURLConnection conn)
conn
- The connection to convert into an HTTP response header.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |