public class HttpReport
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_NAME |
| Constructor and Description |
|---|
HttpReport(String uri) |
HttpReport(URI uri)
Sets the
Depth request header to 0, meaning the
report applies to the resource only. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod() |
HttpReport |
setDepth(String depth)
A client may submit a Depth header with a value of "0", "1", or "infinity" with
a
Propfind on a collection resource with internal member URIs. |
clone, expectContinue, getEntity, setEntitygetConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String METHOD_NAME
public HttpReport(String uri)
public HttpReport(URI uri)
Depth request header to 0, meaning the
report applies to the resource only.uri - The resourcepublic String getMethod()
getMethod in interface org.apache.http.client.methods.HttpUriRequestgetMethod in class org.apache.http.client.methods.HttpRequestBasepublic HttpReport setDepth(String depth)
Propfind on a collection resource with internal member URIs.depth - "0", "1" or "infinity".Copyright © 2019. All rights reserved.