## 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 and Description
--- | ---
`class` | `BasicControl` This class provides a basic implementation of the `Control` interface.
`class` | `ManageReferralControl` Requests that referral and other special LDAP objects be manipulated as normal LDAP objects.
`class` | `PagedResultsControl` Requests that the results of a search operation be returned by the LDAP server in batches of a specified size.
`class` | `PagedResultsResponseControl` Indicates the end of a batch of search results.
`class` | `SortControl` Requests that the results of a search operation be sorted by the LDAP server before being returned.
`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 and Description
--- | ---
`Control[]` | LdapContext.`getConnectControls()` Retrieves the connection request controls in effect for this context.
`Control[]` | InitialLdapContext.`getConnectControls()`
`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[]` | LdapContext.`getRequestControls()` Retrieves the request controls in effect for this context.
`Control[]` | InitialLdapContext.`getRequestControls()`
`Control[]` | LdapContext.`getResponseControls()` Retrieves the response controls produced as a result of the last method invoked on this context.
`Control[]` | InitialLdapContext.`getResponseControls()`

Methods in javax.naming.ldap with parameters of type Control
Modifier and Type | Method and 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` | LdapContext.`newInstance(Control[] requestControls)` Creates a new instance of this context initialized using request controls.
`LdapContext` | InitialLdapContext.`newInstance(Control[] reqCtls)`
`void` | LdapContext.`reconnect(Control[] connCtls)` Reconnects to the LDAP server using the supplied controls and this context's environment.
`void` | InitialLdapContext.`reconnect(Control[] connCtls)`
`void` | LdapContext.`setRequestControls(Control[] requestControls)` Sets the request controls for methods subsequently invoked on this context.
`void` | InitialLdapContext.`setRequestControls(Control[] requestControls)`

Constructors in javax.naming.ldap with parameters of type Control
Constructor and Description
`InitialLdapContext(Hashtable<?,?> environment, Control[] connCtls)` Constructs an initial context using environment properties and connection request controls.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.