public class HttpSubscribe extends BaseDavRequest
Note that "SUBSCRIBE" is a custom HTTP extension, not defined in a standards paper.
headergroup, params| Constructor and Description | 
|---|
| HttpSubscribe(String uri,
             SubscriptionInfo info,
             String subscriptionId) | 
| HttpSubscribe(URI uri,
             SubscriptionInfo info,
             String subscriptionId) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getMethod() | 
| String | getSubscriptionId(HttpResponse response) | 
| boolean | succeeded(HttpResponse response)Check the provided  HttpResponsefor successful execution. | 
checkSuccess, getResponseBodyAsDocument, getResponseBodyAsEventDiscovery, getResponseBodyAsLockDiscovery, getResponseBodyAsMultiStatus, getResponseBodyAsSubscriptionDiscovery, getResponseExceptionclone, expectContinue, getEntity, setEntitygetConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRequestLineaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsabort, isAbortedpublic HttpSubscribe(URI uri, SubscriptionInfo info, String subscriptionId) throws IOException
IOExceptionpublic HttpSubscribe(String uri, SubscriptionInfo info, String subscriptionId) throws IOException
IOExceptionpublic String getSubscriptionId(HttpResponse response)
public String getMethod()
getMethod in interface HttpUriRequestgetMethod in class HttpRequestBasepublic boolean succeeded(HttpResponse response)
BaseDavRequestHttpResponse for successful execution. The default implementation treats all
 2xx status codes (RFC 7231, Section 6.3).
 Implementations can further restrict the accepted range of responses (or even check the response body).succeeded in class BaseDavRequestCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.