|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.eventhandler.ldap.Sequence
com.ibm.di.eventhandler.ldap.LDAPMessage
public class LDAPMessage
Field Summary | |
---|---|
static int |
ABANDON_REQUEST
|
static int |
ADD_REQUEST
|
static int |
ADD_RESPONSE
|
static int |
APPLICATION
LDAP Protocol OP Codes |
static int |
BIND_REQUEST
|
static int |
BIND_RESPONSE
|
static int |
COMPARE_REQUEST
|
static int |
COMPARE_RESPONSE
|
static int |
DELETE_REQUEST
|
static int |
DELETE_RESPONSE
|
static int |
EXTENDED_REQUEST
|
static int |
EXTENDED_RESPONSE
|
static int |
MODIFY_REQUEST
|
static int |
MODIFY_RESPONSE
|
static int |
MODIFYDN_REQUEST
|
static int |
MODIFYDN_RESPONSE
|
static int |
SEARCH_REQUEST
|
static int |
SEARCH_RESULT_DONE
|
static int |
SEARCH_RESULT_ENTRY
|
static int |
SEARCH_RESULT_REFERENCE
|
static int |
UNBIND_REQUEST
|
Fields inherited from class com.ibm.di.eventhandler.ldap.Sequence |
---|
buffer, tag |
Constructor Summary | |
---|---|
LDAPMessage()
|
|
LDAPMessage(int messageID)
|
Method Summary | |
---|---|
void |
dump(Log log)
Dumps the contents of the LDAP message to the log |
ByteBuffer |
getBuffer()
Returns the BER encoded LDAP message as a ByteBuffer |
Entry |
getEntry()
Returns the normalized Entry object that represents the LDAP message |
int |
getMessageID()
Returns the message id for this LDAP message |
Request |
getRequest()
Returns the request object from the LDAP message ( call after successful parse() ) |
boolean |
parse(InputStream is)
This method is called to parse an input message. |
boolean |
parse(InputStream is,
String charset,
Vector binattrs)
This method is called to parse an input message. |
void |
setControls(Object[] arr)
Sets the controls array (array of LDAPControl objects) that is sent back to the client. |
void |
setMessageID(int messageID)
Sets the messageID to use in a response packet. |
void |
setResponse(Sequence response)
Sets the response (LDAPResult) message that is sent back to the client. |
Methods inherited from class com.ibm.di.eventhandler.ldap.Sequence |
---|
addBuffer, addBuffer, flip, getBuffer, getBuffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int APPLICATION
public static final int BIND_REQUEST
public static final int BIND_RESPONSE
public static final int UNBIND_REQUEST
public static final int SEARCH_REQUEST
public static final int SEARCH_RESULT_ENTRY
public static final int SEARCH_RESULT_DONE
public static final int MODIFY_REQUEST
public static final int MODIFY_RESPONSE
public static final int ADD_REQUEST
public static final int ADD_RESPONSE
public static final int DELETE_REQUEST
public static final int DELETE_RESPONSE
public static final int MODIFYDN_REQUEST
public static final int MODIFYDN_RESPONSE
public static final int COMPARE_REQUEST
public static final int COMPARE_RESPONSE
public static final int ABANDON_REQUEST
public static final int SEARCH_RESULT_REFERENCE
public static final int EXTENDED_REQUEST
public static final int EXTENDED_RESPONSE
Constructor Detail |
---|
public LDAPMessage()
public LDAPMessage(int messageID)
Method Detail |
---|
public ByteBuffer getBuffer()
getBuffer
in class Sequence
public boolean parse(InputStream is) throws Exception
Exception
public boolean parse(InputStream is, String charset, Vector binattrs) throws Exception
Exception
public int getMessageID()
public void setResponse(Sequence response)
public void setControls(Object[] arr) throws Exception
Exception
public void setMessageID(int messageID)
public Request getRequest()
public Entry getEntry()
public void dump(Log log)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |