|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.webdav.lib.methods.UnlockMethod
UNLOCK Method.
Field Summary |
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
USER_AGENT |
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 |
addRequestHeaders(HttpState state,
HttpConnection conn)
Generate additional headers needed by the request. |
java.lang.String |
getName()
|
protected void |
processResponseBody(HttpState state,
HttpConnection conn)
|
void |
setLockToken(java.lang.String lockToken)
|
void |
setRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
Set header, handling the special case of the lock-token header so that it calls setLockToken(java.lang.String) instead. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.String getName()
public void setRequestHeader(java.lang.String headerName, java.lang.String headerValue)
setLockToken(java.lang.String)
instead.
headerName
- Header nameheaderValue
- Header valuepublic void addRequestHeaders(HttpState state, HttpConnection conn) throws java.io.IOException, HttpException
state
- HttpState tokenconn
- The connection being used to send the request.
java.io.IOException
HttpException
protected void processResponseBody(HttpState state, HttpConnection conn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |