Uses of Interface javax.naming.ldap.Control (Java SE 26 & JDK 26)
Description: use: module: java.naming, package: javax.naming.ldap, interface: Control

# Uses of Interface
javax.naming.ldap.Control

Packages that use Control
Package
Description
javax.naming.ldap
Provides support for LDAPv3 extended operations and controls.

- ## Uses of Control in javax.naming.ldap

  Classes in javax.naming.ldap that implement Control
  Modifier and Type
  Class
  Description
  `class`
  `BasicControl`
  This class provides a basic implementation of the `Control` interface.
  `final class`
  `ManageReferralControl`
  Requests that referral and other special LDAP objects be manipulated as normal LDAP objects.
  `final class`
  `PagedResultsControl`
  Requests that the results of a search operation be returned by the LDAP server in batches of a specified size.
  `final class`
  `PagedResultsResponseControl`
  Indicates the end of a batch of search results.
  `final class`
  `SortControl`
  Requests that the results of a search operation be sorted by the LDAP server before being returned.
  `final class`
  `SortResponseControl`
  Indicates whether the requested sort of search results was successful or not.
  Methods in javax.naming.ldap that return Control
  Modifier and Type
  Method
  Description
  `Control[]`
  InitialLdapContext.`getConnectControls()`
  `Control[]`
  LdapContext.`getConnectControls()`
  Retrieves the connection request controls in effect for this context.
  `abstract Control`
  ControlFactory.`getControlInstance(Control ctl)`
  Creates a control using this control factory.
  `static Control`
  ControlFactory.`getControlInstance(Control ctl, Context ctx, Hashtable<?,?> env)`
  Creates a control using known control factories.
  `Control[]`
  HasControls.`getControls()`
  Retrieves an array of `Control`s from the object that implements this interface.
  `Control[]`
  InitialLdapContext.`getRequestControls()`
  `Control[]`
  LdapContext.`getRequestControls()`
  Retrieves the request controls in effect for this context.
  `Control[]`
  InitialLdapContext.`getResponseControls()`
  `Control[]`
  LdapContext.`getResponseControls()`
  Retrieves the response controls produced as a result of the last method invoked on this context.
  Methods in javax.naming.ldap with parameters of type Control
  Modifier and Type
  Method
  Description
  `abstract Control`
  ControlFactory.`getControlInstance(Control ctl)`
  Creates a control using this control factory.
  `static Control`
  ControlFactory.`getControlInstance(Control ctl, Context ctx, Hashtable<?,?> env)`
  Creates a control using known control factories.
  `abstract Context`
  LdapReferralException.`getReferralContext(Hashtable<?,?> env, Control[] reqCtls)`
  Retrieves the context at which to continue the method using request controls and environment properties.
  `LdapContext`
  InitialLdapContext.`newInstance(Control[] reqCtls)`
  `LdapContext`
  LdapContext.`newInstance(Control[] requestControls)`
  Creates a new instance of this context initialized using request controls.
  `void`
  InitialLdapContext.`reconnect(Control[] connCtls)`
  `void`
  LdapContext.`reconnect(Control[] connCtls)`
  Reconnects to the LDAP server using the supplied controls and this context's environment.
  `void`
  InitialLdapContext.`setRequestControls(Control[] requestControls)`
  `void`
  LdapContext.`setRequestControls(Control[] requestControls)`
  Sets the request controls for methods subsequently invoked on this context.
  Constructors in javax.naming.ldap with parameters of type Control
  Modifier
  Constructor
  Description
  ``
  `InitialLdapContext(Hashtable<?,?> environment, Control[] connCtls)`
  Constructs an initial context using environment properties and connection request controls.