org.jwall.web.http
Class HttpRequest
java.lang.Object
org.jwall.web.http.HttpMessage
org.jwall.web.http.HttpRequest
public class HttpRequest
- extends HttpMessage
ACCEPT
public static final String ACCEPT
- See Also:
- Constant Field Values
ACCEPT_CHARSET
public static final String ACCEPT_CHARSET
- See Also:
- Constant Field Values
ACCEPT_ENCODING
public static final String ACCEPT_ENCODING
- See Also:
- Constant Field Values
ACCEPT_LANGUAGE
public static final String ACCEPT_LANGUAGE
- See Also:
- Constant Field Values
AUTHORIZATION
public static final String AUTHORIZATION
- See Also:
- Constant Field Values
EXPECT
public static final String EXPECT
- See Also:
- Constant Field Values
FROM
public static final String FROM
- See Also:
- Constant Field Values
HOST
public static final String HOST
- See Also:
- Constant Field Values
IF_MATCH
public static final String IF_MATCH
- See Also:
- Constant Field Values
IF_MODIFIED_SINCE
public static final String IF_MODIFIED_SINCE
- See Also:
- Constant Field Values
IF_NONE_MATCH
public static final String IF_NONE_MATCH
- See Also:
- Constant Field Values
IF_RANGE
public static final String IF_RANGE
- See Also:
- Constant Field Values
IF_UNMODIFIED_SINCE
public static final String IF_UNMODIFIED_SINCE
- See Also:
- Constant Field Values
MAX_FORWARDS
public static final String MAX_FORWARDS
- See Also:
- Constant Field Values
PROXY_AUTHORIZATION
public static final String PROXY_AUTHORIZATION
- See Also:
- Constant Field Values
RANGE
public static final String RANGE
- See Also:
- Constant Field Values
REFERER
public static final String REFERER
- See Also:
- Constant Field Values
TE
public static final String TE
- See Also:
- Constant Field Values
USER_AGENT
public static final String USER_AGENT
- See Also:
- Constant Field Values
HttpRequest
public HttpRequest(String reqHeader,
byte[] reqBody)
throws ProtocolException
- This will create a new http-request from the given String-array. The array
is assumed to contain the request-header in
reqData[0] and
optionally the request-body in reqData[1].
- Parameters:
reqData -
- Throws:
Exception
ProtocolException
HttpRequest
public HttpRequest(HttpHeader h,
byte[] reqBody)
throws ProtocolException
- Throws:
ProtocolException
HttpRequest
public HttpRequest(String reqHeader)
throws Exception
- Throws:
Exception
getMethod
public String getMethod()
getURI
public String getURI()
getURL
public URL getURL()
Copyright © 2012 jwall.org. All Rights Reserved.