Interface UnbindRequest
-
- All Known Implementing Classes:
UnbindRequestImpl
public interface UnbindRequest extends Request
Unbind protocol request message used to end a client session.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnbindRequestaddAllControls(Control[] controls)Adds an array of controls to this Message.UnbindRequestaddControl(Control control)Adds a control to this Message.UnbindRequestremoveControl(Control control)Deletes a control removing it from this Message.UnbindRequestsetMessageId(int messageId)Sets the Message ID for this request-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
get, getControl, getControls, getMessageId, getType, hasControl, put
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Request
hasResponse
-
-
-
-
Method Detail
-
setMessageId
UnbindRequest setMessageId(int messageId)
Sets the Message ID for this request- Specified by:
setMessageIdin interfaceMessage- Parameters:
messageId- The message Id- Returns:
- A Message reference
-
addControl
UnbindRequest addControl(Control control)
Adds a control to this Message.- Specified by:
addControlin interfaceMessage- Parameters:
control- the control to add.- Returns:
- A Message reference
-
addAllControls
UnbindRequest addAllControls(Control[] controls)
Adds an array of controls to this Message.- Specified by:
addAllControlsin interfaceMessage- Parameters:
controls- the controls to add.- Returns:
- A Message reference
-
removeControl
UnbindRequest removeControl(Control control)
Deletes a control removing it from this Message.- Specified by:
removeControlin interfaceMessage- Parameters:
control- the control to remove.- Returns:
- A Message reference
-
-