Package com.github.sardine.impl.methods
Class HttpUnlock
java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.client.methods.AbstractExecutionAwareRequest
org.apache.http.client.methods.HttpRequestBase
com.github.sardine.impl.methods.HttpUnlock
- All Implemented Interfaces:
Cloneable,org.apache.http.client.methods.AbortableHttpRequest,org.apache.http.client.methods.Configurable,org.apache.http.client.methods.HttpExecutionAware,org.apache.http.client.methods.HttpUriRequest,org.apache.http.HttpMessage,org.apache.http.HttpRequest
public class HttpUnlock
extends org.apache.http.client.methods.HttpRequestBase
-
Field Summary
Fields Modifier and Type Field Description static StringMETHOD_NAME -
Constructor Summary
Constructors Constructor Description HttpUnlock(String url, String token)HttpUnlock(URI url, String token) -
Method Summary
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringMethods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest
abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggerMethods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
METHOD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
HttpUnlock
- Parameters:
url- The resourcetoken- The Lock-Token request header is used with the UNLOCK method to identify the lock to be removed. The lock token in the Lock-Token request header must identify a lock that contains the resource identified by Request-URI as a member.
-
HttpUnlock
- Parameters:
url- The resourcetoken- The Lock-Token request header is used with the UNLOCK method to identify the lock to be removed. The lock token in the Lock-Token request header must identify a lock that contains the resource identified by Request-URI as a member.
-
-
Method Details
-
getMethod
- Specified by:
getMethodin interfaceorg.apache.http.client.methods.HttpUriRequest- Specified by:
getMethodin classorg.apache.http.client.methods.HttpRequestBase
-