Class HttpPut

  • All Implemented Interfaces:
    java.lang.Cloneable, AbortableHttpRequest, Configurable, HttpExecutionAware, HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

    public class HttpPut
    extends HttpEntityEnclosingRequestBase
    HTTP PUT method.

    The HTTP PUT method is defined in section 9.6 of RFC2616:

    The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server.
    Since:
    4.0
    • Constructor Detail

      • HttpPut

        public HttpPut()
      • HttpPut

        public HttpPut​(java.net.URI uri)
      • HttpPut

        public HttpPut​(java.lang.String uri)
        Throws:
        java.lang.IllegalArgumentException - if the uri is invalid.