LDAP Classes
Implements Java LDAP

org.ietf.ldap
Class LDAPMessage

java.lang.Object
  |
  +--org.ietf.ldap.LDAPMessage
Direct Known Subclasses:
LDAPResponse, LDAPSearchResult, LDAPSearchResultReference

public class LDAPMessage
extends java.lang.Object

Represents the base class for LDAP request and response messages.

See Also:
com.novell.ldap.LDAPMessage

Field Summary
static int ABANDON_REQUEST
          An abandon request operation.
static int ADD_REQUEST
          An add request operation.
static int ADD_RESPONSE
          An add response operation.
static int BIND_REQUEST
          A bind request operation.
static int BIND_RESPONSE
          A bind response operation.
static int COMPARE_REQUEST
          A compare result operation.
static int COMPARE_RESPONSE
          A compare response operation.
static int DEL_REQUEST
          A delete request operation.
static int DEL_RESPONSE
          A delete response operation.
static int EXTENDED_REQUEST
          An extended request operation.
static int EXTENDED_RESPONSE
          An extended response operation.
static int MODIFY_RDN_REQUEST
          A modify RDN request operation.
static int MODIFY_RDN_RESPONSE
          A modify RDN response operation.
static int MODIFY_REQUEST
          A modify request operation.
static int MODIFY_RESPONSE
          A modify response operation.
static int SEARCH_REQUEST
          A search request operation.
static int SEARCH_RESPONSE
          A search response containing data.
static int SEARCH_RESULT
          A search result message - contains search status.
static int SEARCH_RESULT_REFERENCE
          A search result reference operation.
static int UNBIND_REQUEST
          An unbind request operation.
 
Constructor Summary
LDAPMessage(com.novell.ldap.LDAPMessage message)
          Creates an LDAPMessage from a com.novell.ldap.LDAPMessage object
 
Method Summary
 LDAPControl[] getControls()
          Returns any controls in the message.
 int getMessageID()
          Returns the message ID.
 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

BIND_REQUEST

public static final int BIND_REQUEST
A bind request operation.

See Also:
com.novell.ldap.LDAPMessage.BIND_REQUEST, Constant Field Values

BIND_RESPONSE

public static final int BIND_RESPONSE
A bind response operation.

See Also:
com.novell.ldap.LDAPMessage.BIND_RESPONSE, Constant Field Values

UNBIND_REQUEST

public static final int UNBIND_REQUEST
An unbind request operation.

See Also:
com.novell.ldap.LDAPMessage.UNBIND_REQUEST, Constant Field Values

SEARCH_REQUEST

public static final int SEARCH_REQUEST
A search request operation.

See Also:
com.novell.ldap.LDAPMessage.SEARCH_REQUEST, Constant Field Values

SEARCH_RESPONSE

public static final int SEARCH_RESPONSE
A search response containing data.

See Also:
com.novell.ldap.LDAPMessage.SEARCH_RESPONSE, Constant Field Values

SEARCH_RESULT

public static final int SEARCH_RESULT
A search result message - contains search status.

See Also:
com.novell.ldap.LDAPMessage.SEARCH_REULT, Constant Field Values

MODIFY_REQUEST

public static final int MODIFY_REQUEST
A modify request operation.

See Also:
com.novell.ldap.LDAPMessage.MODIFY_REQUEST, Constant Field Values

MODIFY_RESPONSE

public static final int MODIFY_RESPONSE
A modify response operation.

See Also:
com.novell.ldap.LDAPMessage.MODIFY_RESPONSE, Constant Field Values

ADD_REQUEST

public static final int ADD_REQUEST
An add request operation.

See Also:
com.novell.ldap.LDAPMessage.ADD_REQUEST, Constant Field Values

ADD_RESPONSE

public static final int ADD_RESPONSE
An add response operation.

See Also:
com.novell.ldap.LDAPMessage.ADD_RESPONSE, Constant Field Values

DEL_REQUEST

public static final int DEL_REQUEST
A delete request operation.

See Also:
com.novell.ldap.LDAPMessage.DEL_REQUEST, Constant Field Values

DEL_RESPONSE

public static final int DEL_RESPONSE
A delete response operation.

See Also:
com.novell.ldap.LDAPMessage.DEL_RESPONSE, Constant Field Values

MODIFY_RDN_REQUEST

public static final int MODIFY_RDN_REQUEST
A modify RDN request operation.

See Also:
com.novell.ldap.LDAPMessage.MODIFY_RDN_REQUEST, Constant Field Values

MODIFY_RDN_RESPONSE

public static final int MODIFY_RDN_RESPONSE
A modify RDN response operation.

See Also:
com.novell.ldap.LDAPMessage.MODIFY_RDN_RESPONSE, Constant Field Values

COMPARE_REQUEST

public static final int COMPARE_REQUEST
A compare result operation.

See Also:
com.novell.ldap.LDAPMessage.COMPARE_REQUEST, Constant Field Values

COMPARE_RESPONSE

public static final int COMPARE_RESPONSE
A compare response operation.

See Also:
com.novell.ldap.LDAPMessage.COMPARE_RESPONSE, Constant Field Values

ABANDON_REQUEST

public static final int ABANDON_REQUEST
An abandon request operation.

See Also:
com.novell.ldap.LDAPMessage.ABANDON_REQUEST, Constant Field Values

SEARCH_RESULT_REFERENCE

public static final int SEARCH_RESULT_REFERENCE
A search result reference operation.

See Also:
com.novell.ldap.LDAPMessage.SEARCH_RESULT_REFERENCE, Constant Field Values

EXTENDED_REQUEST

public static final int EXTENDED_REQUEST
An extended request operation.

See Also:
com.novell.ldap.LDAPMessage.EXTENDED_REQUEST, Constant Field Values

EXTENDED_RESPONSE

public static final int EXTENDED_RESPONSE
An extended response operation.

See Also:
com.novell.ldap.LDAPMessage.EXTENDED_RESPONSE, Constant Field Values
Constructor Detail

LDAPMessage

public LDAPMessage(com.novell.ldap.LDAPMessage message)
Creates an LDAPMessage from a com.novell.ldap.LDAPMessage object

Method Detail

getControls

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

See Also:
com.novell.ldap.LDAPMessage.getControls()

getMessageID

public int getMessageID()
Returns the message ID.

See Also:
com.novell.ldap.LDAPMessage.getMessageID()

getType

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

See Also:
com.novell.ldap.LDAPMessage.getType()

LDAP Classes
Implements Java LDAP

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