@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class StreamProxyValuesExtendedRequest 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.
StreamProxyValuesRequest ::= SEQUENCE { baseDN [0] LDAPDN, includeDNs [1] DNSelection OPTIONAL, attributes [2] SEQUENCE OF LDAPString OPTIONAL, valuesPerResponse [3] INTEGER (1 .. 32767) OPTIONAL, backendSets [4] SEQUENCE OF BackendSetConfig, ... } DNSelection ::= SEQUENCE { scope [0] ENUMERATED { baseObject (0), singleLevel (1), wholeSubtree (2), subordinateSubtree (3), ... } relative [1] BOOLEAN DEFAULT TRUE, ..... } BackendSetConfig ::= SEQUENCE { backendSetID OCTET STRING, backendServers SEQUENCE OF SEQUENCE { host OCTET STRING, port INTEGER (1 .. 65535) } }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STREAM_PROXY_VALUES_REQUEST_OID
The OID (1.3.6.1.4.1.30221.2.6.8) for the get stream proxy values extended
request.
|
TYPE_EXTENDED_REQUEST_OID, TYPE_EXTENDED_REQUEST_VALUE
Constructor and Description |
---|
StreamProxyValuesExtendedRequest(ExtendedRequest extendedRequest)
Creates a new stream proxy values extended request from the provided
generic extended request.
|
StreamProxyValuesExtendedRequest(java.lang.String baseDN,
SearchScope dnScope,
boolean returnRelativeDNs,
java.util.List<java.lang.String> attributes,
int valuesPerResponse,
java.util.List<StreamProxyValuesBackendSet> backendSets,
Control... controls)
Creates a new stream proxy values extended request with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
StreamProxyValuesExtendedRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
StreamProxyValuesExtendedRequest |
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.util.List<StreamProxyValuesBackendSet> |
getBackendSets()
Retrieves the list of backend sets defined in the Directory Proxy Server
instance issuing the request.
|
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 proxy 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_PROXY_VALUES_REQUEST_OID
public StreamProxyValuesExtendedRequest(@NotNull java.lang.String baseDN, @Nullable SearchScope dnScope, boolean returnRelativeDNs, @Nullable java.util.List<java.lang.String> attributes, int valuesPerResponse, @NotNull java.util.List<StreamProxyValuesBackendSet> backendSets, @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.backendSets
- The list of backend sets defined in the
Directory Proxy Server issuing the request. It
must not be null
or empty.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 StreamProxyValuesExtendedRequest(@NotNull ExtendedRequest extendedRequest) throws LDAPException
extendedRequest
- The generic extended request to use to create this
stream proxy 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 java.util.List<StreamProxyValuesBackendSet> getBackendSets()
@NotNull public StreamProxyValuesExtendedRequest duplicate()
duplicate
in interface ReadOnlyLDAPRequest
duplicate
in class ExtendedRequest
@NotNull public StreamProxyValuesExtendedRequest 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.