Class TransactionSpecificationRequestControl

    • Constructor Detail

      • TransactionSpecificationRequestControl

        public TransactionSpecificationRequestControl​(ASN1OctetString transactionID)
        Creates a new transaction specification request control with the provided transaction ID.
        Parameters:
        transactionID - The transaction ID for the associated transaction, as obtained from the start transaction extended operation. It must not be null.
      • TransactionSpecificationRequestControl

        public TransactionSpecificationRequestControl​(Control control)
                                               throws LDAPException
        Creates a new transaction specification request control which is decoded from the provided generic control.
        Parameters:
        control - The generic control to be decoded as a transaction specification request control.
        Throws:
        LDAPException - If the provided control cannot be decoded as a transaction specification request control.
    • Method Detail

      • getTransactionID

        public ASN1OctetString getTransactionID()
        Retrieves the transaction ID for the associated transaction.
        Returns:
        The transaction ID for the associated transaction.
      • getControlName

        public java.lang.String getControlName()
        Retrieves the user-friendly name for this control, if available. If no user-friendly name has been defined, then the OID will be returned.
        Overrides:
        getControlName in class Control
        Returns:
        The user-friendly name for this control, or the OID if no user-friendly name is available.
      • toString

        public void toString​(java.lang.StringBuilder buffer)
        Appends a string representation of this LDAP control to the provided buffer.
        Overrides:
        toString in class Control
        Parameters:
        buffer - The buffer to which to append the string representation of this buffer.