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
public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
Lockable UnbindRequest implementation.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static longserialVersionUID-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabandon()RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned.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 requestStringtoString()Get a String representation of a UnBindRequest-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractRequest
equals, hashCode, hasResponse
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
abandon
public void abandon()
RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned.
-
setMessageId
public UnbindRequest setMessageId(int messageId)
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
public UnbindRequest addControl(Control control)
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
public UnbindRequest addAllControls(Control[] controls)
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
public UnbindRequest removeControl(Control control)
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
-
-