| Interface | Description |
|---|---|
| ContextCapturer |
A contract for passing
ContextsContainer objects between threads. |
| ContextKeySupplier |
An abstraction for the wire-format that the contexts get read from and written to.
|
| ContextsContainer |
A contract to hold multiple request level contexts.
|
| RequestCorrelator |
Passing contexts from inbound request processing to outbound request sending can be very application specific.
|
| RequestIdGenerator | |
| RequestIdProvider |
All contexts held by
ContextsContainer are specific to a request and in order to uniquiely identify a request
we require an identifier. |
| Class | Description |
|---|---|
| AbstractClientContextHandler<R,W> |
This handler does the following:
Writes any contexts available in
ContextsContainer for the request id obtained by
RequestIdProvider
Reads any contexts written back from the server by calling
ContextsContainer.consumeBidirectionalContextsFromResponse(ContextKeySupplier)
|
| AbstractClientContextHandler.NewContextEvent | |
| AbstractContextHandler<R,W> | |
| AbstractServerContextHandler<R,W> |
A generic handler for all protocols that can handle
ContextsContainers for servers. |
| ContextAttributeStorageHelper |
A utility class to store
ContextsContainer instances as channel attributes. |
| ContextAwareEventLoopGroup | |
| ContextPipelineConfigurators |
A factory class for different
PipelineConfigurator for the context module. |
| ContextsContainerImpl |
An implementation of
ContextsContainer |
| MapBackedKeySupplier |
A simple implementation of
ContextKeySupplier which is backed by a Map |
| RxContexts |
A factory class to create
RxClient and RxServer objects which are context aware. |
| ThreadLocalRequestCorrelator |
An implementation of
RequestCorrelator that fetches ContextsContainer and request Identifer from
ThreadLocal variables. |
| ThreadLocalRequestCorrelator.ThreadStateHolder |