@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TransactionSpecificationRequestControl extends Control
AssertionRequestControl
,
ManageDsaITRequestControl
, PreReadRequestControl
, and
PostReadRequestControl
. The
ProxiedAuthorizationV1RequestControl
and
ProxiedAuthorizationV2RequestControl
controls cannot be included in
requests that are part of a transaction, but you can include them in the
StartTransactionExtendedRequest
to indicate that all operations
within the transaction should be processed with the specified authorization
identity.
DraftBeheraLDAPPasswordPolicy10RequestControl
, hard delete request
control, intermediate client request control, replication repair request
control, soft delete request control, soft deleted entry access request
control, SubtreeDeleteRequestControl
, and undelete request control.
StartTransactionExtendedRequest
class
for an example of processing an LDAP transaction.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TRANSACTION_SPECIFICATION_REQUEST_OID
The OID (1.3.6.1.1.21.2) for the transaction specification request control.
|
Constructor and Description |
---|
TransactionSpecificationRequestControl(ASN1OctetString transactionID)
Creates a new transaction specification request control with the provided
transaction ID.
|
TransactionSpecificationRequestControl(Control control)
Creates a new transaction specification request control which is decoded
from the provided generic control.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControlName()
Retrieves the user-friendly name for this control, if available.
|
ASN1OctetString |
getTransactionID()
Retrieves the transaction ID for the associated transaction.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP control to the provided
buffer.
|
decode, decode, decodeControls, decodeJSONControl, deregisterDecodeableControl, encode, encodeControls, equals, getOID, getValue, hashCode, hasValue, isCritical, readFrom, registerDecodeableControl, registerDecodeableControl, toJSONControl, toString, writeTo
@NotNull public static final java.lang.String TRANSACTION_SPECIFICATION_REQUEST_OID
public TransactionSpecificationRequestControl(@NotNull ASN1OctetString transactionID)
transactionID
- The transaction ID for the associated transaction,
as obtained from the start transaction extended
operation. It must not be null
.public TransactionSpecificationRequestControl(@NotNull Control control) throws LDAPException
control
- The generic control to be decoded as a transaction
specification request control.LDAPException
- If the provided control cannot be decoded as a
transaction specification request control.@NotNull public ASN1OctetString getTransactionID()
@NotNull public java.lang.String getControlName()
getControlName
in class Control