|
|||||||||
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.UnlockMethod
UNLOCK Method.
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 | |
UnlockMethod()
Method constructor. |
|
UnlockMethod(java.lang.String path)
Method constructor. |
|
UnlockMethod(java.lang.String path,
java.lang.String lockToken)
Method constructor. |
Method Summary | |
void |
generateHeaders(java.lang.String host,
org.apache.commons.httpclient.State state)
Generate additional headers needed by the request. |
void |
parseResponse(java.io.InputStream is)
Parse response. |
void |
setHeader(java.lang.String headerName,
java.lang.String headerValue)
Set header. |
void |
setLockToken(java.lang.String lockToken)
|
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase |
checkNotUsed, checkUsed, followRedirects, generateHeaders, generateQuery, generateRequestLine, generateRequestLine, getHeader, getHeaders, getHeadersHashtable, getName, getPath, getStatusCode, getStatusText, hasBeenUsed, hasResponseBody, isStreamedQuery, needContentLength, needExpectation, processResponseHeaders, recycle, removeHeader, setDebug, setFollowRedirects, setParameter, setPath, setQuery, setQueryString, setState, setStatusCode, setStatusText, setUsed, streamQuery, validate |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public UnlockMethod()
public UnlockMethod(java.lang.String path)
public UnlockMethod(java.lang.String path, java.lang.String lockToken)
Method Detail |
public void setLockToken(java.lang.String lockToken)
public void setHeader(java.lang.String headerName, java.lang.String headerValue)
setHeader
in class org.apache.commons.httpclient.HttpMethodBase
headerName
- Header nameheaderValue
- Header valuepublic void generateHeaders(java.lang.String host, org.apache.commons.httpclient.State state)
generateHeaders
in class org.apache.commons.httpclient.HttpMethodBase
host
- the hoststate
- State tokenpublic void parseResponse(java.io.InputStream is) throws java.io.IOException
parseResponse
in class org.apache.commons.httpclient.HttpMethodBase
is
- Input stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |