Class JDAPAddResponse

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

public class JDAPAddResponse extends JDAPResult implements JDAPProtocolOp
This class implements the add response. This object is sent from the ldap server to the interface. See RFC 1777.
 AddResponse ::= [APPLICATION 9] LDAPResult
 
Version:
1.0
  • Constructor Details

    • JDAPAddResponse

      public JDAPAddResponse(BERElement element) throws IOException
      Constructs add 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
    • toString

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