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 MessageLDAP protocol response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResponseControlgetControl(String oid)Returns the first response control with the supplied OID.ResponseControl[]getControls()Returns the response controls for this message.intgetMessageID()Returns the ID for this message.
-
-
-
Method Detail
-
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
default ResponseControl getControl(String oid)
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
-
-