org.apache.webdav.lib.methods
Class AclReportMethod
- DepthSupport
public class AclReportMethod
WebDAV Report method
This class is used to send an report
from the ACL specification.
In this version only the principal-property-search is supported.
AclReportMethod(String path, Collection propertyNames, int depth, int reportType)
|
convertElementToProperty , generateRequestBody , getDebug , getRequestContentLength , getResponseDocument , getResponseHashtable , getResponseURLs , getResponses , parseResponse , parseXMLResponse , readResponseBody , recycle , setDebug , setDecodeResponseHrefs , setDocument , setResponseHashtable , writeRequestBody |
PRINCIPAL_PROPERTY_SEARCH
public static final int PRINCIPAL_PROPERTY_SEARCH
AclReportMethod
public AclReportMethod(String path,
Collection propertyNames,
int depth,
int reportType)
path
- propertyNames
- requested propertiesdepth
- reportType
- - one of the supported report types
addRequestHeaders
public void addRequestHeaders(HttpState state,
HttpConnection conn)
throws IOException,
HttpException
Generate additional headers needed by the request.
state
- State tokenconn
- The connection being used for the request.
getName
public String getName()
setRequestHeader
public void setRequestHeader(String headerName,
String headerValue)
Set a header value, redirecting the special case of header "Depth" to
setDepth(int)
as appropriate.
headerName
- Header nameheaderValue
- Header value