Class HttpProppatch
- java.lang.Object
-
- org.apache.http.message.AbstractHttpMessage
-
- org.apache.http.client.methods.AbstractExecutionAwareRequest
-
- org.apache.http.client.methods.HttpRequestBase
-
- org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
- org.apache.jackrabbit.webdav.client.methods.BaseDavRequest
-
- org.apache.jackrabbit.webdav.client.methods.HttpProppatch
-
- All Implemented Interfaces:
Cloneable
,AbortableHttpRequest
,Configurable
,HttpExecutionAware
,HttpUriRequest
,HttpEntityEnclosingRequest
,HttpMessage
,HttpRequest
public class HttpProppatch extends BaseDavRequest
Represents an HTTP PROPPATCH request.- Since:
- 2.13.6
- See Also:
- RFC 4918, Section 9.2
-
-
Field Summary
-
Fields inherited from class org.apache.http.message.AbstractHttpMessage
headergroup, params
-
-
Constructor Summary
Constructors Constructor Description HttpProppatch(String uri, List<? extends PropEntry> changeList)
HttpProppatch(String uri, DavPropertySet setProperties, DavPropertyNameSet removeProperties)
HttpProppatch(URI uri, List<? extends PropEntry> changeList)
HttpProppatch(URI uri, DavPropertySet setProperties, DavPropertyNameSet removeProperties)
HttpProppatch(URI uri, ProppatchInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMethod()
boolean
succeeded(HttpResponse response)
Check the providedHttpResponse
for successful execution.-
Methods inherited from class org.apache.jackrabbit.webdav.client.methods.BaseDavRequest
checkSuccess, getResponseBodyAsDocument, getResponseBodyAsEventDiscovery, getResponseBodyAsLockDiscovery, getResponseBodyAsMultiStatus, getResponseBodyAsSubscriptionDiscovery, getResponseException
-
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntity
-
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
-
Methods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
-
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
equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
Methods inherited from interface org.apache.http.HttpRequest
getRequestLine
-
Methods inherited from interface org.apache.http.client.methods.HttpUriRequest
abort, isAborted
-
-
-
-
Constructor Detail
-
HttpProppatch
public HttpProppatch(URI uri, ProppatchInfo info) throws IOException
- Throws:
IOException
-
HttpProppatch
public HttpProppatch(URI uri, List<? extends PropEntry> changeList) throws IOException
- Throws:
IOException
-
HttpProppatch
public HttpProppatch(URI uri, DavPropertySet setProperties, DavPropertyNameSet removeProperties) throws IOException
- Throws:
IOException
-
HttpProppatch
public HttpProppatch(String uri, List<? extends PropEntry> changeList) throws IOException
- Throws:
IOException
-
HttpProppatch
public HttpProppatch(String uri, DavPropertySet setProperties, DavPropertyNameSet removeProperties) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getMethod
public String getMethod()
- Specified by:
getMethod
in interfaceHttpUriRequest
- Specified by:
getMethod
in classHttpRequestBase
-
succeeded
public boolean succeeded(HttpResponse response)
Description copied from class:BaseDavRequest
Check the providedHttpResponse
for successful execution. The default implementation treats all 2xx status codes (RFC 7231, Section 6.3). Implementations can further restrict the accepted range of responses (or even check the response body).- Overrides:
succeeded
in classBaseDavRequest
-
-