public interface CompareRequest extends SingleReplyRequest, AbandonableRequest
Modifier and Type | Method and Description |
---|---|
CompareRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
CompareRequest |
addControl(Control control)
Adds a control to this Message.
|
Value<?> |
getAssertionValue()
Gets the attribute value to use in making the comparison.
|
String |
getAttributeId()
Gets the attribute id use in making the comparison.
|
Dn |
getName()
Gets the distinguished name of the entry to be compared using the
attribute value assertion.
|
CompareRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
CompareRequest |
setAssertionValue(byte[] value)
Sets the attribute value to use in the comparison.
|
CompareRequest |
setAssertionValue(String value)
Sets the attribute value to use in the comparison.
|
CompareRequest |
setAttributeId(String attrId)
Sets the attribute id used in the comparison.
|
CompareRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
CompareRequest |
setName(Dn name)
Sets the distinguished name of the entry to be compared using the
attribute value assertion.
|
getResponseType
getResultResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
abandon, addAbandonListener, isAbandoned
Dn getName()
CompareRequest setName(Dn name)
name
- the Dn of the compared entry.Value<?> getAssertionValue()
CompareRequest setAssertionValue(String value)
value
- the attribute value used in comparison.CompareRequest setAssertionValue(byte[] value)
value
- the attribute value used in comparison.String getAttributeId()
CompareRequest setAttributeId(String attrId)
attrId
- the attribute id used in comparison.CompareRequest setMessageId(int messageId)
setMessageId
in interface Message
messageId
- The message IdCompareRequest addControl(Control control)
addControl
in interface Message
control
- the control to add.CompareRequest addAllControls(Control[] controls)
addAllControls
in interface Message
controls
- the controls to add.CompareRequest removeControl(Control control)
removeControl
in interface Message
control
- the control to remove.Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.