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 java.lang.Object implements HttpConnectionPool.ConnectionHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanclearFlags(int flags)voiddone(boolean close)org.wildfly.httpclient.common.PoolAuthenticationContextgetAuthenticationContext()io.undertow.client.ClientConnectiongetConnection()java.net.URIgetUri()protected booleanhasFlags(int flags)voidsendRequest(io.undertow.client.ClientRequest request, io.undertow.client.ClientCallback<io.undertow.client.ClientExchange> callback)protected voidsetFlags(int flags)protected booleansetFlagsIfCleared(int flags, int clearedFlags)
-
-
-
Method Detail
-
getConnection
public io.undertow.client.ClientConnection getConnection()
- Specified by:
getConnectionin interfaceHttpConnectionPool.ConnectionHandle
-
done
public void done(boolean close)
- Specified by:
donein interfaceHttpConnectionPool.ConnectionHandle
-
getUri
public java.net.URI 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)
-
-