OPTIONS Method.
ACL
public static final String ACL
ACL.
ADVANCED_COLLECTIONS
public static final String ADVANCED_COLLECTIONS
Advanced collections.
DASL
public static final String DASL
DASL.
DAV_LEVEL1
public static final String DAV_LEVEL1
DAV level 1. Mandatory.
DAV_LEVEL2
public static final String DAV_LEVEL2
DAV level 2.
DELTAV
public static final String DELTAV
Delta V.
OPTIONS_VERSION_HISTORY
public static final int OPTIONS_VERSION_HISTORY
OPTIONS_WORKSPACE
public static final int OPTIONS_WORKSPACE
addRequestHeaders
public void addRequestHeaders(HttpState state,
HttpConnection conn)
throws IOException,
HttpException
generateRequestBody
protected String generateRequestBody()
DAV requests that contain a body must override this function to
generate that body.
The default behavior simply returns an empty body.
- generateRequestBody in interface XMLResponseMethodBase
getAllResponseURLs
public Enumeration getAllResponseURLs()
This method returns an enumeration of URL paths. If the PropFindMethod
was sent to the URL of a collection, then there will be multiple URLs.
The URLs are picked out of the <D:href>
elements
of the response.
- an enumeration of URL paths as Strings
getAllowedMethods
public Enumeration getAllowedMethods()
Get a list of allowed methods.
getDavCapabilities
public Enumeration getDavCapabilities()
Get a list of supported DAV capabilities.
getName
public String getName()
getResponseProperties
public Enumeration getResponseProperties()
isAllowed
public boolean isAllowed(String method)
Is the specified method allowed ?
isSupported
public boolean isSupported(String capability)
Is DAV capability supported ?
parseResponse
public void parseResponse(InputStream input,
HttpState state,
HttpConnection conn)
throws IOException,
HttpException
Parse response.
- parseResponse in interface XMLResponseMethodBase
parseResponseContent
protected Document parseResponseContent(InputStream is)
throws ParserConfigurationException,
SAXException,
IOException
processResponseHeaders
public void processResponseHeaders(HttpState state,
HttpConnection conn)
Process response headers. The contract of this method is that it only
parses the response headers.
state
- the stateconn
- the connection