netscape.ldap.client.opers
Class JDAPExtendedResponse

java.lang.Object
  extended by netscape.ldap.client.opers.JDAPResult
      extended by 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 Summary
protected  java.lang.String m_oid
          Internal variables
protected  byte[] m_value
           
 
Fields inherited from class netscape.ldap.client.opers.JDAPResult
ADMIN_LIMIT_EXCEEDED, AFFECTS_MULTIPLE_DSAS, ALIAS_DEREFERENCING_PROBLEM, ALIAS_PROBLEM, ATTRIBUTE_OR_VALUE_EXISTS, AUTH_METHOD_NOT_SUPPORTED, BUSY, CLIENT_LOOP, COMPARE_FALSE, COMPARE_TRUE, CONFIDENTIALITY_REQUIRED, CONNECT_ERROR, CONSTRAINT_VIOLATION, CONTROL_NOT_FOUND, ENTRY_ALREADY_EXISTS, INAPPROPRIATE_AUTHENTICATION, INAPPROPRIATE_MATCHING, INSUFFICIENT_ACCESS_RIGHTS, INVALID_ATTRIBUTE_SYNTAX, INVALID_CREDENTIALS, INVALID_DN_SYNTAX, IS_LEAF, LDAP_NOT_SUPPORTED, LDAP_PARTIAL_RESULTS, LOOP_DETECT, m_element, m_error_message, m_matched_dn, m_referrals, m_result_code, MORE_RESULTS_TO_RETURN, NAMING_VIOLATION, NO_RESULTS_RETURNED, NO_SUCH_ATTRIBUTE, NO_SUCH_OBJECT, NOT_ALLOWED_ON_NONLEAF, NOT_ALLOWED_ON_RDN, OBJECT_CLASS_MODS_PROHIBITED, OBJECT_CLASS_VIOLATION, OPERATION_ERROR, OTHER, PARAM_ERROR, PROTOCOL_ERROR, REFERRAL, REFERRAL_LIMIT_EXCEEDED, SASL_BIND_IN_PROGRESS, SERVER_DOWN, SIZE_LIMIT_EXCEEDED, STRONG_AUTH_REQUIRED, SUCCESS, TIME_LIMIT_EXCEEDED, UNAVAILABLE, UNAVAILABLE_CRITICAL_EXTENSION, UNDEFINED_ATTRIBUTE_TYPE, UNWILLING_TO_PERFORM
 
Fields inherited from interface netscape.ldap.client.opers.JDAPProtocolOp
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST
 
Constructor Summary
JDAPExtendedResponse(BERElement element)
          Constructs extended response.
 
Method Summary
 java.lang.String getID()
          Retrieves the oid of the extended operation.
 int getType()
          Retrieves the protocol operation type.
 byte[] getValue()
          Retrieves the results of the extended operation.
 java.lang.String toString()
          Retrieve the string representation.
 
Methods inherited from class netscape.ldap.client.opers.JDAPResult
getBERElement, getErrorMessage, getMatchedDN, getParamString, getReferrals, getResultCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface netscape.ldap.client.opers.JDAPProtocolOp
getBERElement
 

Field Detail

m_oid

protected java.lang.String m_oid
Internal variables


m_value

protected byte[] m_value
Constructor Detail

JDAPExtendedResponse

public JDAPExtendedResponse(BERElement element)
                     throws java.io.IOException
Constructs extended response.

Parameters:
element - ber element of add response
Throws:
java.io.IOException
Method Detail

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 java.lang.String getID()
Retrieves the oid of the extended operation.

Returns:
extended operation oid.

toString

public java.lang.String toString()
Retrieve the string representation.

Specified by:
toString in interface JDAPProtocolOp
Overrides:
toString in class JDAPResult
Returns:
string representation