org.htmlparser.http
public class HttpHeader extends Object
Method Summary | |
---|---|
static String | getRequestHeader(HttpURLConnection connection)
Gets the request header for the connection.
|
static String | getResponseHeader(HttpURLConnection conn)
Gets the response header for the connection.
|
Parameters: connection The connection to convert into an HTTP request header.
Returns: The string that would be sent by the HTTP request.
Parameters: conn The connection to convert into an HTTP response header.
Returns: The string that was sent as the HTTP response.
HTML Parser is an open source library released under LGPL. | |