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

All Implemented Interfaces:
    org.apache.http.HttpEntityEnclosingRequest, HttpUriRequest, Cloneable, AbortableHttpRequest

HTTP POST method.

The HTTP POST method is defined in section 9.5 of RFC2616:

The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line. POST is designed to allow a uniform method to cover the following functions:

Field Summary
public static final  String METHOD_NAME     
Constructor:
 public HttpPost() 
 public HttpPost(URI uri) 
 public HttpPost(String uri) 
    Throws:
    IllegalArgumentException - if the uri is invalid.
Method from org.apache.http.client.methods.HttpPost Summary:
getMethod
Methods from org.apache.http.client.methods.HttpEntityEnclosingRequestBase:
clone,   expectContinue,   getEntity,   setEntity
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.HttpPost Detail:
 public String getMethod()