|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.webadmin.webdav.DAVRequest
This is a wrapper class that provides additional DAV-specific functionality.
Field Summary | |
static int |
DEPTH_0
|
static int |
DEPTH_1
|
static int |
DEPTH_INFINITY
|
Constructor Summary | |
DAVRequest(javax.servlet.http.HttpServletRequest request)
Creates new instance of DAVRequest based on incoming HTTP request. |
Method Summary | |
String |
getContextPath()
Wrapper method, gets servlet context path. |
int |
getDepth()
Retrieves Depth header value from HTTP request. |
String |
getDestinationPath()
Retrieves Destination header value from HTTP request. |
String |
getHeader(String name)
Wrapper method, gets HTTP request header. |
javax.servlet.ServletInputStream |
getInputStream()
Wrapper method, gets servlet input stream. |
boolean |
getOverwrite()
Retrieves Overwrite header value from HTTP request. |
String |
getParameter(String name)
Wrapper method, gets HTTP request parameter. |
String |
getPath()
Wrapper method, gets resource path. |
String |
getProtocol()
Wrapper method, gets request protocol. |
org.w3c.dom.Document |
getRequestDoc()
Retreives request document if incoming request has any. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEPTH_0
public static final int DEPTH_1
public static final int DEPTH_INFINITY
Constructor Detail |
public DAVRequest(javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequestMethod Detail |
public org.w3c.dom.Document getRequestDoc() throws IOException
IOException
- ServletInputStream IOExceptionpublic String getPath()
HttpServletRequest.getServletPath()
,
and HttpServletRequest.getPathInfo()
is always null.
If servlet is mapped to a path pattern (url pattern like '/foo/*'),
resource path is retrieved from HttpServletRequest.getPathInfo()
.
public String getHeader(String name)
name
- Header name
public boolean getOverwrite()
public int getDepth()
public String getDestinationPath()
public String getContextPath()
public javax.servlet.ServletInputStream getInputStream() throws IOException
IOException
public String getParameter(String name)
name
- Parameter name
public String getProtocol()
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |