public interface AddRequest extends SingleReplyRequest<AddResponse>, AbandonableRequest
| Modifier and Type | Field and Description |
|---|---|
static MessageTypeEnum |
RESP_TYPE
LDAPv3 add response type enum code
|
static MessageTypeEnum |
TYPE
LDAPv3 add request type enum code
|
| Modifier and Type | Method and Description |
|---|---|
AddRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
AddRequest |
addControl(Control control)
Adds a control to this Message.
|
Entry |
getEntry()
Gets the entry to add.
|
Dn |
getEntryDn()
Gets the distinguished name of the entry to add.
|
AddRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
AddRequest |
setEntry(Entry entry)
Sets the Entry to add.
|
AddRequest |
setEntryDn(Dn entry)
Sets the distinguished name of the entry to add.
|
AddRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
getResponseTypegetResultResponsehasResponseget, getControl, getControls, getMessageId, getType, hasControl, putabandon, addAbandonListener, isAbandonedstatic final MessageTypeEnum TYPE
static final MessageTypeEnum RESP_TYPE
Dn getEntryDn()
AddRequest setEntryDn(Dn entry)
entry - the Dn of the added entry.Entry getEntry()
AddRequest setEntry(Entry entry)
entry - the added EntryAddRequest setMessageId(int messageId)
setMessageId in interface MessagemessageId - The message IdAddRequest addControl(Control control)
addControl in interface Messagecontrol - the control to add.AddRequest addAllControls(Control[] controls)
addAllControls in interface Messagecontrols - the controls to add.AddRequest removeControl(Control control)
removeControl in interface Messagecontrol - the control to remove.Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.