|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.webdav.WebDAVRequest
public class WebDAVRequest
| Nested Class Summary | |
|---|---|
static class |
WebDAVRequest.DepthHeader
|
| Constructor Summary | |
|---|---|
WebDAVRequest(javax.servlet.http.HttpServletRequest _request)
|
|
| Method Summary | |
|---|---|
WebDAVRequest.DepthHeader |
getDepthHeader()
The depth is evaluated from the header of this WebDAV request. The default values is #DepthHeader.infity.This is specified in "RFC 2518 - 9.2 Depth Header". |
java.lang.String |
getDestination()
Return a context-relative path, beginning with a "/", that represents the canonical version of the specified path. |
org.w3c.dom.Document |
getDocument()
|
protected javax.xml.parsers.DocumentBuilder |
getDocumentBuilder()
Return JAXP document builder instance. |
java.lang.String |
getPathInfo()
|
javax.servlet.http.HttpServletRequest |
getRequest()
This is the getter method for instance variable request. |
java.lang.String |
getRequestURI()
|
boolean |
isInputAvailable()
Checks if input is avaiable meaning a content is also avaiable for this request. If the input stream is not avaible (e.g. |
boolean |
isOverwrite()
The request is checked, if the header Overwrite is specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebDAVRequest(javax.servlet.http.HttpServletRequest _request)
| Method Detail |
|---|
public java.lang.String getPathInfo()
public java.lang.String getRequestURI()
public org.w3c.dom.Document getDocument()
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
java.io.IOException - if input stream could not be read
javax.xml.parsers.ParserConfigurationException - if the parser could not be
instanciated
org.xml.sax.SAXException - if input stream is not parseablegetDocumentBuilder()
protected javax.xml.parsers.DocumentBuilder getDocumentBuilder()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionpublic boolean isInputAvailable()
public WebDAVRequest.DepthHeader getDepthHeader()
#DepthHeader.infity.
#DepthHeader2518 - 9.2 Depth Header,
#DepthHeaderpublic java.lang.String getDestination()
path - the path to be normalized2518 - 9.3 Destination Headerpublic boolean isOverwrite()
Overwrite is specified.
If the value is set to T or the header is not specified, the
return value is true.
Overwrite is set to
T or not defined.2518 - 9.6 Overwrite Headerpublic javax.servlet.http.HttpServletRequest getRequest()
request.
requestrequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||