|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.httpclient.HttpMethodBase | +--org.apache.webdav.lib.methods.OptionsMethod
OPTIONS Method.
Field Summary | |
static java.lang.String |
ACL
ACL. |
static java.lang.String |
ADVANCED_COLLECTIONS
Advanced collections. |
static java.lang.String |
DASL
DASL. |
static java.lang.String |
DAV_LEVEL1
DAV level 1. |
static java.lang.String |
DAV_LEVEL2
DAV level 2. |
static java.lang.String |
DELTAV
Delta V. |
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
debug, followRedirects, name, parameters, path, query, queryString, requestHeaders, responseHeaders, state, statusCode, statusText |
Fields inherited from interface org.apache.commons.httpclient.HttpMethod |
PROTOCOL |
Constructor Summary | |
OptionsMethod()
Method constructor. |
|
OptionsMethod(java.lang.String path)
Method constructor. |
Method Summary | |
java.lang.String |
generateQuery()
Generate the query body. |
java.util.Enumeration |
getAllowedMethods()
Get a list of allowed methods. |
java.util.Enumeration |
getDavCapabilities()
Get a list of supported DAV capabilities. |
boolean |
isAllowed(java.lang.String method)
Is the specified method allowed ? |
boolean |
isSupported(java.lang.String capability)
Is DAV capability supported ? |
void |
parseResponse(java.io.InputStream is)
Parse response. |
void |
processResponseHeaders(java.util.Hashtable headers)
Process response headers. |
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase |
checkNotUsed, checkUsed, followRedirects, generateHeaders, generateHeaders, generateRequestLine, generateRequestLine, getHeader, getHeaders, getHeadersHashtable, getName, getPath, getStatusCode, getStatusText, hasBeenUsed, hasResponseBody, isStreamedQuery, needContentLength, needExpectation, recycle, removeHeader, setDebug, setFollowRedirects, setHeader, setParameter, setPath, setQuery, setQueryString, setState, setStatusCode, setStatusText, setUsed, streamQuery, validate |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final java.lang.String DAV_LEVEL1
public static final java.lang.String DAV_LEVEL2
public static final java.lang.String ADVANCED_COLLECTIONS
public static final java.lang.String DELTAV
public static final java.lang.String ACL
public static final java.lang.String DASL
Constructor Detail |
public OptionsMethod()
public OptionsMethod(java.lang.String path)
Method Detail |
public boolean isAllowed(java.lang.String method)
public java.util.Enumeration getAllowedMethods()
public boolean isSupported(java.lang.String capability)
public java.util.Enumeration getDavCapabilities()
public java.lang.String generateQuery()
generateQuery
in class org.apache.commons.httpclient.HttpMethodBase
public void parseResponse(java.io.InputStream is) throws java.io.IOException
parseResponse
in class org.apache.commons.httpclient.HttpMethodBase
is
- Input streampublic void processResponseHeaders(java.util.Hashtable headers)
processResponseHeaders
in class org.apache.commons.httpclient.HttpMethodBase
headers
- Headers list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |