org.apache.webdav.lib.methods
Class UnsubscribeMethod
public class UnsubscribeMethod
Implements the UNSUBSCRIBE method.
protected void | addRequestHeaders(HttpState state, HttpConnection conn)
|
void | addSubscriptionId(int id) - Adds an ID for a subscription that is to be withdrawn.
|
String | getName()
|
void | recycle() - Reset the State of the class to its initial state, so that it can be
used again.
|
void | setRequestHeader(String headerName, String headerValue) - Adds special checking of header values of the UNSUBSCRIBE method to
the super class implementation.
|
convertElementToProperty , generateRequestBody , getDebug , getRequestContentLength , getResponseDocument , getResponseHashtable , getResponseURLs , getResponses , parseResponse , parseXMLResponse , readResponseBody , recycle , setDebug , setDecodeResponseHrefs , setDocument , setResponseHashtable , writeRequestBody |
UnsubscribeMethod
public UnsubscribeMethod()
Method constructor.
UnsubscribeMethod
public UnsubscribeMethod(String path)
Method constructor.
addRequestHeaders
protected void addRequestHeaders(HttpState state,
HttpConnection conn)
throws IOException,
HttpException
addSubscriptionId
public void addSubscriptionId(int id)
Adds an ID for a subscription that is to be withdrawn.
getName
public String getName()
recycle
public void recycle()
Reset the State of the class to its initial state, so that it can be
used again.
- recycle in interface XMLResponseMethodBase
setRequestHeader
public void setRequestHeader(String headerName,
String headerValue)
Adds special checking of header values of the UNSUBSCRIBE method to
the super class implementation.