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 Type
    Method
    Description
    Returns the first response control with the supplied OID.
    Returns the response controls for this message.
    int
    Returns 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

      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