public class UnsubscribeMethod extends XMLResponseMethodBase
XMLResponseMethodBase.OptionsResponse, XMLResponseMethodBase.Response, XMLResponseMethodBase.ResponseWithinMultistatus, XMLResponseMethodBase.SingleResponsebuilder, decodeResponseHrefs, responseURLs| Constructor and Description |
|---|
UnsubscribeMethod() |
UnsubscribeMethod(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequestHeaders(org.apache.commons.httpclient.HttpState state,
org.apache.commons.httpclient.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.
|
convertElementToProperty, generateRequestBody, getDebug, getRequestContentLength, getResponseDocument, getResponseHashtable, getResponses, getResponseURLs, parseResponse, parseXMLResponse, readResponseBody, setDebug, setDecodeResponseHrefs, setDocument, setResponseHashtable, writeRequestBodyisRequestContentAlreadySet, readContinueCode, setRequestBody, setRequestBody, setRequestBody, setRequestBody, setRequestBodyabort, addCookieRequestHeader, addHostRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getEffectiveVersion, getFollowRedirects, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, getRequestCharSet, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isAborted, isConnectionCloseForced, isHttp11, isRequestSent, isStrictMode, processCookieHeaders, processResponseBody, processResponseHeaders, processStatusLine, readResponse, readResponseHeaders, readStatusLine, releaseConnection, removeRequestHeader, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setFollowRedirects, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setResponseStream, setStrictMode, setURI, shouldCloseConnection, validate, writeRequest, writeRequestHeaders, writeRequestLinepublic UnsubscribeMethod()
public UnsubscribeMethod(java.lang.String path)
public void addSubscriptionId(int id)
public java.lang.String getName()
getName in interface org.apache.commons.httpclient.HttpMethodgetName in class org.apache.commons.httpclient.HttpMethodBasepublic void recycle()
XMLResponseMethodBaserecycle in interface org.apache.commons.httpclient.HttpMethodrecycle in class XMLResponseMethodBaseprotected void addRequestHeaders(org.apache.commons.httpclient.HttpState state,
org.apache.commons.httpclient.HttpConnection conn)
throws java.io.IOException,
org.apache.commons.httpclient.HttpException
addRequestHeaders in class org.apache.commons.httpclient.HttpMethodBasejava.io.IOExceptionorg.apache.commons.httpclient.HttpExceptionpublic void setRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
setRequestHeader in interface org.apache.commons.httpclient.HttpMethodsetRequestHeader in class org.apache.commons.httpclient.HttpMethodBase