|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.httpclient.HttpMethodBase org.apache.commons.httpclient.methods.ExpectContinueMethod org.apache.commons.httpclient.methods.EntityEnclosingMethod org.apache.jackrabbit.webdav.client.methods.DavMethodBase org.apache.jackrabbit.webdav.client.methods.PropFindMethod
public class PropFindMethod
PropFindMethod
, as specified in
RFC 4918, Section 9.1
Supported types:
DavConstants.PROPFIND_ALL_PROP
: all custom properties,
plus the live properties defined in RFC2518/RFC4918
DavConstants.PROPFIND_ALL_PROP_INCLUDE
: same as
DavConstants.PROPFIND_ALL_PROP
plus the properties specified
in propNameSet
DavConstants.PROPFIND_BY_PROPERTY
: just the properties
specified in propNameSet
DavConstants.PROPFIND_PROPERTY_NAMES
: just the property names
Note: only WebDAV level 3 servers support DavConstants.PROPFIND_ALL_PROP_INCLUDE
,
older servers will ignore the extension and act as if DavConstants.PROPFIND_ALL_PROP
was used.
Field Summary |
---|
Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
---|
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED |
Constructor Summary | |
---|---|
PropFindMethod(String uri)
|
|
PropFindMethod(String uri,
DavPropertyNameSet propNameSet,
int depth)
|
|
PropFindMethod(String uri,
int propfindType,
DavPropertyNameSet propNameSet,
int depth)
|
|
PropFindMethod(String uri,
int propfindType,
int depth)
|
Method Summary | |
---|---|
String |
getName()
Reset method to 'abstract' in order to force subclasses to change the name (inherited value is GetMethod.getName() ). |
protected boolean |
isSuccess(int statusCode)
|
Methods inherited from class org.apache.jackrabbit.webdav.client.methods.DavMethodBase |
---|
addRequestHeader, checkSuccess, getResponseBodyAsDocument, getResponseBodyAsMultiStatus, getResponseException, getSuccess, processMultiStatusBody, processResponseBody, processStatusLine, setRequestBody, setRequestBody, setRequestHeader, setSuccess, succeeded |
Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
---|
addContentLengthRequestHeader, addRequestHeaders, clearRequestBody, generateRequestBody, generateRequestEntity, getFollowRedirects, getRequestCharSet, getRequestContentLength, getRequestEntity, hasRequestContent, recycle, setContentChunked, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, setRequestContentLength, setRequestEntity, writeRequestBody |
Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
---|
getUseExpectHeader, setUseExpectHeader |
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase |
---|
abort, addCookieRequestHeader, addHostRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getEffectiveVersion, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isAborted, isConnectionCloseForced, isHttp11, isRequestSent, isStrictMode, processResponseHeaders, readResponse, readResponseBody, readResponseHeaders, readStatusLine, releaseConnection, removeRequestHeader, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, setURI, shouldCloseConnection, validate, writeRequest, writeRequestHeaders, writeRequestLine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.httpclient.HttpMethod |
---|
abort, addRequestHeader, addRequestHeader, addResponseFooter, execute, getDoAuthentication, getFollowRedirects, getHostAuthState, getHostConfiguration, getParams, getPath, getProxyAuthState, getQueryString, getRequestHeader, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getResponseHeaders, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isRequestSent, isStrictMode, recycle, releaseConnection, removeRequestHeader, removeRequestHeader, setDoAuthentication, setFollowRedirects, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, setURI, validate |
Constructor Detail |
---|
public PropFindMethod(String uri) throws IOException
IOException
public PropFindMethod(String uri, DavPropertyNameSet propNameSet, int depth) throws IOException
IOException
public PropFindMethod(String uri, int propfindType, int depth) throws IOException
IOException
public PropFindMethod(String uri, int propfindType, DavPropertyNameSet propNameSet, int depth) throws IOException
IOException
Method Detail |
---|
public String getName()
DavMethodBase
GetMethod.getName()
).
getName
in interface org.apache.commons.httpclient.HttpMethod
getName
in class DavMethodBase
HttpMethod.getName()
protected boolean isSuccess(int statusCode)
isSuccess
in class DavMethodBase
statusCode
-
207 (Multi-Status)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |