RxJava

Skip navigation links
A B C D E G H I L M N O P R S T U V W 

A

AbstractClientContextHandler<R,W> - Class in io.reactivex.netty.contexts
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(RequestCorrelator, RequestIdProvider) - Constructor for class io.reactivex.netty.contexts.AbstractClientContextHandler
 
AbstractClientContextHandler.NewContextEvent - Class in io.reactivex.netty.contexts
 
AbstractContextHandler<R,W> - Class in io.reactivex.netty.contexts
 
AbstractContextHandler() - Constructor for class io.reactivex.netty.contexts.AbstractContextHandler
 
AbstractServerContextHandler<R,W> - Class in io.reactivex.netty.contexts
A generic handler for all protocols that can handle ContextsContainers for servers.
AbstractServerContextHandler(RequestCorrelator, RequestIdProvider) - Constructor for class io.reactivex.netty.contexts.AbstractServerContextHandler
 
addContext(String, T, ContextSerializer<T>) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Adds a custom context (arbitrary object) to this container.
addContext(String, String) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Adds a custom String context to this request scope.
addContext(String, T, ContextSerializer<T>) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
addContext(String, String) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
addKey(W, String, String) - Method in class io.reactivex.netty.contexts.AbstractContextHandler
Adds a key to the message that is written.
addKey(HttpRequest, String, String) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
addKey(HttpResponse, String, String) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
awaitTermination(long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 

B

beforeClientRequest(AttributeMap) - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
beforeClientRequest(AttributeMap) - Method in interface io.reactivex.netty.contexts.RequestIdProvider
This does the correlation between an inbound request and all outbound requests that are made during the processing of the same request.
beforeNewClientRequest(String, ContextsContainer) - Method in interface io.reactivex.netty.contexts.RequestCorrelator
A callback before a client request is made.
beforeNewClientRequest(String, ContextsContainer) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
beforeServerResponse(ContextKeySupplier, AttributeMap) - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
beforeServerResponse(ContextKeySupplier, AttributeMap) - Method in interface io.reactivex.netty.contexts.RequestIdProvider
This is primarily for response-request correlation for protocols that support multiple requests on the same connection, eg: using HTTP pipelining.
BiDirectional - Annotation Type in com.netflix.server.context
Any contexts added to ContextsContainer.addContext(String, Object, ContextSerializer) is unidirectional i.e.

C

channelRead(ChannelHandlerContext, Object) - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
children() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
com.netflix.server.context - package com.netflix.server.context
 
configureNewPipeline(ChannelPipeline) - Method in class io.reactivex.netty.contexts.http.HttpClientContextConfigurator
 
configureNewPipeline(ChannelPipeline) - Method in class io.reactivex.netty.contexts.http.HttpServerContextConfigurator
 
connect(Subscriber<? super ObservableConnection<HttpClientResponse<O>, HttpClientRequest<I>>>, RxClient.ServerInfo, ClientConnectionFactory<HttpClientResponse<O>, HttpClientRequest<I>, ? extends ObservableConnection<HttpClientResponse<O>, HttpClientRequest<I>>>) - Method in class io.reactivex.netty.contexts.http.HttpContextClientChannelFactory
 
consumeBidirectionalContextsFromResponse(ContextKeySupplier) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Reads the bi-directional contexts from the HTTP response and updates this ContextsContainer with those contexts.
consumeBidirectionalContextsFromResponse(ContextKeySupplier) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
CONTAINER_ATTRIBUTE_KEY_NAME - Static variable in class io.reactivex.netty.contexts.ContextAttributeStorageHelper
 
CONTAINERS_ATTRIBUTE_KEY - Static variable in class io.reactivex.netty.contexts.ContextAttributeStorageHelper
Why is this a ConcurrentHashMap? This will always be updated from within a Channel handler, which makes sure that this is always updated by a single thread.
ContextAttributeStorageHelper - Class in io.reactivex.netty.contexts
A utility class to store ContextsContainer instances as channel attributes.
ContextAwareEventLoopGroup - Class in io.reactivex.netty.contexts
 
ContextAwareEventLoopGroup(EventLoopGroup, ContextCapturer) - Constructor for class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
ContextCapturer - Interface in io.reactivex.netty.contexts
A contract for passing ContextsContainer objects between threads.
ContextKeySupplier - Interface in io.reactivex.netty.contexts
An abstraction for the wire-format that the contexts get read from and written to.
ContextPipelineConfigurators - Class in io.reactivex.netty.contexts
A factory class for different PipelineConfigurator for the context module.
ContextsContainer - Interface in io.reactivex.netty.contexts
A contract to hold multiple request level contexts.
ContextsContainerImpl - Class in io.reactivex.netty.contexts
An implementation of ContextsContainer
ContextsContainerImpl(ContextKeySupplier) - Constructor for class io.reactivex.netty.contexts.ContextsContainerImpl
 
ContextSerializationException - Exception in com.netflix.server.context
Exception thrown for any errors during serialization/de-serialization of contexts.
ContextSerializationException(String) - Constructor for exception com.netflix.server.context.ContextSerializationException
 
ContextSerializationException(String, Throwable) - Constructor for exception com.netflix.server.context.ContextSerializationException
 
ContextSerializationException(Throwable) - Constructor for exception com.netflix.server.context.ContextSerializationException
 
ContextSerializer<T> - Interface in com.netflix.server.context
A serializer for serialization/de-serialization any arbitrary context objects added to ContextsContainer.
correlator - Variable in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
correlator - Variable in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
createHttpClient(String, int) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpClient(String, int, String) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpClient(String, int, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpClient(String, int, String, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpServer(int, RequestHandler<ByteBuf, ByteBuf>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpServer(int, RequestHandler<ByteBuf, ByteBuf>, String) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpServer(int, RequestHandler<I, O>, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
createHttpServer(int, RequestHandler<I, O>, String, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
CTX_HANDLER_NAME - Static variable in class io.reactivex.netty.contexts.http.HttpClientContextConfigurator
 
CTX_HANDLER_NAME - Static variable in class io.reactivex.netty.contexts.http.HttpServerContextConfigurator
 

D

DEFAULT_CORRELATOR - Static variable in class io.reactivex.netty.contexts.RxContexts
 
deserialize(String, int) - Method in interface com.netflix.server.context.ContextSerializer
De-serializes the passed object serialized.
deserialize(String, DirectionAwareContextSerializer.Direction, int) - Method in interface com.netflix.server.context.DirectionAwareContextSerializer
De-serializes the passed object serialized.
deserialize(String, int) - Method in class com.netflix.server.context.DirectionAwareSerializerAdapter
 
DirectionAwareContextSerializer<T> - Interface in com.netflix.server.context
A replacement for ContextSerializer for BiDirectional contexts that requires information about the direction of flow (i.e.
DirectionAwareContextSerializer.Direction - Enum in com.netflix.server.context
Directions defined by this interface.
DirectionAwareSerializerAdapter<T> - Class in com.netflix.server.context
An implementation of DirectionAwareContextSerializer to provide consistent behavior for callers who are unaware of this interface and treat all serializers as ContextSerializer
DirectionAwareSerializerAdapter() - Constructor for class com.netflix.server.context.DirectionAwareSerializerAdapter
 
dumpThreadState() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
dumpThreadState(PrintStream) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 

E

execute(Runnable) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 

G

getContainer() - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler.NewContextEvent
 
getContainer(ChannelHandlerContext, String) - Static method in class io.reactivex.netty.contexts.ContextAttributeStorageHelper
 
getContainer() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
getContext(String) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Retrieves the value of the context added previously in this request scope via ContextsContainer.addContext(String, String) or ContextsContainer.addContext(String, Object, ContextSerializer)

The context could have been set in a different service and transferred here on the wire.

getContext(String, ContextSerializer<T>) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Retrieves the value of the context added previously in this request scope via ContextsContainer.addContext(String, String) or ContextsContainer.addContext(String, Object, ContextSerializer)

The context could have been set in a different service and transferred here on the wire.

getContext(String) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
getContext(String, ContextSerializer<T>) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
getContextForClientRequest(String) - Method in interface io.reactivex.netty.contexts.RequestCorrelator
This method does the correlation between the inbound ContextsContainer to a fresh client request.
getContextForClientRequest(String) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
getContextValue(String) - Method in interface io.reactivex.netty.contexts.ContextKeySupplier
 
getContextValue(String) - Method in class io.reactivex.netty.contexts.http.HttpContextKeySupplier
 
getContextValue(String) - Method in class io.reactivex.netty.contexts.MapBackedKeySupplier
 
getCurrentContextContainer() - Static method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
getCurrentlyProcessingRequestId() - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
getCurrentlyProcessingRequestId() - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
getCurrentlyProcessingRequestId() - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
getCurrentlyProcessingRequestId() - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
getCurrentRequestId() - Static method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
getModifiedBidirectionalContexts() - Method in interface io.reactivex.netty.contexts.ContextsContainer
Map of bi-directional context names and values (serialized form) that were modified within the current application.
getModifiedBidirectionalContexts() - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
getRequestId() - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler.NewContextEvent
 
getRequestId() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
getRequestIdContextKeyName() - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
getRequestIdContextKeyName() - Method in interface io.reactivex.netty.contexts.RequestIdProvider
Name of the context key (to be obtained via ContextKeySupplier) that is to be used to transfer the request identifier from one machine to another.
getRequestIdForClientRequest() - Method in interface io.reactivex.netty.contexts.RequestCorrelator
This does the correlation between an inbound request and all outbound requests that are made during the processing of the same request.
getRequestIdForClientRequest() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
getSerializedContexts() - Method in interface io.reactivex.netty.contexts.ContextsContainer
Map of context names and values (serialized form) associated with this request.

getSerializedContexts() - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
getVersion() - Method in interface com.netflix.server.context.ContextSerializer
Returns the version of this serializer.

H

httpClientConfigurator(RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
httpClientConfigurator(RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
HttpClientContextConfigurator<I,O> - Class in io.reactivex.netty.contexts.http
An implementation of PipelineConfigurator to configure an HttpClient with the context handling.
HttpClientContextConfigurator(RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Constructor for class io.reactivex.netty.contexts.http.HttpClientContextConfigurator
 
HttpClientContextHandler - Class in io.reactivex.netty.contexts.http
 
HttpClientContextHandler(RequestIdProvider, RequestCorrelator) - Constructor for class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
HttpContextClientChannelFactory<I,O> - Class in io.reactivex.netty.contexts.http
 
HttpContextClientChannelFactory(Bootstrap, RequestCorrelator, MetricEventsSubject<ClientMetricsEvent<?>>) - Constructor for class io.reactivex.netty.contexts.http.HttpContextClientChannelFactory
 
HttpContextKeySupplier - Class in io.reactivex.netty.contexts.http
An implementation of ContextKeySupplier that reads context keys from HTTP headers.
HttpContextKeySupplier(HttpHeaders) - Constructor for class io.reactivex.netty.contexts.http.HttpContextKeySupplier
 
HttpRequestIdProvider - Class in io.reactivex.netty.contexts.http
An implementation of RequestIdProvider for HTTP protocol.
HttpRequestIdProvider(RequestIdGenerator, RequestCorrelator, String) - Constructor for class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
HttpRequestIdProvider(String, RequestCorrelator) - Constructor for class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
httpServerConfigurator(RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
httpServerConfigurator(RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
HttpServerContextConfigurator<I,O> - Class in io.reactivex.netty.contexts.http
An implementation of PipelineConfigurator to configure an HttpServer with the context handling.
HttpServerContextConfigurator(RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Constructor for class io.reactivex.netty.contexts.http.HttpServerContextConfigurator
 
HttpServerContextHandler - Class in io.reactivex.netty.contexts.http
 
HttpServerContextHandler(RequestIdProvider, RequestCorrelator) - Constructor for class io.reactivex.netty.contexts.http.HttpServerContextHandler
 

I

invokeAll(Collection<? extends Callable<T>>) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
invokeAny(Collection<? extends Callable<T>>) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
io.reactivex.netty.contexts - package io.reactivex.netty.contexts
 
io.reactivex.netty.contexts.http - package io.reactivex.netty.contexts.http
 
isAcceptableToRead(Object) - Method in class io.reactivex.netty.contexts.AbstractContextHandler
Asserts whether the passed message is an acceptable object type to read.
isAcceptableToRead(Object) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
isAcceptableToRead(Object) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
isAcceptableToWrite(Object) - Method in class io.reactivex.netty.contexts.AbstractContextHandler
Asserts whether the passed message is an acceptable object type to write.
isAcceptableToWrite(Object) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
isAcceptableToWrite(Object) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
isEmpty() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
isLastResponseFragmenTotWrite(Object) - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
isLastResponseFragmenTotWrite(Object) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
isLastResponseFragmentToRead(Object) - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
isLastResponseFragmentToRead(Object) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
isShutdown() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
isShuttingDown() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
isTerminated() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
iterator() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 

L

logger - Static variable in class io.reactivex.netty.contexts.AbstractContextHandler
 
logger - Static variable in class io.reactivex.netty.contexts.AbstractServerContextHandler
 

M

makeClosure(Callable<V>) - Method in interface io.reactivex.netty.contexts.ContextCapturer
Encloses the passed Callable into a closure so that it can capture the contexts as it exists when this Callable is created and use it during the context's execution, which happens in a different thread.
makeClosure(Runnable) - Method in interface io.reactivex.netty.contexts.ContextCapturer
Encloses the passed Runnable into a closure so that it can capture the contexts as it exists when this Runnable is created and use it during the context's execution, which happens in a different thread.
makeClosure(Callable<V>) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
makeClosure(Runnable) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
MapBackedKeySupplier - Class in io.reactivex.netty.contexts
A simple implementation of ContextKeySupplier which is backed by a Map
MapBackedKeySupplier() - Constructor for class io.reactivex.netty.contexts.MapBackedKeySupplier
 
MapBackedKeySupplier(Map<String, String>) - Constructor for class io.reactivex.netty.contexts.MapBackedKeySupplier
 
merge(T) - Method in interface com.netflix.server.context.MergeableContext
Merges the passed object into this object.
MergeableContext<T extends MergeableContext> - Interface in com.netflix.server.context
Merge contract for BiDirectional contexts.

N

newContextContainer(ContextKeySupplier) - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
NewContextEvent(String, ContextsContainer) - Constructor for class io.reactivex.netty.contexts.AbstractClientContextHandler.NewContextEvent
 
newHttpClientBuilder(String, int, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpClientBuilder(String, int, RequestCorrelator, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpClientBuilder(String, int, String, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpClientBuilder(String, int, RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpClientBuilder(String, int, RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpClientResponse<O>, HttpClientRequest<I>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpServerBuilder(int, RequestHandler<I, O>, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpServerBuilder(int, RequestHandler<I, O>, RequestCorrelator, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpServerBuilder(int, RequestHandler<I, O>, String, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpServerBuilder(int, RequestHandler<I, O>, RequestIdProvider, RequestCorrelator, PipelineConfigurator<HttpServerRequest<I>, HttpServerResponse<O>>) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newHttpServerBuilder(int, RequestHandler<I, O>, RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.RxContexts
 
newKeySupplierForRead(R) - Method in class io.reactivex.netty.contexts.AbstractContextHandler
Creates a new ContextKeySupplier for the passed message that is being read.
newKeySupplierForRead(HttpResponse) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
newKeySupplierForRead(HttpRequest) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
newKeySupplierForWrite(W) - Method in class io.reactivex.netty.contexts.AbstractContextHandler
Creates a new ContextKeySupplier for the passed message to be written.
newKeySupplierForWrite(HttpRequest) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
newKeySupplierForWrite(HttpResponse) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
newRequestId(ContextKeySupplier, AttributeMap) - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
newRequestId(ContextKeySupplier, AttributeMap) - Method in interface io.reactivex.netty.contexts.RequestIdGenerator
Generates a globally unique request identifier.
newRequestIdRead(String) - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
newRequestIdRead(String) - Method in class io.reactivex.netty.contexts.http.HttpClientContextHandler
 
newRequestIdWritten(String) - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
newRequestIdWritten(String) - Method in class io.reactivex.netty.contexts.http.HttpServerContextHandler
 
next() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 

O

onClientProcessingEnd(String) - Method in interface io.reactivex.netty.contexts.RequestCorrelator
A callback when a client is done with the processing of the passed requestId.
onClientProcessingEnd(String) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
onClientResponse(AttributeMap) - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
onClientResponse(AttributeMap) - Method in interface io.reactivex.netty.contexts.RequestIdProvider
Specifies the request id to be used while receiving a response for a client.
onNewConnection(ObservableConnection<HttpClientResponse<O>, HttpClientRequest<I>>, Subscriber<? super ObservableConnection<HttpClientResponse<O>, HttpClientRequest<I>>>) - Method in class io.reactivex.netty.contexts.http.HttpContextClientChannelFactory
 
onNewServerRequest(String, ContextsContainer) - Method in interface io.reactivex.netty.contexts.RequestCorrelator
A callback for a fresh request on the underlying channel.
onNewServerRequest(String, ContextsContainer) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
onServerProcessingEnd(String) - Method in interface io.reactivex.netty.contexts.RequestCorrelator
A callback when the entire request processing is over for the passed requestId
onServerProcessingEnd(String) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
onServerRequest(ContextKeySupplier, AttributeMap) - Method in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
onServerRequest(ContextKeySupplier, AttributeMap) - Method in interface io.reactivex.netty.contexts.RequestIdProvider
Inspects the keySupplier or context to see if there is a request Id already defined for this request.

P

peek() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
pop() - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
push(AttributeMap) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
put(String, String) - Method in class io.reactivex.netty.contexts.MapBackedKeySupplier
 

R

register(Channel) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
register(Channel, ChannelPromise) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
removeContext(String) - Method in interface io.reactivex.netty.contexts.ContextsContainer
Removes a context with name contextName added previously in this request scope via ContextsContainer.addContext(String, String) or ContextsContainer.addContext(String, Object, ContextSerializer)

The context could have been set in a different service and transferred here on the wire.

removeContext(String) - Method in class io.reactivex.netty.contexts.ContextsContainerImpl
 
REQUEST_IDS_KEY - Static variable in class io.reactivex.netty.contexts.http.HttpRequestIdProvider
 
RequestCorrelator - Interface in io.reactivex.netty.contexts
Passing contexts from inbound request processing to outbound request sending can be very application specific.
RequestIdGenerator - Interface in io.reactivex.netty.contexts
 
requestIdProvider - Variable in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
requestIdProvider - Variable in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
RequestIdProvider - Interface in io.reactivex.netty.contexts
All contexts held by ContextsContainer are specific to a request and in order to uniquiely identify a request we require an identifier.
RxContexts - Class in io.reactivex.netty.contexts
A factory class to create RxClient and RxServer objects which are context aware.

S

schedule(Callable<V>, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
schedule(Runnable, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
serialize(T) - Method in interface com.netflix.server.context.ContextSerializer
Serializes the passed object toSerialize
serialize(T, DirectionAwareContextSerializer.Direction) - Method in interface com.netflix.server.context.DirectionAwareContextSerializer
Serializes the passed object toSerialize
serialize(T) - Method in class com.netflix.server.context.DirectionAwareSerializerAdapter
 
setContainer(ChannelHandlerContext, String, ContextsContainer) - Static method in class io.reactivex.netty.contexts.ContextAttributeStorageHelper
 
setContainer(ContextsContainer) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
setRequestId(String) - Method in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 
shutdown() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
Deprecated.
shutdownGracefully() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
shutdownGracefully(long, long, TimeUnit) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
shutdownNow() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
Deprecated.
sseClientConfigurator(RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
sseServerConfigurator(RequestIdProvider, RequestCorrelator) - Static method in class io.reactivex.netty.contexts.ContextPipelineConfigurators
 
state - Static variable in class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
submit(Callable<T>) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
submit(Runnable) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
submit(Runnable, T) - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 

T

terminationFuture() - Method in class io.reactivex.netty.contexts.ContextAwareEventLoopGroup
 
ThreadLocalRequestCorrelator - Class in io.reactivex.netty.contexts
An implementation of RequestCorrelator that fetches ContextsContainer and request Identifer from ThreadLocal variables.
ThreadLocalRequestCorrelator() - Constructor for class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator
 
ThreadLocalRequestCorrelator.ThreadStateHolder - Class in io.reactivex.netty.contexts
 
ThreadStateHolder() - Constructor for class io.reactivex.netty.contexts.ThreadLocalRequestCorrelator.ThreadStateHolder
 

U

useRequestIdContextKey(String) - Static method in class io.reactivex.netty.contexts.RxContexts
Default Context key name used for extracting the request Id.
userEventTriggered(ChannelHandlerContext, Object) - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 

V

valueOf(String) - Static method in enum com.netflix.server.context.DirectionAwareContextSerializer.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.server.context.DirectionAwareContextSerializer.Direction
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.reactivex.netty.contexts.AbstractClientContextHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.reactivex.netty.contexts.AbstractServerContextHandler
 
A B C D E G H I L M N O P R S T U V W 
Skip navigation links