Package com.github.sardine.impl.methods
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
com.github.sardine.impl.methods.HttpPropFind
- All Implemented Interfaces:
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 org.apache.http.client.methods.HttpEntityEnclosingRequestBase
Simple class for making WebDAV
PROPFIND requests.-
Field Summary
Fields Modifier and Type Field Description static StringMETHOD_NAME -
Constructor Summary
Constructors Constructor Description HttpPropFind(String uri)HttpPropFind(URI uri)Sets theDepthrequest header to1, meaning the request applies to the resource and its children. -
Method Summary
Methods 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
METHOD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
HttpPropFind
-
HttpPropFind
Sets theDepthrequest header to1, meaning the request applies to the resource and its children.- Parameters:
uri- The resource
-
-
Method Details
-
getMethod
- Specified by:
getMethodin interfaceorg.apache.http.client.methods.HttpUriRequest- Specified by:
getMethodin classorg.apache.http.client.methods.HttpRequestBase
-
setDepth
A client may submit a Depth header with a value of "0", "1", or "infinity" with aPropfindon a collection resource with internal member URIs.- Parameters:
depth-"0","1"or"infinity".
-