org.apache.jackrabbit.webdav.client.methods
Class DavMethodBase

java.lang.Object
  extended byorg.apache.commons.httpclient.HttpMethodBase
      extended byorg.apache.commons.httpclient.methods.GetMethod
          extended byorg.apache.commons.httpclient.methods.ExpectContinueMethod
              extended byorg.apache.commons.httpclient.methods.EntityEnclosingMethod
                  extended byorg.apache.jackrabbit.webdav.client.methods.DavMethodBase
All Implemented Interfaces:
org.apache.jackrabbit.webdav.DavConstants, org.apache.commons.httpclient.HttpMethod
Direct Known Subclasses:
OptionsMethod, PropFindMethod, ReportMethod, SearchMethod

public abstract class DavMethodBase
extends org.apache.commons.httpclient.methods.EntityEnclosingMethod
implements org.apache.jackrabbit.webdav.DavConstants

DavMethodBase...


Field Summary
 
Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED
 
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase
USER_AGENT
 
Fields inherited from interface org.apache.jackrabbit.webdav.DavConstants
creationDateFormat, DEPTH_0, DEPTH_1, DEPTH_INFINITY, DEPTH_INFINITY_S, HEADER_AUTHORIZATION, HEADER_CONTENT_LANGUAGE, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DAV, HEADER_DEPTH, HEADER_DESTINATION, HEADER_ETAG, HEADER_IF, HEADER_LAST_MODIFIED, HEADER_LOCK_TOKEN, HEADER_OVERWRITE, HEADER_TIMEOUT, INFINITE_TIMEOUT, modificationDateFormat, NAMESPACE, NO_OVERWRITE, OPAQUE_LOCK_TOKEN_PREFIX, PROPERTY_CREATIONDATE, PROPERTY_DISPLAYNAME, PROPERTY_GETCONTENTLANGUAGE, PROPERTY_GETCONTENTLENGTH, PROPERTY_GETCONTENTTYPE, PROPERTY_GETETAG, PROPERTY_GETLASTMODIFIED, PROPERTY_LOCKDISCOVERY, PROPERTY_RESOURCETYPE, PROPERTY_SOURCE, PROPERTY_SUPPORTEDLOCK, PROPFIND_ALL_PROP, PROPFIND_BY_PROPERTY, PROPFIND_PROPERTY_NAMES, TIMEOUT_INFINITE, UNDEFINED_TIMEOUT, XML_ACTIVELOCK, XML_ALLPROP, XML_COLLECTION, XML_DEPTH, XML_DST, XML_EXCLUSIVE, XML_HREF, XML_KEEPALIVE, XML_LINK, XML_LOCKENTRY, XML_LOCKINFO, XML_LOCKSCOPE, XML_LOCKTOKEN, XML_LOCKTYPE, XML_MULTISTATUS, XML_OMIT, XML_OWNER, XML_PROP, XML_PROPERTYBEHAVIOR, XML_PROPERTYUPDATE, XML_PROPFIND, XML_PROPNAME, XML_PROPSTAT, XML_REMOVE, XML_RESPONSE, XML_RESPONSEDESCRIPTION, XML_SET, XML_SHARED, XML_SOURCE, XML_STATUS, XML_TIMEOUT, XML_WRITE
 
Constructor Summary
DavMethodBase(String uri)
           
 
Method Summary
 org.jdom.Document getReponseBodyAsDocument()
           
 org.apache.jackrabbit.webdav.MultiStatus getResponseBodyAsMultiStatus()
           
 org.apache.jackrabbit.webdav.DavException getResponseException()
           
 void parseMultiStatus(ContentHandler contentHandler)
           
 void parseResponse(ContentHandler contentHandler)
           
 void setRequestBody(org.jdom.Document bodyDocument)
           
 
Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod
addContentLengthRequestHeader, clearRequestBody, generateRequestBody, getFollowRedirects, getRequestBody, getRequestBodyAsString, getRequestContentLength, hasRequestContent, recycle, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, writeRequestBody
 
Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod
addRequestHeaders, getUseExpectHeader, setUseExpectHeader
 
Methods inherited from class org.apache.commons.httpclient.methods.GetMethod
getFileData, getName, getTempDir, getTempFile, getUseDisk, readResponseBody, setFileData, setTempDir, setTempFile, setUseDisk
 
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase
addAuthorizationRequestHeader, addCookieRequestHeader, addHostRequestHeader, addProxyAuthorizationRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, fakeResponse, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getHostConfiguration, getMethodRetryHandler, getPath, getProxyAuthenticationRealm, getQueryString, getRecoverableExceptionCount, getRequestCharSet, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isConnectionCloseForced, isHttp11, isStrictMode, processResponseBody, processResponseHeaders, processStatusLine, readResponse, readResponseHeaders, readStatusLine, releaseConnection, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setHostConfiguration, setHttp11, setMethodRetryHandler, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, shouldCloseConnection, validate, writeRequest, writeRequestHeaders, writeRequestLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DavMethodBase

public DavMethodBase(String uri)
Method Detail

setRequestBody

public void setRequestBody(org.jdom.Document bodyDocument)

getReponseBodyAsDocument

public org.jdom.Document getReponseBodyAsDocument()
                                           throws IOException,
                                                  org.jdom.JDOMException
Throws:
IOException
org.jdom.JDOMException

getResponseException

public org.apache.jackrabbit.webdav.DavException getResponseException()
                                                               throws IOException
Returns:
Throws:
IOException

parseResponse

public void parseResponse(ContentHandler contentHandler)
                   throws IOException,
                          org.apache.jackrabbit.webdav.DavException
Throws:
IOException
org.apache.jackrabbit.webdav.DavException

getResponseBodyAsMultiStatus

public org.apache.jackrabbit.webdav.MultiStatus getResponseBodyAsMultiStatus()
                                                                      throws IOException,
                                                                             org.apache.jackrabbit.webdav.DavException
Throws:
IOException
org.apache.jackrabbit.webdav.DavException

parseMultiStatus

public void parseMultiStatus(ContentHandler contentHandler)
                      throws IOException,
                             org.apache.jackrabbit.webdav.DavException
Throws:
IOException
org.apache.jackrabbit.webdav.DavException


Copyright © 2005 . All Rights Reserved.