@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TransactionSpecificationRequestControl extends 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, deregisterDecodeableControl, encode, encodeControls, equals, getOID, getValue, hashCode, hasValue, isCritical, readFrom, registerDecodeableControl, toString, writeTo
public static final java.lang.String TRANSACTION_SPECIFICATION_REQUEST_OID
public TransactionSpecificationRequestControl(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(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.public ASN1OctetString getTransactionID()
public java.lang.String getControlName()
getControlName
in class Control