@NotThreadSafe public class HttpPutHC4 extends HttpEntityEnclosingRequestBaseHC4
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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_NAME |
| Constructor and Description |
|---|
HttpPutHC4() |
HttpPutHC4(java.lang.String uri) |
HttpPutHC4(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethod() |
clone, expectContinue, getEntity, setEntitygetConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String METHOD_NAME
public HttpPutHC4()
public HttpPutHC4(java.net.URI uri)
public HttpPutHC4(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.