|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.webdav.lib.methods.HttpRequestBodyMethodBase
org.apache.webdav.lib.methods.XMLResponseMethodBase
org.apache.webdav.lib.methods.UnsubscribeMethod
public class UnsubscribeMethod
Implements the UNSUBSCRIBE method.
Nested 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 |
Constructor Summary | |
---|---|
UnsubscribeMethod()
|
|
UnsubscribeMethod(java.lang.String path)
|
Method Summary | |
---|---|
protected void |
addRequestHeaders(HttpState state,
HttpConnection conn)
|
void |
addSubscriptionId(int id)
Adds an ID for a subscription that is to be withdrawn. |
java.lang.String |
getName()
|
void |
recycle()
Reset the State of the class to its initial state, so that it can be used again. |
void |
setRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
Adds special checking of header values of the UNSUBSCRIBE method to the super class implementation. |
Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase |
---|
convertElementToProperty, generateRequestBody, getDebug, getRequestContentLength, getResponseDocument, getResponseHashtable, getResponses, getResponseURLs, parseResponse, parseXMLResponse, readResponseBody, setDebug, setDecodeResponseHrefs, setDocument, setResponseHashtable, writeRequestBody |
Methods inherited from class org.apache.webdav.lib.methods.HttpRequestBodyMethodBase |
---|
isRequestContentAlreadySet, readContinueCode, setRequestBody, setRequestBody, setRequestBody, setRequestBody, setRequestBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnsubscribeMethod()
public UnsubscribeMethod(java.lang.String path)
Method Detail |
---|
public void addSubscriptionId(int id)
public java.lang.String getName()
getName
in interface HttpMethod
getName
in class HttpMethodBase
public void recycle()
XMLResponseMethodBase
recycle
in interface HttpMethod
recycle
in class XMLResponseMethodBase
protected void addRequestHeaders(HttpState state, HttpConnection conn) throws java.io.IOException, HttpException
addRequestHeaders
in class HttpMethodBase
java.io.IOException
HttpException
public void setRequestHeader(java.lang.String headerName, java.lang.String headerValue)
setRequestHeader
in interface HttpMethod
setRequestHeader
in class HttpMethodBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |