|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
Root interface for all LDAP message type interfaces.
Method Summary | |
---|---|
Message |
add(org.apache.directory.shared.ldap.message.control.Control... controls)
Adds controls to this Message. |
org.apache.directory.shared.ldap.message.control.Control |
getControl(java.lang.String oid)
Gets the control with a specific OID. |
java.util.Map<java.lang.String,org.apache.directory.shared.ldap.message.control.Control> |
getControls()
Gets the controls associated with this message mapped by OID. |
int |
getMessageId()
Get the request messageId |
boolean |
hasControl(java.lang.String oid)
Checks whether or not this message has the specified control. |
Message |
remove(org.apache.directory.shared.ldap.message.control.Control... control)
Deletes controls, removing them from this Message. |
void |
setMessageId(int messageId)
Set the request message ID |
Method Detail |
---|
int getMessageId()
void setMessageId(int messageId)
messageId
- The request message IDjava.util.Map<java.lang.String,org.apache.directory.shared.ldap.message.control.Control> getControls()
Control
org.apache.directory.shared.ldap.message.control.Control getControl(java.lang.String oid)
Control
boolean hasControl(java.lang.String oid)
oid
- the OID of the control
Message add(org.apache.directory.shared.ldap.message.control.Control... controls)
controls
- the controls to add.Message remove(org.apache.directory.shared.ldap.message.control.Control... control) throws LdapException
controls
- the controls to remove.
LdapException
- if controls cannot be added to this Message
or the control is not known etc.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |