public class MethodBase extends Object implements IMethod
| Modifier and Type | Field and Description |
|---|---|
protected static String |
s_dateFormat |
WEBDAV_LOCKED, WEBDAV_MULTI_STATUS| Constructor and Description |
|---|
MethodBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHeader(String name,
String value) |
protected XMLStreamWriter |
createXmlResponse() |
protected String |
getBaseUrl() |
protected IDavContext |
getDavContext() |
protected XMLStreamReader |
getDocument() |
protected ArrayList<String> |
getETags(String name) |
protected String |
getHeader(String name) |
protected Date |
getHeaderDate(String name) |
protected int |
getHeaderInt(String name,
int defaultValue) |
protected int |
getHeaderTime(String name,
int defaultValue) |
protected String |
getLockToken() |
protected String |
getPath() |
protected IDavRepo |
getRepo() |
protected javax.servlet.http.HttpServletRequest |
getRequest() |
protected javax.servlet.http.HttpServletResponse |
getResponse() |
protected String |
getUrl() |
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
IDavContext ctx,
IDavRepo repo,
String root) |
void |
invoke() |
void |
invoke(IDavContext ctxt) |
protected String |
parseIfHeader() |
protected boolean |
suppliedHeader(String name) |
protected static String s_dateFormat
protected IDavContext getDavContext()
public void invoke()
throws MethodException
invoke in interface IMethodMethodExceptionpublic void invoke(IDavContext ctxt) throws MethodException
MethodExceptionprotected IDavRepo getRepo() throws MethodException
MethodExceptionpublic void init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
IDavContext ctx,
IDavRepo repo,
String root)
protected XMLStreamWriter createXmlResponse()
protected XMLStreamReader getDocument() throws MethodException, XmlSerializerException, IOException
protected boolean suppliedHeader(String name)
protected int getHeaderInt(String name, int defaultValue)
protected int getHeaderTime(String name, int defaultValue)
protected String getLockToken() throws MethodException
MethodExceptionprotected String parseIfHeader() throws MethodException
MethodExceptionprotected String getBaseUrl()
protected String getPath()
protected String getUrl()
protected javax.servlet.http.HttpServletRequest getRequest()
protected javax.servlet.http.HttpServletResponse getResponse()
Copyright © 2016–2022. All rights reserved.