|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractRequest
org.apache.directory.api.ldap.model.message.UnbindRequestImpl
public class UnbindRequestImpl
Lockable UnbindRequest implementation.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
controls |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.UnbindRequest |
|---|
TYPE |
| Constructor Summary | |
|---|---|
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 | |
|---|---|
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 |
| 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.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put |
| Constructor Detail |
|---|
public UnbindRequestImpl()
id - the sequential message identifier.| Method Detail |
|---|
public void abandon()
public UnbindRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in interface UnbindRequestsetMessageId in class AbstractMessagemessageId - The message Id
public UnbindRequest addControl(Control control)
throws MessageException
addControl in interface MessageaddControl in interface UnbindRequestaddControl in class AbstractMessagecontrol - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
public UnbindRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface MessageaddAllControls in interface UnbindRequestaddAllControls in class AbstractMessagecontrols - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
public UnbindRequest removeControl(Control control)
throws MessageException
removeControl in interface MessageremoveControl in interface UnbindRequestremoveControl in class AbstractMessagecontrol - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||