Uses of Interface
org.ldaptive.Connection
-
Packages that use Connection Package Description org.ldaptive org.ldaptive.ad.extended org.ldaptive.auth org.ldaptive.pool org.ldaptive.transport org.ldaptive.transport.netty -
-
Uses of Connection in org.ldaptive
Fields in org.ldaptive declared as Connection Modifier and Type Field Description private Connection
SingleConnectionFactory.ConnectionProxy. conn
Underlying connection.Fields in org.ldaptive with type parameters of type Connection Modifier and Type Field Description private Function<Connection,Boolean>
SingleConnectionFactory. onClose
To run when a connection is closed.private Consumer<Connection>
AbstractConnectionValidator. onFailure
Consumer to execute on a failed validation.private Function<Connection,Boolean>
SingleConnectionFactory. onOpen
To run when a connection is opened.private Consumer<Connection>
AbstractConnectionValidator. onSuccess
Consumer to execute on a successful validation.Methods in org.ldaptive that return Connection Modifier and Type Method Description Connection
PooledConnectionFactory.RetryValidationExceptionHandler. apply(ValidationException e)
Connection
ConnectionFactory. getConnection()
Creates a new connection.Connection
DefaultConnectionFactory. getConnection()
Creates a new connection.Connection
PooledConnectionFactory. getConnection()
Connection
SingleConnectionFactory.ConnectionProxy. getConnection()
Returns the connection that is being proxied.Connection
SingleConnectionFactory. getConnection()
Methods in org.ldaptive that return types with arguments of type Connection Modifier and Type Method Description Function<Connection,Boolean>
SingleConnectionFactory. getOnClose()
Returns the function to run when the connection is closed.Consumer<Connection>
AbstractConnectionValidator. getOnFailure()
Returns a consumer to handle a connection that has failed validation.Function<Connection,Boolean>
SingleConnectionFactory. getOnOpen()
Returns the function to run when the connection is opened.Consumer<Connection>
AbstractConnectionValidator. getOnSuccess()
Returns a consumer to handle a connection that has been successfully validated.Methods in org.ldaptive with parameters of type Connection Modifier and Type Method Description void
SingleConnectionFactory.ReinitializeConnectionConsumer. accept(Connection conn)
Boolean
AbstractConnectionValidator. apply(Connection conn)
Supplier<Boolean>
AbstractConnectionValidator. applyAsync(Connection conn)
void
AbstractOperationConnectionValidator. applyAsync(Connection conn, Consumer<Boolean> function)
Supplier<Boolean>
ConnectionValidator. applyAsync(Connection conn)
Provides an asynchronous implementation ofFunction.apply(Object)
.void
ConnectionValidator. applyAsync(Connection conn, Consumer<Boolean> function)
Provides an asynchronous implementation ofFunction.apply(Object)
.Result
BindConnectionInitializer. initialize(Connection c)
Result
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 Connection Modifier and Type Method Description SingleConnectionFactory.Builder
SingleConnectionFactory.Builder. onClose(Function<Connection,Boolean> function)
B
AbstractConnectionValidator.AbstractBuilder. onFailure(Consumer<Connection> consumer)
SingleConnectionFactory.Builder
SingleConnectionFactory.Builder. onOpen(Function<Connection,Boolean> function)
B
AbstractConnectionValidator.AbstractBuilder. onSuccess(Consumer<Connection> consumer)
void
SingleConnectionFactory. setOnClose(Function<Connection,Boolean> function)
Sets the function to run when the connection is closed.void
AbstractConnectionValidator. setOnFailure(Consumer<Connection> consumer)
Sets a consumer to handle a connection that has failed validation.void
SingleConnectionFactory. setOnOpen(Function<Connection,Boolean> function)
Sets the function to run when the connection is opened.void
AbstractConnectionValidator. 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 Constructor Description ConnectionProxy(Connection c)
Creates a new connection proxy. -
Uses of Connection in org.ldaptive.ad.extended
Methods in org.ldaptive.ad.extended with parameters of type Connection Modifier and Type Method Description Result
FastBindConnectionInitializer. initialize(Connection c)
-
Uses of Connection in org.ldaptive.auth
Fields in org.ldaptive.auth declared as Connection Modifier and Type Field Description private Connection
AuthenticationHandlerResponse. connection
Connection that authentication occurred on.Methods in org.ldaptive.auth that return Connection Modifier and Type Method Description Connection
AuthenticationHandlerResponse. getConnection()
Methods in org.ldaptive.auth with parameters of type Connection Modifier and Type Method Description protected abstract AuthenticationHandlerResponse
AbstractAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria.protected AuthenticationHandlerResponse
CompareAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)
protected AuthenticationHandlerResponse
SimpleBindAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)
AuthenticationHandlerResponse.Builder
AuthenticationHandlerResponse.Builder. connection(Connection conn)
Constructors in org.ldaptive.auth with parameters of type Connection Constructor Description AuthenticationHandlerResponse(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 Connection Modifier and Type Field Description private Connection
AbstractConnectionPool.DefaultPooledConnectionProxy. conn
Underlying connection.Methods in org.ldaptive.pool that return Connection Modifier and Type Method Description protected Connection
AbstractConnectionPool. createConnectionProxy(PooledConnectionProxy pc)
Creates a connection proxy using the supplied pool connection.Connection
AbstractConnectionPool.DefaultPooledConnectionProxy. getConnection()
abstract Connection
AbstractConnectionPool. getConnection()
Returns a connection from the pool.Connection
BlockingConnectionPool. getConnection()
Connection
ConnectionPool. getConnection()
Returns an object from the pool.Connection
PooledConnectionProxy. getConnection()
Returns the connection that is being proxied.Methods in org.ldaptive.pool with parameters of type Connection Modifier and Type Method Description Boolean
BindConnectionPassivator. apply(Connection conn)
abstract void
AbstractConnectionPool. putConnection(Connection c)
Returns a connection to the pool.void
BlockingConnectionPool. putConnection(Connection c)
protected PooledConnectionProxy
AbstractConnectionPool. retrieveConnectionProxy(Connection proxy)
Retrieves the invocation handler from the supplied connection proxy.Constructors in org.ldaptive.pool with parameters of type Connection Constructor Description DefaultPooledConnectionProxy(Connection c)
Creates a new pooled connection. -
Uses of Connection in org.ldaptive.transport
Classes in org.ldaptive.transport that implement Connection Modifier and Type Class Description class
TransportConnection
Base class for connection implementations.Fields in org.ldaptive.transport declared as Connection Modifier and Type Field Description private Connection
MessageFunctional. connection
Connection the request occurred on.Methods in org.ldaptive.transport that return Connection Modifier and Type Method Description Connection
Transport. create(ConnectionConfig cc)
Create a connection object.Connection
MessageFunctional. getConnection()
-
Uses of Connection in org.ldaptive.transport.netty
Classes in org.ldaptive.transport.netty that implement Connection Modifier and Type Class Description class
NettyConnection
Netty based connection implementation.Methods in org.ldaptive.transport.netty that return Connection Modifier and Type Method Description Connection
ConnectionTransport. create(ConnectionConfig cc)
Connection
NettyConnectionFactoryTransport. create(ConnectionConfig cc)
-