org.apache.http.client.methods
Class HttpPut
java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.client.methods.HttpPut
- All Implemented Interfaces:
- AbortableHttpRequest, HttpUriRequest, HttpEntityEnclosingRequest, HttpMessage, HttpRequest
public class HttpPut
- extends AbstractHttpMessage
| Methods inherited from class org.apache.http.message.AbstractHttpMessage |
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.http.HttpMessage |
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams |
METHOD_NAME
public static final String METHOD_NAME
- See Also:
- Constant Field Values
HttpPut
public HttpPut()
HttpPut
public HttpPut(URI uri)
HttpPut
public HttpPut(String uri)
throws URISyntaxException
- Throws:
URISyntaxException
getMethod
public String getMethod()
- Specified by:
getMethod in interface HttpUriRequest
getEntity
public HttpEntity getEntity()
- Specified by:
getEntity in interface HttpEntityEnclosingRequest
setEntity
public void setEntity(HttpEntity entity)
- Specified by:
setEntity in interface HttpEntityEnclosingRequest
expectContinue
public boolean expectContinue()
- Specified by:
expectContinue in interface HttpEntityEnclosingRequest
getProtocolVersion
public ProtocolVersion getProtocolVersion()
- Specified by:
getProtocolVersion in interface HttpMessage
getURI
public URI getURI()
- Specified by:
getURI in interface HttpUriRequest
getRequestLine
public RequestLine getRequestLine()
- Specified by:
getRequestLine in interface HttpRequest
setURI
public void setURI(URI uri)
setReleaseTrigger
public void setReleaseTrigger(ConnectionReleaseTrigger releaseTrigger)
- Specified by:
setReleaseTrigger in interface AbortableHttpRequest
abort
public void abort()
- Specified by:
abort in interface AbortableHttpRequest
Please submit a feedback, bug or feature