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
|
getResponseType
getResultResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
abandon, addAbandonListener, isAbandoned
static final MessageTypeEnum TYPE
static final MessageTypeEnum RESP_TYPE
Dn getEntryDn()
AddRequest setEntryDn(Dn entry)
entry
- the Dn of the added entry.AddRequest setEntry(Entry entry)
entry
- the added EntryAddRequest setMessageId(int messageId)
setMessageId
in interface Message
messageId
- The message IdAddRequest addControl(Control control) throws MessageException
addControl
in interface Message
control
- the control to add.MessageException
- if controls cannot be added to this Message or the control is
not known etc.AddRequest addAllControls(Control[] controls) throws MessageException
addAllControls
in interface Message
controls
- the controls to add.MessageException
- if controls cannot be added to this Message or they are not known etc.AddRequest removeControl(Control control) throws MessageException
removeControl
in interface Message
control
- the control to remove.MessageException
- if controls cannot be added to this Message or the control is
not known etc.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.