Package org.ldaptive
Interface Message
- All Known Subinterfaces:
Result
- All Known Implementing Classes:
AbstractMessage,AbstractResult,AddResponse,AuthenticationHandlerResponse,AuthenticationResponse,BindResponse,CompareResponse,DeleteResponse,ExtendedResponse,IntermediateResponse,LdapEntry,ModifyDnResponse,ModifyResponse,NoticeOfDisconnection,SearchResponse,SearchResultReference,SyncInfoMessage,UnsolicitedNotification
public interface Message
LDAP protocol response.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResponseControlgetControl(String oid) Returns the first response control with the supplied OID.Returns the response controls for this message.intReturns the ID for this message.
-
Method Details
-
getMessageID
int getMessageID()Returns the ID for this message.- Returns:
- message ID
-
getControls
ResponseControl[] getControls()Returns the response controls for this message.- Returns:
- response controls
-
getControl
Returns the first response control with the supplied OID.- Parameters:
oid- of the response control to return- Returns:
- response control or null if control could not be found
-