Uses of Interface
org.ldaptive.Connection
Packages that use Connection
Package
Description
-
Uses of Connection in org.ldaptive
Fields in org.ldaptive declared as ConnectionModifier and TypeFieldDescriptionprivate final ConnectionSingleConnectionFactory.ConnectionProxy.connUnderlying connection.Fields in org.ldaptive with type parameters of type ConnectionModifier and TypeFieldDescriptionprivate Predicate<Connection>SingleConnectionFactory.onCloseTo run when a connection is closed.private Consumer<Connection>AbstractConnectionValidator.onFailureConsumer to execute on a failed validation.private Predicate<Connection>SingleConnectionFactory.onOpenTo run when a connection is opened.private Consumer<Connection>AbstractConnectionValidator.onSuccessConsumer to execute on a successful validation.Methods in org.ldaptive that return ConnectionModifier and TypeMethodDescriptionPooledConnectionFactory.RetryValidationExceptionHandler.apply(ValidationException e) ConnectionFactory.getConnection()Creates a new connection.DefaultConnectionFactory.getConnection()Creates a new connection.PooledConnectionFactory.getConnection()SingleConnectionFactory.ConnectionProxy.getConnection()Returns the connection that is being proxied.SingleConnectionFactory.getConnection()Methods in org.ldaptive that return types with arguments of type ConnectionModifier and TypeMethodDescriptionSingleConnectionFactory.getOnClose()Returns the function to run when the connection is closed.AbstractConnectionValidator.getOnFailure()Returns a consumer to handle a connection that has failed validation.SingleConnectionFactory.getOnOpen()Returns the function to run when the connection is opened.AbstractConnectionValidator.getOnSuccess()Returns a consumer to handle a connection that has been successfully validated.Methods in org.ldaptive with parameters of type ConnectionModifier and TypeMethodDescriptionvoidSingleConnectionFactory.ReinitializeConnectionConsumer.accept(Connection conn) AbstractConnectionValidator.apply(Connection conn) AbstractConnectionValidator.applyAsync(Connection conn) voidAbstractOperationConnectionValidator.applyAsync(Connection conn, Consumer<Boolean> function) ConnectionValidator.applyAsync(Connection conn) Provides an asynchronous implementation ofFunction.apply(Object).voidConnectionValidator.applyAsync(Connection conn, Consumer<Boolean> function) Provides an asynchronous implementation ofFunction.apply(Object).BindConnectionInitializer.initialize(Connection c) ConnectionInitializer.initialize(Connection conn) Initialize the supplied connection.protected abstract OperationHandle<Q,S> AbstractOperationConnectionValidator.performOperation(Connection conn) Perform the operation for this validator.protected OperationHandle<CompareRequest,CompareResponse> CompareConnectionValidator.performOperation(Connection conn) protected OperationHandle<SearchRequest,SearchResponse> SearchConnectionValidator.performOperation(Connection conn) Method parameters in org.ldaptive with type arguments of type ConnectionModifier and TypeMethodDescriptionSingleConnectionFactory.Builder.onClose(Predicate<Connection> function) AbstractConnectionValidator.AbstractBuilder.onFailure(Consumer<Connection> consumer) Sets the on failure consumer.SingleConnectionFactory.Builder.onOpen(Predicate<Connection> function) AbstractConnectionValidator.AbstractBuilder.onSuccess(Consumer<Connection> consumer) Sets the on success consumer.voidSingleConnectionFactory.setOnClose(Predicate<Connection> function) Sets the function to run when the connection is closed.voidAbstractConnectionValidator.setOnFailure(Consumer<Connection> consumer) Sets a consumer to handle a connection that has failed validation.voidSingleConnectionFactory.setOnOpen(Predicate<Connection> function) Sets the function to run when the connection is opened.voidAbstractConnectionValidator.setOnSuccess(Consumer<Connection> consumer) Sets a consumer to handle a connection that has been successfully validated.Constructors in org.ldaptive with parameters of type Connection -
Uses of Connection in org.ldaptive.ad.extended
Methods in org.ldaptive.ad.extended with parameters of type Connection -
Uses of Connection in org.ldaptive.auth
Fields in org.ldaptive.auth declared as ConnectionModifier and TypeFieldDescriptionprivate ConnectionAuthenticationHandlerResponse.connectionConnection that authentication occurred on.Methods in org.ldaptive.auth that return ConnectionModifier and TypeMethodDescriptionAuthenticationHandlerResponse.getConnection()Returns the connection that authentication occurred on.Methods in org.ldaptive.auth with parameters of type ConnectionModifier and TypeMethodDescriptionprotected abstract AuthenticationHandlerResponseAbstractAuthenticationHandler.authenticateInternal(Connection c, AuthenticationCriteria criteria) Authenticate on the supplied connection using the supplied criteria.protected AuthenticationHandlerResponseCompareAuthenticationHandler.authenticateInternal(Connection c, AuthenticationCriteria criteria) protected AuthenticationHandlerResponseSimpleBindAuthenticationHandler.authenticateInternal(Connection c, AuthenticationCriteria criteria) AuthenticationHandlerResponse.Builder.connection(Connection conn) Constructors in org.ldaptive.auth with parameters of type ConnectionModifierConstructorDescriptionAuthenticationHandlerResponse(T result, AuthenticationResultCode code, Connection conn) Creates a new authentication response. -
Uses of Connection in org.ldaptive.pool
Fields in org.ldaptive.pool declared as ConnectionModifier and TypeFieldDescriptionprivate final ConnectionAbstractConnectionPool.DefaultPooledConnectionProxy.connUnderlying connection.Methods in org.ldaptive.pool that return ConnectionModifier and TypeMethodDescriptionprotected ConnectionAbstractConnectionPool.createConnectionProxy(PooledConnectionProxy pc) Creates a connection proxy using the supplied pool connection.AbstractConnectionPool.DefaultPooledConnectionProxy.getConnection()abstract ConnectionAbstractConnectionPool.getConnection()Returns a connection from the pool.BlockingConnectionPool.getConnection()ConnectionPool.getConnection()Returns an object from the pool.PooledConnectionProxy.getConnection()Returns the connection that is being proxied.Methods in org.ldaptive.pool with parameters of type ConnectionModifier and TypeMethodDescriptionBindConnectionPassivator.apply(Connection conn) abstract voidAbstractConnectionPool.putConnection(Connection c) Returns a connection to the pool.voidBlockingConnectionPool.putConnection(Connection c) protected PooledConnectionProxyAbstractConnectionPool.retrieveConnectionProxy(Connection proxy) Retrieves the invocation handler from the supplied connection proxy.Constructors in org.ldaptive.pool with parameters of type ConnectionModifierConstructorDescriptionCreates a new pooled connection. -
Uses of Connection in org.ldaptive.transport
Classes in org.ldaptive.transport that implement ConnectionModifier and TypeClassDescriptionclassBase class for connection implementations.Fields in org.ldaptive.transport declared as ConnectionModifier and TypeFieldDescriptionprivate ConnectionMessageFunctional.connectionConnection the request occurred on.Methods in org.ldaptive.transport that return ConnectionModifier and TypeMethodDescriptionTransport.create(ConnectionConfig cc) Create a connection object.MessageFunctional.getConnection()Returns the connection.Methods in org.ldaptive.transport with parameters of type ConnectionModifier and TypeMethodDescriptionvoidMessageFunctional.setConnection(Connection conn) Sets the connection. -
Uses of Connection in org.ldaptive.transport.netty
Classes in org.ldaptive.transport.netty that implement ConnectionModifier and TypeClassDescription(package private) final classNetty based connection implementation.Methods in org.ldaptive.transport.netty that return ConnectionModifier and TypeMethodDescriptionDefaultNettyTransport.create(ConnectionConfig cc) StatefulNettyTransport.create(ConnectionConfig cc)