Class JDAPExtendedResponse

java.lang.Object
netscape.ldap.client.opers.JDAPResult
netscape.ldap.client.opers.JDAPExtendedResponse
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPExtendedResponse extends JDAPResult implements JDAPProtocolOp
This class implements the extended response. This object is sent from the ldap server to the interface and is a v3 response. See RFC 1777.
 ExtendedResponse :: [APPLICATION 23] SEQUENCE {
   COMPONENTS OF LDAPResult,
   responseName [10] LDAPOID OPTIONAL,
   response     [11] OCTET STRING OPTIONAL
 }
 
Version:
1.0
  • Field Details

    • m_oid

      protected String m_oid
      Internal variables
    • m_value

      protected byte[] m_value
  • Constructor Details

    • JDAPExtendedResponse

      public JDAPExtendedResponse(BERElement element) throws IOException
      Constructs extended response.
      Parameters:
      element - ber element of add response
      Throws:
      IOException
  • Method Details

    • getType

      public int getType()
      Retrieves the protocol operation type.
      Specified by:
      getType in interface JDAPProtocolOp
      Returns:
      protocol type
    • getValue

      public byte[] getValue()
      Retrieves the results of the extended operation.
      Returns:
      extended operation results as byte array
    • getID

      public String getID()
      Retrieves the oid of the extended operation.
      Returns:
      extended operation oid.
    • toString

      public String toString()
      Retrieve the string representation.
      Specified by:
      toString in interface JDAPProtocolOp
      Overrides:
      toString in class JDAPResult
      Returns:
      string representation