public class HttpPut extends HttpUriRequestBase
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 String |
METHOD_NAME |
cancel, getConfig, isCancelled, reset, setConfig, setDependency, toStringgetEntity, setEntityaddHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAuthority, setHeader, setPath, setScheme, setVersionaddHeader, clear, containsHeader, containsHeaders, getAllHeaders, getCondensedHeader, getFirstHeader, getHeaders, getLastHeader, getSingleHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setSchemepublic static final String METHOD_NAME
public HttpPut(URI uri)
public HttpPut(String uri)
IllegalArgumentException - if the uri is invalid.Copyright © 1999–2018 The Apache Software Foundation. All rights reserved.