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, 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
public 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
XMLStreamException
protected void handlePropstat(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamException
protected void handleProperty(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamException
protected void handleMultiValuedProperty(XMLStreamReader reader, org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse) throws XMLStreamException
XMLStreamException
protected String getTagContent(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public 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–2024 MickaĆ«l Guessant. All rights reserved.