@NotThreadSafe public class HttpGetHC4 extends HttpRequestBaseHC4
The HTTP GET method is defined in section 9.3 of RFC2616:
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. If the Request-URI refers to a data-producing process, it is the produced data which shall be returned as the entity in the response and not the source text of the process, unless that text happens to be the output of the process.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_NAME |
| Constructor and Description |
|---|
HttpGetHC4() |
HttpGetHC4(java.lang.String uri) |
HttpGetHC4(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethod() |
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamspublic static final java.lang.String METHOD_NAME
public HttpGetHC4()
public HttpGetHC4(java.net.URI uri)
public HttpGetHC4(java.lang.String uri)
java.lang.IllegalArgumentException - if the uri is invalid.public java.lang.String getMethod()
getMethod in interface org.apache.http.client.methods.HttpUriRequestgetMethod in class HttpRequestBaseHC4Copyright © 1999-2015 The Apache Software Foundation. All rights reserved.