Save This Page
Home » httpcomponents-client-4.0.1-src » org.apache » http » client » methods » [javadoc | source]
org.apache.http.client.methods
public class: HttpGet [javadoc | source]
java.lang.Object
   org.apache.http.message.AbstractHttpMessage
      org.apache.http.client.methods.HttpRequestBase
         org.apache.http.client.methods.HttpGet

All Implemented Interfaces:
    HttpUriRequest, Cloneable, AbortableHttpRequest

HTTP GET method.

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.

Field Summary
public static final  String METHOD_NAME     
Constructor:
 public HttpGet() 
 public HttpGet(URI uri) 
 public HttpGet(String uri) 
    Throws:
    IllegalArgumentException - if the uri is invalid.
Method from org.apache.http.client.methods.HttpGet Summary:
getMethod
Methods from org.apache.http.client.methods.HttpRequestBase:
abort,   clone,   getMethod,   getProtocolVersion,   getRequestLine,   getURI,   isAborted,   setConnectionRequest,   setReleaseTrigger,   setURI
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.client.methods.HttpGet Detail:
 public String getMethod()