org.apache.webdav.lib.methods
Class XMLResponseMethodBase.OptionsResponse
java.lang.Object
org.apache.webdav.lib.methods.XMLResponseMethodBase.Response
org.apache.webdav.lib.methods.XMLResponseMethodBase.SingleResponse
org.apache.webdav.lib.methods.XMLResponseMethodBase.OptionsResponse
- All Implemented Interfaces:
- ResponseEntity
- Enclosing class:
- XMLResponseMethodBase
- class XMLResponseMethodBase.OptionsResponse
- extends XMLResponseMethodBase.SingleResponse
Method Summary |
java.util.Enumeration |
getHistories()
Get the properties in the response XML element. |
java.lang.String |
getHref()
Get the href string in the response XML element. |
int |
getStatusCode()
Get the status code for use with 207 (Multi-Status). |
java.util.Enumeration |
getWorkspaces()
Get the properties in the response XML element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XMLResponseMethodBase.OptionsResponse
XMLResponseMethodBase.OptionsResponse(org.w3c.dom.Document document,
java.lang.String href,
int statusCode)
getWorkspaces
public java.util.Enumeration getWorkspaces()
- Description copied from interface:
ResponseEntity
- Get the properties in the response XML element.
- Specified by:
getWorkspaces
in interface ResponseEntity
- Overrides:
getWorkspaces
in class XMLResponseMethodBase.Response
getHistories
public java.util.Enumeration getHistories()
- Description copied from interface:
ResponseEntity
- Get the properties in the response XML element.
- Specified by:
getHistories
in interface ResponseEntity
- Overrides:
getHistories
in class XMLResponseMethodBase.Response
getStatusCode
public int getStatusCode()
- Description copied from interface:
ResponseEntity
- Get the status code for use with 207 (Multi-Status).
Unless explicitly prohibited any 2/3/4/5xx series
response code may be used in a Multi-Status response.
- Specified by:
getStatusCode
in interface ResponseEntity
- Specified by:
getStatusCode
in class XMLResponseMethodBase.Response
getHref
public java.lang.String getHref()
- Description copied from interface:
ResponseEntity
- Get the href string in the response XML element.
Each response XML element MUST contain an href XML element that gives
the URI of the resource on which the properties in the prop XML
element are defined.
- Specified by:
getHref
in interface ResponseEntity
- Specified by:
getHref
in class XMLResponseMethodBase.Response