public interface Message
Modifier and Type | Method and Description |
---|---|
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(String oid)
Gets the control with a specific OID.
|
Map<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(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
|
int getMessageId()
void setMessageId(int messageId)
messageId
- The request message IDMap<String,org.apache.directory.shared.ldap.message.control.Control> getControls()
Control
org.apache.directory.shared.ldap.message.control.Control getControl(String oid)
Control
boolean hasControl(String oid)
oid
- the OID of the controlMessage 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.Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.