public abstract class ExchangeDavRequest extends org.apache.http.client.methods.HttpPost implements org.apache.http.client.ResponseHandler<List<org.apache.jackrabbit.webdav.MultiStatusResponse>>
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOGGER |
| Constructor and Description |
|---|
ExchangeDavRequest(String path)
Create PROPPATCH method.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract byte[] |
generateRequestContent()
Generate request content from property values.
|
org.apache.jackrabbit.webdav.MultiStatusResponse |
getResponse()
Get single Multistatus response.
|
org.apache.jackrabbit.webdav.MultiStatusResponse[] |
getResponses()
Get Multistatus responses.
|
int |
getResponseStatusCode()
Return method http status code.
|
protected String |
getTagContent(XMLStreamReader reader) |
protected void |
handleMultiValuedProperty(XMLStreamReader reader,
org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) |
protected void |
handleProperty(XMLStreamReader reader,
org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) |
protected void |
handlePropstat(XMLStreamReader reader,
org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) |
List<org.apache.jackrabbit.webdav.MultiStatusResponse> |
handleResponse(org.apache.http.HttpResponse response) |
protected void |
handleResponse(XMLStreamReader reader) |
clone, 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, waitpublic ExchangeDavRequest(String path)
path - pathprotected abstract byte[] generateRequestContent()
public List<org.apache.jackrabbit.webdav.MultiStatusResponse> handleResponse(org.apache.http.HttpResponse response)
handleResponse in interface org.apache.http.client.ResponseHandler<List<org.apache.jackrabbit.webdav.MultiStatusResponse>>protected void handleResponse(XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionprotected void handlePropstat(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamExceptionprotected void handleProperty(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamExceptionprotected void handleMultiValuedProperty(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamExceptionprotected String getTagContent(XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic org.apache.jackrabbit.webdav.MultiStatusResponse[] getResponses()
throws org.apache.http.client.HttpResponseException
org.apache.http.client.HttpResponseException - on errorpublic org.apache.jackrabbit.webdav.MultiStatusResponse getResponse()
throws org.apache.http.client.HttpResponseException
org.apache.http.client.HttpResponseException - on errorpublic int getResponseStatusCode()
throws org.apache.http.client.HttpResponseException
org.apache.http.client.HttpResponseException - on errorCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.