Class CollectSupportDataArchiveFragmentIntermediateResponse
java.lang.Object
com.unboundid.ldap.sdk.IntermediateResponse
com.unboundid.ldap.sdk.unboundidds.extensions.CollectSupportDataArchiveFragmentIntermediateResponse
- All Implemented Interfaces:
LDAPResponse,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class CollectSupportDataArchiveFragmentIntermediateResponse
extends IntermediateResponse
This class provides an implementation of an intermediate response that can
provide the client with a portion of the support data archive generated in
response to a
The collect support data archive fragment intermediate response has an OID of 1.3.6.1.4.1.30221.2.6.66 and a value with the following encoding:
CollectSupportDataExtendedRequest.
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.
The collect support data archive fragment intermediate response has an OID of 1.3.6.1.4.1.30221.2.6.66 and a value with the following encoding:
CollectSupportDataArchiveDataIntermediateResponse ::= SEQUENCE {
archiveFileName [0] OCTET STRING,
totalArchiveSizeBytes [1] INTEGER,
moreDataToReturn [2] BOOLEAN,
fragmentData [3] OCTET STRING,
... }
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe OID (1.3.6.1.4.1.30221.2.6.66) for the collect support data archive fragment intermediate response.Fields inherited from class com.unboundid.ldap.sdk.IntermediateResponse
TYPE_INTERMEDIATE_RESPONSE_OID, TYPE_INTERMEDIATE_RESPONSE_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionCollectSupportDataArchiveFragmentIntermediateResponse(IntermediateResponse intermediateResponse) Creates a new collect support data archive fragment intermediate response that is decoded from the provided generic intermediate response.CollectSupportDataArchiveFragmentIntermediateResponse(String archiveFileName, long totalArchiveSizeBytes, boolean moreDataToReturn, byte[] fragmentData, Control... controls) Creates a new collect support data archive fragment intermediate response object with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name (without any path information) that the server used for the support data archive file.byte[]Retrieves the data included in this fragment.Retrieves the user-friendly name for the intermediate response, if available.longRetrieves the total number of bytes contained in the complete support data archive.booleanIndicates whether there are one or more fragments still to be returned in the complete support data archive.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
-
COLLECT_SUPPORT_DATA_ARCHIVE_FRAGMENT_INTERMEDIATE_RESPONSE_OID
The OID (1.3.6.1.4.1.30221.2.6.66) for the collect support data archive fragment intermediate response.- See Also:
-
-
Constructor Details
-
CollectSupportDataArchiveFragmentIntermediateResponse
public CollectSupportDataArchiveFragmentIntermediateResponse(@NotNull String archiveFileName, long totalArchiveSizeBytes, boolean moreDataToReturn, @NotNull byte[] fragmentData, @Nullable Control... controls) Creates a new collect support data archive fragment intermediate response object with the provided information.- Parameters:
archiveFileName- The name (without any path information) that the server used for the support data archive file. It must not benull.totalArchiveSizeBytes- The size, in bytes, of the complete support data archive.moreDataToReturn- Indicates whether there are more fragments to be returned to as part of the complete support data archive.fragmentData- The data contained in this fragment of the support data archive. It must not benull.controls- The set of controls to include in this intermediate response. It may benullor empty if no controls should be included.
-
CollectSupportDataArchiveFragmentIntermediateResponse
public CollectSupportDataArchiveFragmentIntermediateResponse(@NotNull IntermediateResponse intermediateResponse) throws LDAPException Creates a new collect support data archive fragment intermediate response that is decoded from the provided generic intermediate response.- Parameters:
intermediateResponse- The generic intermediate response to be decoded as a collect support data archive fragment intermediate response. It must not benull.- Throws:
LDAPException- If the provided intermediate response object cannot be decoded as a collect support data archive fragment intermediate response.
-
-
Method Details
-
getArchiveFileName
Retrieves the name (without any path information) that the server used for the support data archive file.- Returns:
- The name (without any path information) that the server used for the support data archive file.
-
getTotalArchiveSizeBytes
Retrieves the total number of bytes contained in the complete support data archive.- Returns:
- The total number of bytes contained in the complete support data archive.
-
moreDataToReturn
Indicates whether there are one or more fragments still to be returned in the complete support data archive.- Returns:
trueif there are still more fragments to be returned, orfalseif not.
-
getFragmentData
Retrieves the data included in this fragment.- Returns:
- The data included in this fragment.
-
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.
-