All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPResponse

java.lang.Object
  extended by org.ietf.ldap.LDAPMessage
      extended by org.ietf.ldap.LDAPResponse
Direct Known Subclasses:
LDAPExtendedResponse

public class LDAPResponse
extends LDAPMessage

Represents the a message received from an LDAPServer in response to an asynchronous request.

See Also:
com.novell.ldap.LDAPResponse

Field Summary
private  LDAPResponse response
           
 
Fields inherited from class org.ietf.ldap.LDAPMessage
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
LDAPResponse(LDAPResponse response)
          Creates an LDAPResponse from a com.novell.ldap.LDAPResponse object
 
Method Summary
 LDAPControl[] getControls()
          Returns any controls in the message.
 java.lang.String getErrorMessage()
          Returns any error message in the response.
 java.lang.String getMatchedDN()
          Returns the partially matched DN field from the server response, if the response contains one.
 int getMessageID()
          Returns the message ID.
 java.lang.String[] getReferrals()
          Returns all referrals in a server response, if the response contains any.
 int getResultCode()
          Returns the result code in a server response.
 int getType()
          Returns the LDAP operation type of the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

response

private LDAPResponse response
Constructor Detail

LDAPResponse

public LDAPResponse(LDAPResponse response)
Creates an LDAPResponse from a com.novell.ldap.LDAPResponse object

Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns any error message in the response.

See Also:
com.novell.ldap.LDAPResponse.getErrorMessage()

getMatchedDN

public java.lang.String getMatchedDN()
Returns the partially matched DN field from the server response, if the response contains one.

See Also:
com.novell.ldap.LDAPResponse.getMatchedDN()

getReferrals

public java.lang.String[] getReferrals()
Returns all referrals in a server response, if the response contains any.

See Also:
com.novell.ldap.LDAPResponse.getReferrals()

getResultCode

public int getResultCode()
Returns the result code in a server response.

See Also:
com.novell.ldap.LDAPResponse.getResultCode()

getControls

public LDAPControl[] getControls()
Returns any controls in the message.

Overrides:
getControls in class LDAPMessage
See Also:
com.novell.ldap.LDAPResponse.getControls()

getMessageID

public int getMessageID()
Returns the message ID.

Overrides:
getMessageID in class LDAPMessage
See Also:
com.novell.ldap.LDAPResponse.getMessageID()

getType

public int getType()
Returns the LDAP operation type of the message.

Overrides:
getType in class LDAPMessage
See Also:
com.novell.ldap.LDAPResponse.getType()

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000