public class HttpLock
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod() |
void |
setDepth(String depth)
The Depth header may be used with the
LOCK method. |
void |
setInfinite()
Desires an infinite length lock.
|
void |
setTimeout(int seconds)
Clients may include Timeout headers in their LOCK requests.
|
clone, expectContinue, getEntity, setEntitygetConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String METHOD_NAME
public String getMethod()
getMethod in interface org.apache.http.client.methods.HttpUriRequestgetMethod in class org.apache.http.client.methods.HttpRequestBasepublic void setDepth(String depth)
The Depth header may be used with the LOCK method. Values other than 0 or infinity must not
be used with the Depth header on a LOCK method. All resources that support the LOCK
method must support the Depth header.
If no Depth header is submitted on a LOCK request then the request must act as if
a Depth:infinity had been submitted.
depth - "0" or "infinity".public void setTimeout(int seconds)
public void setInfinite()
Copyright © 2019. All rights reserved.