public class HttpSearch extends BaseDavRequest
headergroup, params
Constructor and Description |
---|
HttpSearch(String uri,
SearchInfo searchInfo) |
HttpSearch(URI uri,
SearchInfo searchInfo) |
Modifier and Type | Method and Description |
---|---|
String |
getMethod() |
boolean |
succeeded(HttpResponse response)
Check the provided
HttpResponse for successful execution. |
checkSuccess, getResponseBodyAsDocument, getResponseBodyAsEventDiscovery, getResponseBodyAsLockDiscovery, getResponseBodyAsMultiStatus, getResponseBodyAsSubscriptionDiscovery, getResponseException
clone, expectContinue, getEntity, setEntity
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
abort, isAborted
public HttpSearch(URI uri, SearchInfo searchInfo) throws IOException
IOException
public HttpSearch(String uri, SearchInfo searchInfo) throws IOException
IOException
public String getMethod()
getMethod
in interface HttpUriRequest
getMethod
in class HttpRequestBase
public boolean succeeded(HttpResponse response)
BaseDavRequest
HttpResponse
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 BaseDavRequest
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.