Class UnbindRequestImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractRequest
org.apache.directory.api.ldap.model.message.UnbindRequestImpl
- All Implemented Interfaces:
Message, Request, UnbindRequest
Lockable UnbindRequest implementation.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractMessage
controls -
Constructor Summary
ConstructorsConstructorDescriptionCreates an UnbindRequest which takes no parameter other than those in the outer envelope to disconnect and end a client session on the server without producing any response. -
Method Summary
Modifier and TypeMethodDescriptionvoidabandon()RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned.addAllControls(Control[] controls) Adds an array of controls to this Message.addControl(Control control) Adds a control to this Message.removeControl(Control control) Deletes a control removing it from this Message.setMessageId(int messageId) Sets the Message ID for this requesttoString()Get a String representation of a UnBindRequestMethods inherited from class AbstractRequest
equals, hashCode, hasResponseMethods inherited from class AbstractMessage
get, getControl, getControls, getMessageId, getType, hasControl, put, toStringMethods inherited from interface Message
get, getControl, getControls, getMessageId, getType, hasControl, putMethods inherited from interface Request
hasResponse
-
Constructor Details
-
UnbindRequestImpl
public UnbindRequestImpl()Creates an UnbindRequest which takes no parameter other than those in the outer envelope to disconnect and end a client session on the server without producing any response.
-
-
Method Details
-
abandon
public void abandon()RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned. -
setMessageId
Sets the Message ID for this request- Specified by:
setMessageIdin interfaceMessage- Specified by:
setMessageIdin interfaceUnbindRequest- Overrides:
setMessageIdin classAbstractMessage- Parameters:
messageId- The message Id- Returns:
- A Message reference
-
addControl
Adds a control to this Message.- Specified by:
addControlin interfaceMessage- Specified by:
addControlin interfaceUnbindRequest- Overrides:
addControlin classAbstractMessage- Parameters:
control- the control to add.- Returns:
- A Message reference
-
addAllControls
Adds an array of controls to this Message.- Specified by:
addAllControlsin interfaceMessage- Specified by:
addAllControlsin interfaceUnbindRequest- Overrides:
addAllControlsin classAbstractMessage- Parameters:
controls- the controls to add.- Returns:
- A Message reference
-
removeControl
Deletes a control removing it from this Message.- Specified by:
removeControlin interfaceMessage- Specified by:
removeControlin interfaceUnbindRequest- Overrides:
removeControlin classAbstractMessage- Parameters:
control- the control to remove.- Returns:
- A Message reference
-
toString
-