@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class StreamDirectoryValuesExtendedRequest extends ExtendedRequest
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
StreamDirectoryValuesRequest ::= SEQUENCE { baseDN [0] LDAPDN, includeDNs [1] DNSelection OPTIONAL, attributes [2] SEQUENCE OF LDAPString OPTIONAL, valuesPerResponse [3] INTEGER (1 .. 32767) OPTIONAL, ... } DNSelection ::= SEQUENCE { scope [0] ENUMERATED { baseObject (0), singleLevel (1), wholeSubtree (2), subordinateSubtree (3), ... } relative [1] BOOLEAN DEFAULT TRUE, ..... }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STREAM_DIRECTORY_VALUES_REQUEST_OID
The OID (1.3.6.1.4.1.30221.2.6.6) for the get stream directory values
extended request.
|
TYPE_EXTENDED_REQUEST_OID, TYPE_EXTENDED_REQUEST_VALUE
Constructor and Description |
---|
StreamDirectoryValuesExtendedRequest(ExtendedRequest extendedRequest)
Creates a new stream directory values extended request from the provided
generic extended request.
|
StreamDirectoryValuesExtendedRequest(java.lang.String baseDN,
SearchScope dnScope,
boolean returnRelativeDNs,
java.util.List<java.lang.String> attributes,
int valuesPerResponse,
Control... controls)
Creates a new stream directory values extended request with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
StreamDirectoryValuesExtendedRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
StreamDirectoryValuesExtendedRequest |
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> |
getAttributes()
Retrieves the list of names of attributes whose values should be returned
to the client.
|
java.lang.String |
getBaseDN()
Retrieves the base DN for this request.
|
SearchScope |
getDNScope()
Retrieves the scope for entry DNs to be included in intermediate responses.
|
java.lang.String |
getExtendedRequestName()
Retrieves the user-friendly name for the extended request, if available.
|
int |
getValuesPerResponse()
Retrieves the maximum number of values that should be included in each
stream directory values intermediate response.
|
boolean |
returnRelativeDNs()
Indicates whether entry DN values returned should be relative to the
provided base DN.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this request to the provided buffer.
|
encodeProtocolOp, getLastMessageID, getOID, getOperationType, getProtocolOpType, getValue, hasValue, process, responseReceived, toCode, writeTo
followReferrals, getControl, getControlList, getControls, getIntermediateResponseListener, getReferralConnector, getReferralConnectorInternal, getReferralDepth, getResponseTimeoutMillis, hasControl, hasControl, setFollowReferrals, setIntermediateResponseListener, setReferralConnector, setReferralDepth, setResponseTimeoutMillis, toString
@NotNull public static final java.lang.String STREAM_DIRECTORY_VALUES_REQUEST_OID
public StreamDirectoryValuesExtendedRequest(@NotNull java.lang.String baseDN, @Nullable SearchScope dnScope, boolean returnRelativeDNs, @Nullable java.util.List<java.lang.String> attributes, int valuesPerResponse, @Nullable Control... controls)
baseDN
- The base DN which indicates the portion of the
DIT to target. It must not be null
.dnScope
- The scope for which to return information about
entry DNs in the specified portion of the DIT.
This may be null
if information about
entry DNs should not be returned.returnRelativeDNs
- Indicates whether DNs returned should be
relative to the base DN rather than full DNs.attributes
- The names of the attributes for which to
retrieve the values. This may be null
or empty if only entry DNs should be retrieved.valuesPerResponse
- The maximum number of values to include per
response. A value less than or equal to zero
indicates that the server should choose an
appropriate value.controls
- The set of controls to include in the request.
It may be null
or empty if no controls
should be included in the request.public StreamDirectoryValuesExtendedRequest(@NotNull ExtendedRequest extendedRequest) throws LDAPException
extendedRequest
- The generic extended request to use to create this
stream directory values extended request.LDAPException
- If a problem occurs while decoding the request.@NotNull public java.lang.String getBaseDN()
@Nullable public SearchScope getDNScope()
null
if information about entry DNs should not be
returned.public boolean returnRelativeDNs()
true
if entry DN values returned should be relative to the
provided base DN, or false
if they should be complete DNs.@NotNull public java.util.List<java.lang.String> getAttributes()
public int getValuesPerResponse()
@NotNull public StreamDirectoryValuesExtendedRequest duplicate()
duplicate
in interface ReadOnlyLDAPRequest
duplicate
in class ExtendedRequest
@NotNull public StreamDirectoryValuesExtendedRequest duplicate(@Nullable Control[] controls)
duplicate
in interface ReadOnlyLDAPRequest
duplicate
in class ExtendedRequest
controls
- The set of controls to include in the duplicate request.@NotNull public java.lang.String getExtendedRequestName()
getExtendedRequestName
in class ExtendedRequest
public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in interface ProtocolOp
toString
in interface ReadOnlyLDAPRequest
toString
in class ExtendedRequest
buffer
- The buffer to which to append a string representation of
this request.