Package org.wildfly.httpclient.common
Class HttpConnectionPool.ClientConnectionHolder
java.lang.Object
org.wildfly.httpclient.common.HttpConnectionPool.ClientConnectionHolder
- All Implemented Interfaces:
HttpConnectionPool.ConnectionHandle
- Enclosing class:
- HttpConnectionPool
protected class HttpConnectionPool.ClientConnectionHolder
extends Object
implements HttpConnectionPool.ConnectionHandle
-
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanclearFlags(int flags) voiddone(boolean close) org.wildfly.httpclient.common.PoolAuthenticationContextio.undertow.client.ClientConnectiongetUri()protected final booleanhasFlags(int flags) voidsendRequest(io.undertow.client.ClientRequest request, io.undertow.client.ClientCallback<io.undertow.client.ClientExchange> callback) protected final voidsetFlags(int flags) protected final booleansetFlagsIfCleared(int flags, int clearedFlags)
-
Method Details
-
getConnection
public io.undertow.client.ClientConnection getConnection()- Specified by:
getConnectionin interfaceHttpConnectionPool.ConnectionHandle
-
done
public void done(boolean close) - Specified by:
donein interfaceHttpConnectionPool.ConnectionHandle
-
getUri
- Specified by:
getUriin interfaceHttpConnectionPool.ConnectionHandle
-
getAuthenticationContext
public org.wildfly.httpclient.common.PoolAuthenticationContext getAuthenticationContext()- Specified by:
getAuthenticationContextin interfaceHttpConnectionPool.ConnectionHandle
-
sendRequest
public void sendRequest(io.undertow.client.ClientRequest request, io.undertow.client.ClientCallback<io.undertow.client.ClientExchange> callback) - Specified by:
sendRequestin interfaceHttpConnectionPool.ConnectionHandle
-
setFlags
protected final void setFlags(int flags) -
setFlagsIfCleared
protected final boolean setFlagsIfCleared(int flags, int clearedFlags) -
clearFlags
protected final boolean clearFlags(int flags) -
hasFlags
protected final boolean hasFlags(int flags)
-