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:
java.lang.Cloneable
,org.apache.http.client.methods.AbortableHttpRequest
,org.apache.http.client.methods.Configurable
,org.apache.http.client.methods.HttpExecutionAware
,org.apache.http.client.methods.HttpUriRequest
,org.apache.http.HttpEntityEnclosingRequest
,org.apache.http.HttpMessage
,org.apache.http.HttpRequest
public class HttpPropfind extends BaseDavRequest
Represents an HTTP PROPFIND request.- Since:
- 2.13.6
- See Also:
- RFC 4918, Section 9.1
-
-
Constructor Summary
Constructors Constructor Description HttpPropfind(java.lang.String uri, int propfindType, int depth)
HttpPropfind(java.lang.String uri, int propfindType, DavPropertyNameSet names, int depth)
HttpPropfind(java.lang.String uri, DavPropertyNameSet names, int depth)
HttpPropfind(java.net.URI uri, int propfindType, int depth)
HttpPropfind(java.net.URI uri, int propfindType, DavPropertyNameSet names, int depth)
HttpPropfind(java.net.URI uri, DavPropertyNameSet names, int depth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMethod()
boolean
succeeded(org.apache.http.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, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
HttpPropfind
public HttpPropfind(java.net.URI uri, int propfindType, DavPropertyNameSet names, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
HttpPropfind
public HttpPropfind(java.net.URI uri, DavPropertyNameSet names, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
HttpPropfind
public HttpPropfind(java.net.URI uri, int propfindType, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
HttpPropfind
public HttpPropfind(java.lang.String uri, int propfindType, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
HttpPropfind
public HttpPropfind(java.lang.String uri, int propfindType, DavPropertyNameSet names, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
HttpPropfind
public HttpPropfind(java.lang.String uri, DavPropertyNameSet names, int depth) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod
in interfaceorg.apache.http.client.methods.HttpUriRequest
- Specified by:
getMethod
in classorg.apache.http.client.methods.HttpRequestBase
-
succeeded
public boolean succeeded(org.apache.http.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
-
-