public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
serialVersionUID |
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, hasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseget, getControl, getControls, getMessageId, getType, hasControl, putstatic final long serialVersionUID
public UnbindRequestImpl()
public void abandon()
public UnbindRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in interface UnbindRequestsetMessageId in class AbstractMessagemessageId - The message Idpublic UnbindRequest addControl(Control control)
addControl in interface MessageaddControl in interface UnbindRequestaddControl in class AbstractMessagecontrol - the control to add.public UnbindRequest addAllControls(Control[] controls)
addAllControls in interface MessageaddAllControls in interface UnbindRequestaddAllControls in class AbstractMessagecontrols - the controls to add.public UnbindRequest removeControl(Control control)
removeControl in interface MessageremoveControl in interface UnbindRequestremoveControl in class AbstractMessagecontrol - the control to remove.Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.