public interface LDAPDeleteRequest extends LDAPRequest
Note that LDAPDeleteRequest objects should not be considered thread-safe, thus should not be used concurrently by multiple threads. Each thread wishing to process a request should have its own instance of that request.
Modifier and Type | Method and Description |
---|---|
LDAPDeleteRequest |
clone()
Creates and returns a copy of this delete request that may be modified without
impacting this request.
|
String |
getDN()
Returns the distinguished name for this delete request.
|
LDAPDeleteRequest |
setDN(String dn)
Sets the distinguished name for this delete request.
|
LDAPDeleteRequest |
setQueryTimeout(long timeout)
Sets the maximum time, in milliseconds, to wait for a response from the server when
processing this delete request.
|
getQueryTimeout
LDAPDeleteRequest clone()
clone
in interface LDAPRequest
String getDN()
LDAPDeleteRequest setDN(String dn)
dn
- the distinguished name for this delete request. It must not be null.LDAPDeleteRequest setQueryTimeout(long timeout)
A value of zero indicates that no timeout should be enforced.
A value that is less than zero indicates that the default query timeout for the underlying connection should be used.
setQueryTimeout
in interface LDAPRequest
timeout
- the maximum time, in milliseconds, to wait for a response from the
server when processing this delete request.