public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
controls
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
abandon()
RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
cannot be abandoned.
|
UnbindRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
UnbindRequest |
addControl(Control control)
Adds a control to this Message.
|
UnbindRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
UnbindRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
String |
toString()
Get a String representation of a UnBindRequest
|
equals, hashCode, hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
public UnbindRequestImpl()
id
- the sequential message identifier.public void abandon()
public UnbindRequest setMessageId(int messageId)
setMessageId
in interface Message
setMessageId
in interface UnbindRequest
setMessageId
in class AbstractMessage
messageId
- The message Idpublic UnbindRequest addControl(Control control)
addControl
in interface Message
addControl
in interface UnbindRequest
addControl
in class AbstractMessage
control
- the control to add.public UnbindRequest addAllControls(Control[] controls)
addAllControls
in interface Message
addAllControls
in interface UnbindRequest
addAllControls
in class AbstractMessage
controls
- the controls to add.public UnbindRequest removeControl(Control control)
removeControl
in interface Message
removeControl
in interface UnbindRequest
removeControl
in class AbstractMessage
control
- the control to remove.Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.