@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class CollectSupportDataArchiveFragmentIntermediateResponse extends IntermediateResponse
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.
CollectSupportDataArchiveDataIntermediateResponse ::= SEQUENCE { archiveFileName [0] OCTET STRING, totalArchiveSizeBytes [1] INTEGER, moreDataToReturn [2] BOOLEAN, fragmentData [3] OCTET STRING, ... }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
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.
|
TYPE_INTERMEDIATE_RESPONSE_OID, TYPE_INTERMEDIATE_RESPONSE_VALUE
Constructor and Description |
---|
CollectSupportDataArchiveFragmentIntermediateResponse(IntermediateResponse intermediateResponse)
Creates a new collect support data archive fragment intermediate response
that is decoded from the provided generic intermediate response.
|
CollectSupportDataArchiveFragmentIntermediateResponse(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArchiveFileName()
Retrieves the name (without any path information) that the server used for
the support data archive file.
|
byte[] |
getFragmentData()
Retrieves the data included in this fragment.
|
java.lang.String |
getIntermediateResponseName()
Retrieves the user-friendly name for the intermediate response, if
available.
|
long |
getTotalArchiveSizeBytes()
Retrieves the total number of bytes contained in the complete support data
archive.
|
boolean |
moreDataToReturn()
Indicates whether there are one or more fragments still to be returned
in the complete support data archive.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this intermediate response to the
provided buffer.
|
java.lang.String |
valueToString()
Retrieves a human-readable string representation for the contents of the
value for this intermediate response, if appropriate.
|
getControl, getControls, getMessageID, getOID, getValue, toString
@NotNull public static final java.lang.String COLLECT_SUPPORT_DATA_ARCHIVE_FRAGMENT_INTERMEDIATE_RESPONSE_OID
public CollectSupportDataArchiveFragmentIntermediateResponse(@NotNull java.lang.String archiveFileName, long totalArchiveSizeBytes, boolean moreDataToReturn, @NotNull byte[] fragmentData, @Nullable Control... controls)
archiveFileName
- The name (without any path information) that
the server used for the support data archive
file. It must not be null
.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 be
null
.controls
- The set of controls to include in this
intermediate response. It may be
null
or empty if no controls should
be included.public CollectSupportDataArchiveFragmentIntermediateResponse(@NotNull IntermediateResponse intermediateResponse) throws LDAPException
intermediateResponse
- The generic intermediate response to be
decoded as a collect support data archive
fragment intermediate response. It must not
be null
.LDAPException
- If the provided intermediate response object cannot
be decoded as a collect support data archive
fragment intermediate response.@NotNull public java.lang.String getArchiveFileName()
public long getTotalArchiveSizeBytes()
public boolean moreDataToReturn()
true
if there are still more fragments to be returned, or
false
if not.@NotNull public byte[] getFragmentData()
@NotNull public java.lang.String getIntermediateResponseName()
null
will be returned.getIntermediateResponseName
in class IntermediateResponse
null
if neither a user-friendly name
nor a response OID are available.@NotNull public java.lang.String valueToString()
valueToString
in class IntermediateResponse
null
if there is
no value or no string representation is available.public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in interface LDAPResponse
toString
in class IntermediateResponse
buffer
- The buffer to which the string representation should be
appended.