|
||||||||||
| 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 |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
Message |
addControl(Control control)
Adds a control to this Message. |
Object |
get(Object key)
Gets a message scope parameter. |
Control |
getControl(String oid)
Gets the control associated with the given OID. |
Map<String,Control> |
getControls()
Gets the controls associated with this message mapped by OID. |
int |
getMessageId()
Gets the session unique message sequence id for this message. |
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message. |
boolean |
hasControl(String oid)
Checks whether or not this message has the specified control. |
Object |
put(Object key,
Object value)
Sets a message scope parameter. |
Message |
removeControl(Control control)
Deletes a control removing it from this Message. |
Message |
setMessageId(int messageId)
Sets the Message ID for this request |
| Method Detail |
|---|
MessageTypeEnum getType()
Map<String,Control> getControls()
Control getControl(String oid)
oid - The Cntrol's OID we are looking for
boolean hasControl(String oid)
oid - the OID of the control
Message addControl(Control control)
throws MessageException
control - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
Message addAllControls(Control[] controls)
throws MessageException
controls - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
Message removeControl(Control control)
throws MessageException
control - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.int getMessageId()
Object get(Object key)
key - the key used to access a message parameter.
Object put(Object key,
Object value)
key - the parameter keyvalue - the parameter value
Message setMessageId(int messageId)
messageId - The message Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||