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 IMethod
MethodException
public void invoke(IDavContext ctxt) throws MethodException
MethodException
protected IDavRepo getRepo() throws MethodException
MethodException
public 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
MethodException
protected String parseIfHeader() throws MethodException
MethodException
protected 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.