Package io.servicetalk.transport.api
Interface ConnectionContext
-
- All Superinterfaces:
AsyncCloseable
,ConnectionInfo
,ListenableAsyncCloseable
- All Known Subinterfaces:
GrpcServiceContext
,HttpConnectionContext
,NettyConnection<Read,Write>
,NettyConnectionContext
- All Known Implementing Classes:
DefaultNettyConnection
,DelegatingConnectionContext
,DelegatingHttpConnectionContext
,DelegatingHttpServiceContext
,HttpServiceContext
,TestHttpServiceContext
public interface ConnectionContext extends ConnectionInfo, ListenableAsyncCloseable
A context for a connection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.servicetalk.transport.api.ConnectionInfo
ConnectionInfo.Protocol
-
-
Method Summary
-
Methods inherited from interface io.servicetalk.concurrent.api.AsyncCloseable
closeAsync, closeAsyncGracefully
-
Methods inherited from interface io.servicetalk.transport.api.ConnectionInfo
executionContext, localAddress, protocol, remoteAddress, socketOption, sslSession
-
Methods inherited from interface io.servicetalk.concurrent.api.ListenableAsyncCloseable
onClose
-
-