| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
HttpMethodBaseorg.apache.webdav.lib.methods.HttpRequestBodyMethodBaseorg.apache.webdav.lib.methods.XMLResponseMethodBaseorg.apache.webdav.lib.methods.VersionControlMethodNested Class Summary |
Nested classes/interfaces inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase | |
XMLResponseMethodBase.OptionsResponse, XMLResponseMethodBase.Response, XMLResponseMethodBase.ResponseWithinMultistatus, XMLResponseMethodBase.SingleResponse | |
Field Summary |
Fields inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase | |
builder, decodeResponseHrefs, responseURLs | |
Fields inherited from interface org.apache.webdav.lib.methods.DepthSupport | |
DEPTH_0, DEPTH_1, DEPTH_INFINITY | |
Constructor Summary | |
| |
| |
| |
Method Summary | |
protected String |
|
int |
|
String |
|
void |
|
void |
|
void |
|
Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase | |
convertElementToProperty, generateRequestBody, getDebug, getRequestContentLength, getResponseDocument, getResponseHashtable, getResponseURLs, getResponses, parseResponse, parseXMLResponse, readResponseBody, recycle, setDebug, setDecodeResponseHrefs, setDocument, setResponseHashtable, writeRequestBody | |
Methods inherited from class org.apache.webdav.lib.methods.HttpRequestBodyMethodBase | |
getRequestContentLength, isRequestContentAlreadySet, readContinueCode, recycle, setRequestBody, setRequestBody, setRequestBody, setRequestBody, setRequestBody, writeRequestBody | |
public VersionControlMethod()
Method constructor.
public VersionControlMethod(String path)
Method constructor.
public VersionControlMethod(String path,
String sTarget)protected String generateRequestBody()
DAV requests that contain a body must override this function to generate that body. The default behavior simply returns an empty body.
- Overrides:
- generateRequestBody in interface XMLResponseMethodBase
public int getDepth()
Depth getter.
- Specified by:
- getDepth in interface DepthSupport
- Returns:
- int depth value
public String getName()
public void parseResponse(InputStream input,
HttpState state,
HttpConnection conn)
throws IOException,
HttpExceptionParse response.
- Overrides:
- parseResponse in interface XMLResponseMethodBase
- Parameters:
input- Input stream
public void setDepth(int depth)
Depth setter.
- Specified by:
- setDepth in interface DepthSupport
- Parameters:
depth- New depth value
public void setRequestHeader(String headerName,
String headerValue)