@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ReadOnlySearchRequest extends ReadOnlyLDAPRequest
SearchRequest
.
Modifier and Type | Method and Description |
---|---|
SearchRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
SearchRequest |
duplicate(Control[] controls)
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
java.util.List<java.lang.String> |
getAttributeList()
Retrieves the set of requested attributes to include in matching entries.
|
java.lang.String |
getBaseDN()
Retrieves the base DN for this search request.
|
DereferencePolicy |
getDereferencePolicy()
Retrieves the dereference policy that should be used by the server for any
aliases encountered during search processing.
|
Filter |
getFilter()
Retrieves the filter that should be used to identify matching entries.
|
DN |
getParsedBaseDN()
Retrieves the base DN for this search request, parsed as a DN object.
|
SearchScope |
getScope()
Retrieves the scope for this search request.
|
int |
getSizeLimit()
Retrieves the maximum number of entries that should be returned by the
server when processing this search request.
|
int |
getTimeLimitSeconds()
Retrieves the maximum length of time in seconds that the server should
spend processing this search request.
|
boolean |
typesOnly()
Indicates whether the server should return only attribute names in matching
entries, rather than both names and values.
|
followReferrals, getControl, getControlList, getControls, getReferralConnector, getResponseTimeoutMillis, hasControl, hasControl, toCode, toString, toString
@NotNull java.lang.String getBaseDN()
@NotNull DN getParsedBaseDN() throws LDAPException
LDAPException
- If the base DN string cannot be parsed as a valid
DN.@NotNull SearchScope getScope()
@NotNull DereferencePolicy getDereferencePolicy()
int getSizeLimit()
int getTimeLimitSeconds()
boolean typesOnly()
true
if matching entries should include only attribute
names, or false
if matching entries should include both
attribute names and values.@NotNull Filter getFilter()
@NotNull java.util.List<java.lang.String> getAttributeList()
@NotNull SearchRequest duplicate()
duplicate
in interface ReadOnlyLDAPRequest
@NotNull SearchRequest duplicate(@Nullable Control[] controls)
duplicate
in interface ReadOnlyLDAPRequest
controls
- The set of controls to include in the duplicate request.