Package com.github.sardine.impl.methods
Class HttpReport
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.HttpReport
- 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 HttpReport
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
-
Field Summary
Fields Modifier and Type Field Description static StringMETHOD_NAME -
Constructor Summary
Constructors Constructor Description HttpReport(String uri)HttpReport(URI uri)Sets theDepthrequest header to0, meaning the report applies to the resource only. -
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
-
HttpReport
-
HttpReport
Sets theDepthrequest header to0, meaning the report applies to the resource only.- 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".
-