public class SearchEntry extends LdapEntry implements ResponseMessage
Constructor and Description |
---|
SearchEntry(int id,
ResponseControl[] c)
Creates a new search entry.
|
SearchEntry(int id,
ResponseControl[] c,
SortBehavior sb)
Creates a new search entry.
|
Modifier and Type | Method and Description |
---|---|
ResponseControl |
getControl(String oid)
Returns the first response control with the supplied OID for this response message.
|
ResponseControl[] |
getControls()
Returns the controls for this message.
|
int |
getMessageId()
Returns the message ID for this response message.
|
int |
hashCode() |
String |
toString() |
addAttribute, addAttributes, clear, computeModifications, getAttribute, getAttribute, getAttributeNames, getAttributes, getDn, removeAttribute, removeAttribute, removeAttributes, renameAttribute, setDn, size
equals, getSortBehavior
public SearchEntry(int id, ResponseControl[] c)
id
- message idc
- response controlspublic SearchEntry(int id, ResponseControl[] c, SortBehavior sb)
id
- message idc
- response controlssb
- sort behaviorpublic ResponseControl[] getControls()
Message
getControls
in interface Message<ResponseControl>
public ResponseControl getControl(String oid)
ResponseMessage
getControl
in interface ResponseMessage
oid
- of the response control to returnpublic int getMessageId()
ResponseMessage
getMessageId
in interface ResponseMessage
Copyright © 2024. All rights reserved.