Class StreamProxyValuesIntermediateResponse
java.lang.Object
com.unboundid.ldap.sdk.IntermediateResponse
com.unboundid.ldap.sdk.unboundidds.extensions.StreamProxyValuesIntermediateResponse
- All Implemented Interfaces:
LDAPResponse,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class StreamProxyValuesIntermediateResponse
extends IntermediateResponse
This class provides an implementation of the stream proxy values intermediate
response, which may be used to provide a partial or complete list of the
values for a specified attribute, or DNs of entries contained in a specified
portion of the server DIT.
This intermediate response has an OID of "1.3.6.1.4.1.30221.2.6.9" and the value is encoded as follows:
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.
This intermediate response has an OID of "1.3.6.1.4.1.30221.2.6.9" and the value is encoded as follows:
StreamProxyValuesIntermediateResponse ::= SEQUENCE {
attributeName [0] LDAPString OPTIONAL,
result [1] ENUMERATED {
allValuesReturned (0),
moreValuesToReturn (1),
attributeNotIndexed (2),
processingError (3),
... },
diagnosticMessage [2] OCTET STRING OPTIONAL,
values [4] SET OF BackendSetValue OPTIONAL,
... }
BackendSetValue ::= SEQUENCE {
backendSetID OCTET STRING,
value OCTET STRING }
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe integer value for the "all values returned" result.static final intThe integer value for the "attribute not indexed" result.static final intThe integer value for the "more values to return" result.static final intThe integer value for the "processing error" result.static final StringThe OID (1.3.6.1.4.1.30221.2.6.9) for the get stream proxy values intermediate response.Fields inherited from class com.unboundid.ldap.sdk.IntermediateResponse
TYPE_INTERMEDIATE_RESPONSE_OID, TYPE_INTERMEDIATE_RESPONSE_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionStreamProxyValuesIntermediateResponse(IntermediateResponse intermediateResponse) Creates a new stream proxy values intermediate response with information from the provided generic intermediate response.StreamProxyValuesIntermediateResponse(String attributeName, int result, String diagnosticMessage, Collection<StreamProxyValuesBackendSetValue> values, Control... controls) Creates a new stream proxy values intermediate response with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name of the attribute with which this stream proxy values intermediate response is associated.Retrieves the diagnostic message for this stream proxy values intermediate response.Retrieves the user-friendly name for the intermediate response, if available.intRetrieves the integer value of the result for this stream proxy values intermediate response.Retrieves the list of values for this stream proxy values intermediate response.voidtoString(StringBuilder buffer) Appends a string representation of this intermediate response to the provided buffer.Retrieves a human-readable string representation for the contents of the value for this intermediate response, if appropriate.Methods inherited from class com.unboundid.ldap.sdk.IntermediateResponse
getControl, getControls, getMessageID, getOID, getValue, toString
-
Field Details
-
STREAM_PROXY_VALUES_INTERMEDIATE_RESPONSE_OID
The OID (1.3.6.1.4.1.30221.2.6.9) for the get stream proxy values intermediate response.- See Also:
-
RESULT_ALL_VALUES_RETURNED
The integer value for the "all values returned" result.- See Also:
-
RESULT_MORE_VALUES_TO_RETURN
The integer value for the "more values to return" result.- See Also:
-
RESULT_ATTRIBUTE_NOT_INDEXED
The integer value for the "attribute not indexed" result.- See Also:
-
RESULT_PROCESSING_ERROR
The integer value for the "processing error" result.- See Also:
-
-
Constructor Details
-
StreamProxyValuesIntermediateResponse
public StreamProxyValuesIntermediateResponse(@Nullable String attributeName, int result, @Nullable String diagnosticMessage, @Nullable Collection<StreamProxyValuesBackendSetValue> values, @Nullable Control... controls) Creates a new stream proxy values intermediate response with the provided information.- Parameters:
attributeName- The name of the attribute with which the included values are associated. This may benullif the provided values are DNs.result- The integer value that provides information about the state of the stream proxy values response.diagnosticMessage- The diagnostic message that provides more information about the result, ornullif none is required.values- The set of values included in this stream proxy values intermediate response. It may benullor empty if this is an error result, or there are no values of the specified type in the server.controls- The set of controls to include in this intermediate response. It may benullor empty if there should not be any controls.
-
StreamProxyValuesIntermediateResponse
public StreamProxyValuesIntermediateResponse(@NotNull IntermediateResponse intermediateResponse) throws LDAPException Creates a new stream proxy values intermediate response with information from the provided generic intermediate response.- Parameters:
intermediateResponse- The generic intermediate response that should be used to create this new intermediate response.- Throws:
LDAPException- If the provided intermediate response cannot be parsed as a stream proxy values intermediate response.
-
-
Method Details
-
getAttributeName
Retrieves the name of the attribute with which this stream proxy values intermediate response is associated.- Returns:
- The name of the attribute with which this stream proxy values
intermediate response is associated, or
nullif the values are entry DNs rather than attribute values.
-
getResult
Retrieves the integer value of the result for this stream proxy values intermediate response.- Returns:
- The integer value of the result for this stream proxy values intermediate response.
-
getDiagnosticMessage
Retrieves the diagnostic message for this stream proxy values intermediate response.- Returns:
- The diagnostic message for this stream proxy values intermediate
response, or
nullif there is none.
-
getValues
Retrieves the list of values for this stream proxy values intermediate response.- Returns:
- The list of values for this stream proxy values intermediate response, or an empty list if there are no values.
-
getIntermediateResponseName
Retrieves the user-friendly name for the intermediate response, if available. If no user-friendly name has been defined, but a response OID is available, then that will be returned. If neither a user-friendly name nor a response OID are available, thennullwill be returned.- Overrides:
getIntermediateResponseNamein classIntermediateResponse- Returns:
- The user-friendly name for this intermediate response, the
response OID if a user-friendly name is not available but a
response OID is, or
nullif neither a user-friendly name nor a response OID are available.
-
valueToString
Retrieves a human-readable string representation for the contents of the value for this intermediate response, if appropriate. If one is provided, then it should be a relatively compact single-line representation of the most important elements of the value.- Overrides:
valueToStringin classIntermediateResponse- Returns:
- A human-readable string representation for the contents of the
value for this intermediate response, or
nullif there is no value or no string representation is available.
-
toString
Appends a string representation of this intermediate response to the provided buffer.- Specified by:
toStringin interfaceLDAPResponse- Overrides:
toStringin classIntermediateResponse- Parameters:
buffer- The buffer to which the string representation should be appended.
-