Class PutMethod

  • All Implemented Interfaces:
    HttpMethod

    public class PutMethod
    extends EntityEnclosingMethod
    Implements the 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:
    1.0
    • Constructor Detail

      • PutMethod

        public PutMethod()
        No-arg constructor.
        Since:
        1.0
      • PutMethod

        public PutMethod​(java.lang.String uri)
        Constructor specifying a URI.
        Parameters:
        uri - either an absolute or relative URI
        Since:
        1.0