Class HttpPropfind
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.HttpPropfind
- All Implemented Interfaces:
Cloneable,AbortableHttpRequest,Configurable,HttpExecutionAware,HttpUriRequest,HttpEntityEnclosingRequest,HttpMessage,HttpRequest
Represents an HTTP PROPFIND request.
- Since:
- 2.13.6
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpPropfind(String uri, int propfindType, int depth) HttpPropfind(String uri, int propfindType, DavPropertyNameSet names, int depth) HttpPropfind(String uri, DavPropertyNameSet names, int depth) HttpPropfind(URI uri, int propfindType, int depth) HttpPropfind(URI uri, int propfindType, DavPropertyNameSet names, int depth) HttpPropfind(URI uri, DavPropertyNameSet names, int depth) -
Method Summary
Modifier and TypeMethodDescriptionReturns the HTTP method this request uses, such asGET,PUT,POST, or other.booleansucceeded(HttpResponse response) Check the providedHttpResponsefor successful execution.Methods inherited from class org.apache.jackrabbit.webdav.client.methods.BaseDavRequest
checkSuccess, getResponseBodyAsDocument, getResponseBodyAsEventDiscovery, getResponseBodyAsLockDiscovery, getResponseBodyAsMultiStatus, getResponseBodyAsSubscriptionDiscovery, getResponseExceptionMethods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntityMethods inherited from class org.apache.http.client.methods.HttpRequestBase
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringMethods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggerMethods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.http.HttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsMethods inherited from interface org.apache.http.HttpRequest
getRequestLineMethods inherited from interface org.apache.http.client.methods.HttpUriRequest
abort, isAborted
-
Constructor Details
-
HttpPropfind
public HttpPropfind(URI uri, int propfindType, DavPropertyNameSet names, int depth) throws IOException - Throws:
IOException
-
HttpPropfind
- Throws:
IOException
-
HttpPropfind
- Throws:
IOException
-
HttpPropfind
- Throws:
IOException
-
HttpPropfind
public HttpPropfind(String uri, int propfindType, DavPropertyNameSet names, int depth) throws IOException - Throws:
IOException
-
HttpPropfind
- Throws:
IOException
-
-
Method Details
-
getMethod
Description copied from interface:HttpUriRequestReturns the HTTP method this request uses, such asGET,PUT,POST, or other.- Specified by:
getMethodin interfaceHttpUriRequest- Specified by:
getMethodin classHttpRequestBase
-
succeeded
Description copied from class:BaseDavRequestCheck the providedHttpResponsefor 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:
succeededin classBaseDavRequest
-