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

A

AbstractNettyClient<Req extends com.linkedin.r2.message.Request,Res extends com.linkedin.r2.message.Response> - Class in com.linkedin.r2.transport.http.client.common
Abstract class implementation of TransportClient on top of Netty libraries.
AbstractNettyClient(ScheduledExecutorService, long, long, AbstractJmxManager, ChannelPoolManager, ChannelPoolManager) - Constructor for class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
Creates a new HttpNettyClient
AbstractNettyClient(ChannelPoolFactory, ScheduledExecutorService, int, int) - Constructor for class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
AbstractNettyStreamClient - Class in com.linkedin.r2.transport.http.client.stream
Abstract stream based abstract class implementation of TransportClient on top of Netty libraries.
AbstractNettyStreamClient(EventLoopGroup, ScheduledExecutorService, long, long, ExecutorService, AbstractJmxManager, ChannelPoolManager, ChannelPoolManager) - Constructor for class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
Creates a new HttpNettyClient
AbstractNettyStreamClient(ChannelPoolFactory, ScheduledExecutorService, int, int) - Constructor for class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
 

B

BASE_NAME - Static variable in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
build() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
build() - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
build() - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
Builder() - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
buildHttp2Stream(ChannelPoolManagerKey) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactory
 
buildHttp2Stream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactoryImpl
 
buildHttp2Stream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ConnectionSharingChannelPoolManagerFactory
 
buildHttp2Stream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.EventAwareChannelPoolManagerFactory
 
buildRest(ChannelPoolManagerKey) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactory
 
buildRest(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactoryImpl
 
buildRest(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ConnectionSharingChannelPoolManagerFactory
 
buildRest(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.EventAwareChannelPoolManagerFactory
 
buildStream(ChannelPoolManagerKey) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactory
 
buildStream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactoryImpl
 
buildStream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.ConnectionSharingChannelPoolManagerFactory
 
buildStream(ChannelPoolManagerKey) - Method in class com.linkedin.r2.transport.http.client.common.EventAwareChannelPoolManagerFactory
 
buildStreamResponse(HttpResponse) - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageDecoders.ResponseDecoder
 
buildStreamResponse(Http2Headers) - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders.ResponseDecoder
Create a StreamResponseBuilder that has all the http/2 headers and cookies setup in it.

C

cancel() - Method in class com.linkedin.r2.netty.common.StreamingTimeout
 
CancelTimeoutHandler - Class in com.linkedin.r2.netty.handler.common
An implementation of ChannelInboundHandler that is responsible for cancelling the request timeout ScheduledFuture upon response completion, exception, or channel inactive events.
CancelTimeoutHandler() - Constructor for class com.linkedin.r2.netty.handler.common.CancelTimeoutHandler
 
cancelWaiters() - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
 
cancelWaiters() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
CertificateHandler - Class in com.linkedin.r2.netty.handler.common
In the case the user requires the Server verification, we extract the generated session and we run a validity check on it
CertificateHandler(SslHandler) - Constructor for class com.linkedin.r2.netty.handler.common.CertificateHandler
 
CHANNEL_CREATION_TIME_KEY - Static variable in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
CHANNEL_POOL - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the channel AsyncPool.
CHANNEL_SESSION_RESUMPTION_HANDLER - Static variable in class com.linkedin.r2.netty.handler.common.SessionResumptionSslHandler
 
channelActive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.common.CancelTimeoutHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.common.ChannelLifecycleHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.common.ClientEntityStreamHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.http2.Http2AlpnHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 
ChannelLifecycleHandler - Class in com.linkedin.r2.netty.handler.common
An implementation of ChannelInboundHandler that returns or disposes the Channel to the channel AsyncPool upon receiving response completion, exception, or channel inactive events.
ChannelLifecycleHandler(boolean) - Constructor for class com.linkedin.r2.netty.handler.common.ChannelLifecycleHandler
 
ChannelPipelineEvent - Enum in com.linkedin.r2.netty.common
Enumerates the user events potentially raised in the ChannelPipeline.
CHANNELPOOL_SSL_CALLBACK_HANDLER - Static variable in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
ChannelPoolFactory - Interface in com.linkedin.r2.transport.http.client.common
 
ChannelPoolLifecycle - Class in com.linkedin.r2.transport.http.client.common
 
ChannelPoolLifecycle(SocketAddress, Bootstrap, ChannelGroup, boolean) - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
ChannelPoolManager - Interface in com.linkedin.r2.transport.http.client.common
Interface of a ChannelPoolManager that manages the lifecycle and returns on demand connection pools to a specific host/port
ChannelPoolManagerFactory - Interface in com.linkedin.r2.transport.http.client.common
Interface of the Factory class to create the right instance of ChannelPoolManagerImpl given a set of transport properties ChannelPoolManagerKey.
ChannelPoolManagerFactoryImpl - Class in com.linkedin.r2.transport.http.client.common
Factory class to create the right instance of ChannelPoolManagerImpl given a set of transport properties ChannelPoolManagerKey.
ChannelPoolManagerFactoryImpl(EventLoopGroup, ScheduledExecutorService, boolean, boolean, int, int, int) - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactoryImpl
 
ChannelPoolManagerImpl - Class in com.linkedin.r2.transport.http.client.common
 
ChannelPoolManagerImpl(ChannelPoolFactory, ChannelGroup, ScheduledExecutorService) - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
ChannelPoolManagerImpl(ChannelPoolFactory, String, ChannelGroup, ScheduledExecutorService) - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
ChannelPoolManagerKey - Class in com.linkedin.r2.transport.http.client.common
Class to store transport properties to create a channel pool manager
ChannelPoolManagerKey(SSLContext, SSLParameters, int, long, long, int, int, long, int, int, int, int, AsyncPoolImpl.Strategy, boolean, String) - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
ChannelPoolManagerKeyBuilder - Class in com.linkedin.r2.transport.http.client.common
Convenient class for building ChannelPoolManagerKey with reasonable default configs.
ChannelPoolManagerKeyBuilder() - Constructor for class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
channelRead(ChannelHandlerContext, Object) - Method in class com.linkedin.r2.netty.handler.common.ClientEntityStreamHandler
 
clientEncode(List<String>) - Static method in class com.linkedin.r2.transport.http.util.CookieUtil
Encodes list of cookies in to an RFC 6265 compliant single line cookie header value
ClientEntityStreamHandler - Class in com.linkedin.r2.netty.handler.common
Implementation of ChannelDuplexHandler that is responsible for sending StreamRequest, receiving StreamResponseBuilder and response entity in the form of ByteStrings.
ClientEntityStreamHandler(long) - Constructor for class com.linkedin.r2.netty.handler.common.ClientEntityStreamHandler
 
com.linkedin.r2.netty.callback - package com.linkedin.r2.netty.callback
 
com.linkedin.r2.netty.client - package com.linkedin.r2.netty.client
 
com.linkedin.r2.netty.client.http - package com.linkedin.r2.netty.client.http
 
com.linkedin.r2.netty.client.http2 - package com.linkedin.r2.netty.client.http2
 
com.linkedin.r2.netty.common - package com.linkedin.r2.netty.common
 
com.linkedin.r2.netty.entitystream - package com.linkedin.r2.netty.entitystream
 
com.linkedin.r2.netty.handler.common - package com.linkedin.r2.netty.handler.common
 
com.linkedin.r2.netty.handler.http - package com.linkedin.r2.netty.handler.http
 
com.linkedin.r2.netty.handler.http2 - package com.linkedin.r2.netty.handler.http2
 
com.linkedin.r2.transport.http.client - package com.linkedin.r2.transport.http.client
 
com.linkedin.r2.transport.http.client.common - package com.linkedin.r2.transport.http.client.common
 
com.linkedin.r2.transport.http.client.common.ssl - package com.linkedin.r2.transport.http.client.common.ssl
 
com.linkedin.r2.transport.http.client.rest - package com.linkedin.r2.transport.http.client.rest
 
com.linkedin.r2.transport.http.client.stream - package com.linkedin.r2.transport.http.client.stream
 
com.linkedin.r2.transport.http.client.stream.http - package com.linkedin.r2.transport.http.client.stream.http
 
com.linkedin.r2.transport.http.client.stream.http2 - package com.linkedin.r2.transport.http.client.stream.http2
 
com.linkedin.r2.transport.http.server - package com.linkedin.r2.transport.http.server
 
com.linkedin.r2.transport.http.util - package com.linkedin.r2.transport.http.util
 
configurePipeline(ChannelHandlerContext, String) - Method in class com.linkedin.r2.netty.handler.http2.Http2AlpnHandler
 
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class com.linkedin.r2.netty.handler.common.SessionResumptionSslHandler
 
ConnectionSharingChannelPoolManagerFactory - Class in com.linkedin.r2.transport.http.client.common
ChannelPoolManagerFactory class that re-uses already created ChannelPoolManager instances
ConnectionSharingChannelPoolManagerFactory(ChannelPoolManagerFactory) - Constructor for class com.linkedin.r2.transport.http.client.common.ConnectionSharingChannelPoolManagerFactory
 
CookieUtil - Class in com.linkedin.r2.transport.http.util
 
CookieUtil() - Constructor for class com.linkedin.r2.transport.http.util.CookieUtil
 
create(Callback<Channel>) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
createServer(int, TransportDispatcher) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerFactory
Deprecated.
 
createServer(int, int, TransportDispatcher) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerFactory
Deprecated.
 

D

decode(ChannelHandlerContext, HttpContent, List<Object>) - Method in class com.linkedin.r2.netty.handler.http.HttpMessageDecoders.DataDecoder
 
decode(ChannelHandlerContext, HttpResponse, List<Object>) - Method in class com.linkedin.r2.netty.handler.http.HttpMessageDecoders.ResponseDecoder
 
decode(ChannelHandlerContext, Http2DataFrame, List<Object>) - Method in class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders.DataDecoder
 
decode(ChannelHandlerContext, Http2HeadersFrame, List<Object>) - Method in class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders.ResponseDecoder
 
DEFAULT_CHANNELPOOL_WAITER_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_CLIENT_NAME - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_CONNECT_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_GRACEFUL_SHUTDOWN_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_IDLE_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MAX_CHUNK_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MAX_CLIENT_REQUEST_RETRY_RATIO - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MAX_CONCURRENT_CONNECTIONS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MAX_HEADER_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MAX_RESPONSE_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_MINIMUM_STREAMING_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_NETTY_HTTP_SERVER_PORT - Static variable in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
DEFAULT_POOL_MIN_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_POOL_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_POOL_STATS_NAME_PREFIX - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_POOL_STRATEGY - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_POOL_WAITER_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_QUERY_POST_THRESHOLD - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_REQUEST_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_RESPONSE_CONTENT_ENCODINGS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_SHARE_CONNECTION - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_SHUTDOWN_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_SSL_HANDSHAKE_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_SSL_IDLE_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_STREAM_RESPONSE_CONTENT_ENCODINGS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_STREAMING_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_TCP_NO_DELAY - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
DEFAULT_THREAD_POOL_SIZE - Static variable in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
DEFAULT_THREAD_POOL_SIZE - Static variable in class com.linkedin.r2.transport.http.server.HttpNettyServerFactory
Deprecated.
 
DELIMITER - Static variable in class com.linkedin.r2.transport.http.util.CookieUtil
 
destroy(Channel, boolean, Callback<Channel>) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
doWriteRequest(Req, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<Res>, long) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
Writes the given request to the given socket address and invokes the callback after request is sent.
doWriteRequest(RestRequest, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<RestResponse>, long) - Method in class com.linkedin.r2.transport.http.client.rest.HttpNettyClient
 
doWriteRequest(StreamRequest, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<StreamResponse>, long) - Method in class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
 
doWriteRequestWithWireAttrHeaders(Request, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<StreamResponse>, long) - Method in class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
 
doWriteRequestWithWireAttrHeaders(Request, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<StreamResponse>, long) - Method in class com.linkedin.r2.transport.http.client.stream.http.HttpNettyStreamClient
 
doWriteRequestWithWireAttrHeaders(Request, RequestContext, SocketAddress, Map<String, String>, TimeoutTransportCallback<StreamResponse>, long) - Method in class com.linkedin.r2.transport.http.client.stream.http2.Http2NettyStreamClient
 

E

encode(ChannelHandlerContext, ByteString, List<Object>) - Method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders.DataEncoder
 
encode(ChannelHandlerContext, RestRequest, List<Object>) - Method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders.RestRequestEncoder
 
encode(ChannelHandlerContext, StreamRequest, List<Object>) - Method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders.StreamRequestEncoder
 
encode(ChannelHandlerContext, ByteString, List<Object>) - Method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders.DataEncoder
 
encode(ChannelHandlerContext, RestRequest, List<Object>) - Method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders.RestRequestEncoder
 
encode(ChannelHandlerContext, StreamRequest, List<Object>) - Method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders.StreamRequestEncoder
 
EOF - Static variable in class com.linkedin.r2.netty.entitystream.StreamReader
 
EOF - Static variable in class com.linkedin.r2.netty.entitystream.StreamWriter
The static instance of ByteString represents the end-of-file of the writer.
equals(Object) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
ErrorChannelFutureListener - Class in com.linkedin.r2.transport.http.client.common
Implementation of ChannelFutureListener that listens for failures, wrap the caught throwable with ChannelException, and logs additional information about the channel before forwarding the wrapped exception to the ChannelPipeline.
ErrorChannelFutureListener() - Constructor for class com.linkedin.r2.transport.http.client.common.ErrorChannelFutureListener
 
errorResponse(TransportCallback<T>, Throwable) - Static method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
EventAwareChannelPoolManagerFactory - Class in com.linkedin.r2.transport.http.client.common
A decorator implementation of ChannelPoolManagerFactory that registers every ChannelPoolManager created against a EventProviderRegistry and unregisters upon the shutdown event of each ChannelPoolManager.
EventAwareChannelPoolManagerFactory(ChannelPoolManagerFactory, EventProviderRegistry) - Constructor for class com.linkedin.r2.transport.http.client.common.EventAwareChannelPoolManagerFactory
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.common.CancelTimeoutHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.common.ChannelLifecycleHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.common.ClientEntityStreamHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.http2.Http2AlpnHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 

F

filters(FilterChain) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
flush(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.common.CertificateHandler
 

G

get(ChannelHandlerContext, Http2Connection, int, AttributeKey<Http2Connection.PropertyKey>) - Static method in class com.linkedin.r2.transport.http.client.stream.http2.Http2PipelinePropertyUtil
 
getAllChannels() - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
 
getAllChannels() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
getChannelPoolManagerPerRequest(Request) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
getClient(Map<String, ? extends Object>) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
getClientSslHandler(SSLContext, SSLParameters, String, int) - Static method in class com.linkedin.r2.netty.common.SslHandlerUtil
 
getExecutionCallback(TransportCallback<Res>) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
Given a callback, returns the wrapped callback that will be executed on a custom executor
getExecutionCallback(TransportCallback<RestResponse>) - Method in class com.linkedin.r2.transport.http.client.rest.HttpNettyClient
 
getExecutionCallback(TransportCallback<StreamResponse>) - Method in class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
 
getGracefulShutdownTimeout() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getIdleTimeout() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMaxChunkSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMaxConcurrentConnectionInitializations() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMaxHeaderSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMaxPoolSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMaxResponseSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getMinPoolSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getName() - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
 
getName() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
getName() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
The name is determined by an hash on the transport properties
getPool(SocketAddress) - Method in class com.linkedin.r2.netty.client.http.HttpChannelPoolFactory
 
getPool(SocketAddress) - Method in class com.linkedin.r2.netty.client.http2.Http2ChannelPoolFactory
 
getPool(SocketAddress) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolFactory
Returns a new pool of Channels to a specific host.
getPool(SocketAddress) - Method in class com.linkedin.r2.transport.http.client.rest.HttpNettyChannelPoolFactory
 
getPool(SocketAddress) - Method in class com.linkedin.r2.transport.http.client.stream.http.HttpNettyStreamChannelPoolFactory
 
getPool(SocketAddress) - Method in class com.linkedin.r2.transport.http.client.stream.http2.Http2NettyStreamChannelPoolFactory
 
getPoolForAddress(SocketAddress) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
 
getPoolForAddress(SocketAddress) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
getPoolStats() - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
Gets statistics from each channel pool.
getPoolStats() - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
Get statistics from each pool.
getPoolStats() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
getPoolStatsNamePrefix() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getPoolWaiterSize() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getServerSslHandler(SSLContext, SSLParameters) - Static method in class com.linkedin.r2.netty.common.SslHandlerUtil
 
getSslContext() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getSslHandler(SSLContext, SSLParameters, boolean) - Static method in class com.linkedin.r2.netty.common.SslHandlerUtil
 
getSslParameters() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
getSslTimingCallback(Channel, RequestContext, TransportCallback<T>) - Static method in class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
getStats() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
getStrategy() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 

H

handlerAdded(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
handlerAdded(ChannelHandlerContext) - Method in class com.linkedin.r2.netty.handler.http2.UnsupportedHandler
 
handshakeFailure(ChannelHandlerContext, Throwable) - Method in class com.linkedin.r2.netty.handler.http2.Http2AlpnHandler
 
hashCode() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 
Http2AlpnHandler - Class in com.linkedin.r2.netty.handler.http2
Netty handler to configure a ChannelPipeline upon successful ALPN to H2 by SslHandler.
Http2AlpnHandler(ChannelPromise, Http2Settings) - Constructor for class com.linkedin.r2.netty.handler.http2.Http2AlpnHandler
 
Http2ChannelPoolFactory - Class in com.linkedin.r2.netty.client.http2
Factory class to produce AsyncPool<Channel> for Http2 channels
Http2ChannelPoolFactory(ScheduledExecutorService, EventLoopGroup, ChannelGroup, AsyncPoolImpl.Strategy, SSLContext, SSLParameters, int, int, int, int, int, int, long, long, boolean, boolean, int, int) - Constructor for class com.linkedin.r2.netty.client.http2.Http2ChannelPoolFactory
 
Http2MessageDecoders - Class in com.linkedin.r2.netty.handler.http2
Inbound ChannelHandler implementation that decodes Http2HeadersFrame and Http2DataFrame into StreamResponseBuilder and ByteString.
Http2MessageDecoders() - Constructor for class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders
 
Http2MessageDecoders.DataDecoder - Class in com.linkedin.r2.netty.handler.http2
 
Http2MessageDecoders.ResponseDecoder - Class in com.linkedin.r2.netty.handler.http2
 
Http2MessageEncoders - Class in com.linkedin.r2.netty.handler.http2
Outbound ChannelHandler implementations that encodes StreamRequest and request entity in the form of ByteString into Http2HeadersFrame and Http2DataFrame.
Http2MessageEncoders() - Constructor for class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders
 
Http2MessageEncoders.DataEncoder - Class in com.linkedin.r2.netty.handler.http2
 
Http2MessageEncoders.RestRequestEncoder - Class in com.linkedin.r2.netty.handler.http2
 
Http2MessageEncoders.StreamRequestEncoder - Class in com.linkedin.r2.netty.handler.http2
 
Http2NettyStreamChannelPoolFactory - Class in com.linkedin.r2.transport.http.client.stream.http2
It generates Pools of Channels for HttpNettyStreamClient
Http2NettyStreamChannelPoolFactory(long, int, int, boolean, ScheduledExecutorService, SSLContext, SSLParameters, int, int, int, long, boolean, EventLoopGroup, ChannelGroup, int, int) - Constructor for class com.linkedin.r2.transport.http.client.stream.http2.Http2NettyStreamChannelPoolFactory
 
Http2NettyStreamClient - Class in com.linkedin.r2.transport.http.client.stream.http2
 
Http2NettyStreamClient(EventLoopGroup, ScheduledExecutorService, long, long, ExecutorService, AbstractJmxManager, ChannelPoolManager, ChannelPoolManager) - Constructor for class com.linkedin.r2.transport.http.client.stream.http2.Http2NettyStreamClient
Creates a new Http2NettyStreamClient
Http2PipelinePropertyUtil - Class in com.linkedin.r2.transport.http.client.stream.http2
Util for setting, retrieving and removing properties in Http2 streams
Http2ProtocolUpgradeHandler - Class in com.linkedin.r2.netty.handler.http2
A handler that triggers the clear text upgrade to HTTP/2 upon adding to pipeline by sending an initial HTTP OPTIONS request with connection upgrade headers.
Http2ProtocolUpgradeHandler(ChannelPromise) - Constructor for class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 
HTTP_GRACEFUL_SHUTDOWN_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_IDLE_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_MAX_CHUNK_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_MAX_CLIENT_REQUEST_RETRY_RATIO - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_MAX_CONCURRENT_CONNECTIONS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_MAX_HEADER_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_MAX_RESPONSE_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_POOL_MIN_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_POOL_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_POOL_STATS_NAME_PREFIX - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_POOL_STRATEGY - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_POOL_WAITER_SIZE - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_PROTOCOL_VERSION - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_QUERY_POST_THRESHOLD - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_REQUEST_CONTENT_ENCODINGS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_REQUEST_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_RESPONSE_COMPRESSION_OPERATIONS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_RESPONSE_CONTENT_ENCODINGS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_SERVICE_NAME - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_SHUTDOWN_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_SSL_CONTEXT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_SSL_IDLE_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_SSL_PARAMS - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_STREAMING_TIMEOUT - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_TCP_NO_DELAY - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HTTP_USE_RESPONSE_COMPRESSION - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
HttpChannelPoolFactory - Class in com.linkedin.r2.netty.client.http
Factory class to produce AsyncPool<Channel> for Http Channels
HttpChannelPoolFactory(ScheduledExecutorService, EventLoopGroup, ChannelGroup, AsyncPoolImpl.Strategy, SSLContext, SSLParameters, int, int, int, int, int, int, int, long, long, boolean, boolean, int, int, int) - Constructor for class com.linkedin.r2.netty.client.http.HttpChannelPoolFactory
 
HttpClientFactory - Class in com.linkedin.r2.transport.http.client
A factory for HttpNettyClient instances.
HttpClientFactory() - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(ExecutorService, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, boolean, int, Map<String, CompressionConfig>, Executor) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, boolean, Executor) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, boolean, Executor, HttpProtocolVersion) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, Executor, HttpProtocolVersion) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, Executor, HttpProtocolVersion, boolean) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory(FilterChain, EventLoopGroup, boolean, ScheduledExecutorService, boolean, ExecutorService, boolean, AbstractJmxManager, int, Map<String, CompressionConfig>, Map<String, CompressionConfig>, Executor, HttpProtocolVersion, boolean, EventProviderRegistry) - Constructor for class com.linkedin.r2.transport.http.client.HttpClientFactory
Deprecated.
HttpClientFactory.Builder - Class in com.linkedin.r2.transport.http.client
 
HttpMessageDecoders - Class in com.linkedin.r2.netty.handler.http
Inbound ChannelHandler implementation that decodes HttpResponse and HttpContent into StreamResponseBuilder and ByteString.
HttpMessageDecoders() - Constructor for class com.linkedin.r2.netty.handler.http.HttpMessageDecoders
 
HttpMessageDecoders.DataDecoder - Class in com.linkedin.r2.netty.handler.http
 
HttpMessageDecoders.ResponseDecoder - Class in com.linkedin.r2.netty.handler.http
 
HttpMessageEncoders - Class in com.linkedin.r2.netty.handler.http
Outbound ChannelHandler implementations that encodes StreamRequest and request entity in the form of ByteString into HttpRequest and HttpContent.
HttpMessageEncoders() - Constructor for class com.linkedin.r2.netty.handler.http.HttpMessageEncoders
 
HttpMessageEncoders.DataEncoder - Class in com.linkedin.r2.netty.handler.http
 
HttpMessageEncoders.RestRequestEncoder - Class in com.linkedin.r2.netty.handler.http
 
HttpMessageEncoders.StreamRequestEncoder - Class in com.linkedin.r2.netty.handler.http
 
HttpNettyChannelPoolFactory - Class in com.linkedin.r2.transport.http.client.rest
it generates Pools of Channels for HttpNettyClient
HttpNettyChannelPoolFactory(int, long, int, AsyncPoolImpl.Strategy, int, EventLoopGroup, SSLContext, SSLParameters, int, int, int, ScheduledExecutorService, int, boolean, ChannelGroup, int, int, int) - Constructor for class com.linkedin.r2.transport.http.client.rest.HttpNettyChannelPoolFactory
 
HttpNettyClient - Class in com.linkedin.r2.netty.client
Netty implementation of TransportClient
HttpNettyClient(EventLoopGroup, ScheduledExecutorService, ExecutorService, ChannelPoolManager, ChannelPoolManager, HttpProtocolVersion, Clock, long, long, long) - Constructor for class com.linkedin.r2.netty.client.HttpNettyClient
Creates a new instance of HttpNettyClient.
HttpNettyClient - Class in com.linkedin.r2.transport.http.client.rest
 
HttpNettyClient(EventLoopGroup, ScheduledExecutorService, long, long, ExecutorService, AbstractJmxManager, ChannelPoolManager, ChannelPoolManager) - Constructor for class com.linkedin.r2.transport.http.client.rest.HttpNettyClient
Creates a new HttpNettyClient
HttpNettyClient(ChannelPoolFactory, ScheduledExecutorService, int, int) - Constructor for class com.linkedin.r2.transport.http.client.rest.HttpNettyClient
 
HttpNettyServerBuilder - Class in com.linkedin.r2.transport.http.server
Convenient class for building HttpNettyServer with reasonable default configs.
HttpNettyServerBuilder() - Constructor for class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
HttpNettyServerFactory - Class in com.linkedin.r2.transport.http.server
Deprecated.
HttpNettyServerFactory() - Constructor for class com.linkedin.r2.transport.http.server.HttpNettyServerFactory
Deprecated.
 
HttpNettyServerFactory(FilterChain) - Constructor for class com.linkedin.r2.transport.http.server.HttpNettyServerFactory
Deprecated.
 
HttpNettyServerPipelineInitializer - Class in com.linkedin.r2.transport.http.server
 
HttpNettyStreamChannelPoolFactory - Class in com.linkedin.r2.transport.http.client.stream.http
It generates Pools of Channels for Http2NettyStreamClient
HttpNettyStreamChannelPoolFactory(int, long, int, AsyncPoolImpl.Strategy, int, boolean, ScheduledExecutorService, int, SSLContext, SSLParameters, int, int, long, boolean, EventLoopGroup, ChannelGroup, int, int, int) - Constructor for class com.linkedin.r2.transport.http.client.stream.http.HttpNettyStreamChannelPoolFactory
 
HttpNettyStreamClient - Class in com.linkedin.r2.transport.http.client.stream.http
 
HttpNettyStreamClient(EventLoopGroup, ScheduledExecutorService, long, long, ExecutorService, AbstractJmxManager, ChannelPoolManager, ChannelPoolManager) - Constructor for class com.linkedin.r2.transport.http.client.stream.http.HttpNettyStreamClient
Creates a new HttpNettyStreamClient
HttpNettyStreamClient(ChannelPoolFactory, ScheduledExecutorService, int, int) - Constructor for class com.linkedin.r2.transport.http.client.stream.http.HttpNettyStreamClient
 

I

initChannel(NioSocketChannel) - Method in class com.linkedin.r2.transport.http.client.stream.http.RAPStreamClientPipelineInitializer
 
initChannel(NioSocketChannel) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerPipelineInitializer
 
INITIAL_PERIOD_BEFORE_RETRY_CONNECTIONS - Static variable in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
When back-off policies are triggered in channel creation for the first time, this is the amount in ms to wait before a second attempt
INITIALIZATION_FUTURE - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the Promise that sets after ALPN is complete.
isTcpNoDelay() - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKey
 

M

MAX_PERIOD_BEFORE_RETRY_CONNECTIONS - Static variable in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
Maximum period in ms between retries for creating a channel in back-off policies

N

NettyChannelAttributes - Interface in com.linkedin.r2.netty.common
Lists all AttributeKey used to access the channel attributes.
NettyClientState - Enum in com.linkedin.r2.netty.common
Enumerates all states the HttpNettyClient can be in.
NettyRequestAdapter - Class in com.linkedin.r2.netty.common
Adapts R2 requests to Netty requests
newDataDecoder() - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageDecoders
 
newDataDecoder() - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders
 
newDataEncoder() - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders
 
newDataEncoder() - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders
 
newResponseDecoder() - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageDecoders
 
newResponseDecoder() - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageDecoders
 
newRestRequestEncoder() - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders
 
newRestRequestEncoder() - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders
 
newStreamRequestEncoder() - Static method in class com.linkedin.r2.netty.handler.http.HttpMessageEncoders
 
newStreamRequestEncoder() - Static method in class com.linkedin.r2.netty.handler.http2.Http2MessageEncoders
 

O

onAbort(Throwable) - Method in class com.linkedin.r2.netty.entitystream.StreamWriter
 
onDataAvailable(ByteString) - Method in class com.linkedin.r2.netty.entitystream.StreamReader
 
onDataAvailable(ByteString) - Method in class com.linkedin.r2.netty.entitystream.StreamWriter
Notifies the writer that bytes are available from the ChannelPipeline.
onDataAvailable(ByteString) - Method in class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
 
onDone() - Method in class com.linkedin.r2.netty.entitystream.StreamReader
 
onDone() - Method in class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
 
onError(Throwable) - Method in class com.linkedin.r2.netty.entitystream.StreamReader
 
onError(Throwable) - Method in class com.linkedin.r2.netty.entitystream.StreamWriter
Notifies the writer that a ChannelPipeline error is encountered.
onError(Throwable) - Method in class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
 
onInit(ReadHandle) - Method in class com.linkedin.r2.netty.entitystream.StreamReader
 
onInit(WriteHandle) - Method in class com.linkedin.r2.netty.entitystream.StreamWriter
 
onInit(ReadHandle) - Method in class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
 
onResponse(TransportResponse<StreamResponse>) - Method in class com.linkedin.r2.netty.callback.StreamExecutionCallback
 
onWritePossible() - Method in class com.linkedin.r2.netty.entitystream.StreamWriter
 
operationComplete(ChannelFuture) - Method in class com.linkedin.r2.transport.http.client.common.ErrorChannelFutureListener
 
OrderedEntityStreamReader - Class in com.linkedin.r2.transport.http.client.stream
A Reader wrapper which ensures the reader callbacks are executed in the order they called by the writer wrapped reader callbacks are queued to be invoked by the dedicated single threaded EventLoop
OrderedEntityStreamReader(ChannelHandlerContext, Reader) - Constructor for class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
Construct a new instance.

P

PIPELINE_CERTIFICATE_HANDLER - Static variable in class com.linkedin.r2.netty.handler.common.CertificateHandler
 
PIPELINE_SESSION_RESUMPTION_HANDLER - Static variable in class com.linkedin.r2.netty.handler.common.SessionResumptionSslHandler
 
PIPELINE_SSL_HANDLER - Static variable in class com.linkedin.r2.netty.common.SslHandlerUtil
 
PIPELINE_V2_MATURITY_LEVEL - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
Helper constant to allow specify which version of pipeline v2 the code is running on.
port(int) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
processChannelActive(ChannelHandlerContext, Logger, ChannelPromise) - Static method in class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 

R

RAPStreamClientPipelineInitializer - Class in com.linkedin.r2.transport.http.client.stream.http
Netty HTTP/1.1 streaming implementation of ChannelInitializer
refreshLastActiveTime() - Method in class com.linkedin.r2.netty.common.StreamingTimeout
 
remove(ChannelHandlerContext, Http2Connection, int, AttributeKey<Http2Connection.PropertyKey>) - Static method in class com.linkedin.r2.transport.http.client.stream.http2.Http2PipelinePropertyUtil
 
request(int) - Method in class com.linkedin.r2.transport.http.client.stream.OrderedEntityStreamReader
 
resolveAddress(Request, RequestContext) - Static method in class com.linkedin.r2.netty.client.HttpNettyClient
Resolves the IP Address from the URI host
resolveRequestTimeout(RequestContext, long) - Static method in class com.linkedin.r2.netty.client.HttpNettyClient
Resolves the request timeout based on the client configured timeout, request timeout, and preemptive request timeout rate.
RESPONSE_CALLBACK - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the channel response TransportCallback.
RESPONSE_WRITER - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the StreamWriter responsible for writing response data from the ChannelPipeline to the EntityStream.
restRequest(RestRequest, RequestContext, Map<String, String>, TransportCallback<RestResponse>) - Method in class com.linkedin.r2.netty.client.HttpNettyClient
 
restRequest(RestRequest, RequestContext, Map<String, String>, TransportCallback<RestResponse>) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
restRequest(RestRequest, RequestContext, Map<String, String>, TransportCallback<RestResponse>) - Method in class com.linkedin.r2.transport.http.client.stream.AbstractNettyStreamClient
 

S

SchemeHandler - Class in com.linkedin.r2.netty.handler.common
A handler that enforces the scheme of every request.
SchemeHandler(String) - Constructor for class com.linkedin.r2.netty.handler.common.SchemeHandler
 
ServerCertPrincipalNameMismatchException - Exception in com.linkedin.r2.transport.http.client.common
Exception used internally when the client cannot confirm the identity of the server through the Principal name check
ServerCertPrincipalNameMismatchException(String, String) - Constructor for exception com.linkedin.r2.transport.http.client.common.ServerCertPrincipalNameMismatchException
 
SessionResumptionSslHandler - Class in com.linkedin.r2.netty.handler.common
SSL handshake, is often an expensive operation.
SessionResumptionSslHandler(SslContext, boolean, int) - Constructor for class com.linkedin.r2.netty.handler.common.SessionResumptionSslHandler
 
SessionResumptionSslHandler(SSLContext, SSLParameters, boolean, int) - Constructor for class com.linkedin.r2.netty.handler.common.SessionResumptionSslHandler
 
set(ChannelHandlerContext, Http2Connection, int, AttributeKey<Http2Connection.PropertyKey>, T) - Static method in class com.linkedin.r2.transport.http.client.stream.http2.Http2PipelinePropertyUtil
 
setCallbackExecutor(ExecutorService) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setChannelPoolWaiterTimeout(int) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setCompressionExecutor(Executor) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setConnectTimeout(int) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setDefaultHttpVersion(HttpProtocolVersion) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setEventLoopGroup(EventLoopGroup) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setEventProviderRegistry(EventProviderRegistry) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setFilterChain(FilterChain) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setGracefulShutdownTimeout(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setHttpHeadersAndCookies(RestRequest, URL, HttpRequest) - Static method in class com.linkedin.r2.netty.common.NettyRequestAdapter
Set Http Request Headers and Cookies on Netty's HttpRequest
setIdleTimeout(long) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setJmxManager(AbstractJmxManager) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setMaxChunkSize(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setMaxConcurrentConnectionInitializations(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
In case of failure, this is the maximum number or connection that can be retried to establish at the same time
setMaxHeaderSize(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setMaxPoolSize(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setMaxResponseSize(long) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setMinPoolSize(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setNioEventLoopGroup(NioEventLoopGroup) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
setPipelineV2MinimumMaturityLevel(int) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setPoolStatsNamePrefix(String) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setPoolWaiterSize(int) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
PoolWaiterSize is the max # of concurrent waiters for getting a connection/stream from the AsyncPool
setRequestCompressionConfigs(Map<String, CompressionConfig>) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setRequestCompressionThresholdDefault(int) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setResponseCompressionConfigs(Map<String, CompressionConfig>) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setScheduleExecutorService(ScheduledExecutorService) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setShareConnection(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setShutdownCallbackExecutor(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setShutDownFactory(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setShutdownScheduledExecutorService(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setSSLContext(SSLContext) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setSslHandShakeTimeout(int) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setSslIdleTimeout(long) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setSSLParameters(SSLParameters) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setSSLSessionResumption(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setStrategy(AsyncPoolImpl.Strategy) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setTcpNoDelay(boolean) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerKeyBuilder
 
setUseClientCompression(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
setUsePipelineV2(boolean) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory.Builder
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.netty.client.HttpNettyClient
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
shutdown(Callback<None>, Runnable, Runnable, long) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManager
 
shutdown(Callback<None>) - Method in interface com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactory
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerFactoryImpl
The standard ChannelPoolManagerFactoryImpl is stateless, and doesn't need to do any operation at shutdown
shutdown(Callback<None>, Runnable, Runnable, long) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.common.ConnectionSharingChannelPoolManagerFactory
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.common.EventAwareChannelPoolManagerFactory
 
shutdown(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory
Initiates an orderly shutdown of the factory wherein no more clients will be created, and the shutdown will complete when all existing clients have been shut down.
shutdown(Callback<None>, long, TimeUnit) - Method in class com.linkedin.r2.transport.http.client.HttpClientFactory
shutdownPool(Callback<None>) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolManagerImpl
 
ShutdownTimeoutException - Exception in com.linkedin.r2.netty.common
 
ShutdownTimeoutException(String) - Constructor for exception com.linkedin.r2.netty.common.ShutdownTimeoutException
 
SSL_HANDSHAKE_START_TIME - Static variable in class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
SSL_HANDSHAKE_TIMING_HANDLER - Static variable in class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
SSL_SESSION_VALIDATOR - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the SslSessionValidator.
sslContext(SSLContext) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
SslHandlerUtil - Class in com.linkedin.r2.netty.common
 
SslHandlerUtil() - Constructor for class com.linkedin.r2.netty.common.SslHandlerUtil
 
SslHandshakeTimingHandler - Class in com.linkedin.r2.netty.handler.common
An SSL handler that records time in establishing a handshake.
SslHandshakeTimingHandler(Future<Channel>) - Constructor for class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
sslParameters(SSLParameters) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
SslSessionNotTrustedException - Exception in com.linkedin.r2.transport.http.client.common.ssl
Exception used internally when the client cannot confirm the identity of the server through the session validity check
SslSessionNotTrustedException() - Constructor for exception com.linkedin.r2.transport.http.client.common.ssl.SslSessionNotTrustedException
 
SslSessionNotTrustedException(String) - Constructor for exception com.linkedin.r2.transport.http.client.common.ssl.SslSessionNotTrustedException
 
SslSessionNotTrustedException(String, Throwable) - Constructor for exception com.linkedin.r2.transport.http.client.common.ssl.SslSessionNotTrustedException
 
SslSessionNotTrustedException(Throwable) - Constructor for exception com.linkedin.r2.transport.http.client.common.ssl.SslSessionNotTrustedException
 
SslSessionValidator - Interface in com.linkedin.r2.transport.http.client.common.ssl
The interface is used to verify the validity of a session.
StreamExecutionCallback - Class in com.linkedin.r2.netty.callback
A TransportCallback wrapper which ensures the #onResponse() method of the wrapped callback is always invoked by the dedicated ExecutorService.
StreamExecutionCallback(ExecutorService, TransportCallback<StreamResponse>) - Constructor for class com.linkedin.r2.netty.callback.StreamExecutionCallback
Construct a new instance.
STREAMING_TIMEOUT_FUTURE - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the channel ScheduledFuture that trigger stream idle timeout Exception.
STREAMING_TIMEOUT_MESSAGE - Static variable in class com.linkedin.r2.netty.common.StreamingTimeout
 
StreamingTimeout - Class in com.linkedin.r2.netty.common
Scheduler to raise TimeoutException when streaming is timed out.
StreamingTimeout(ScheduledExecutorService, long, Channel, Clock) - Constructor for class com.linkedin.r2.netty.common.StreamingTimeout
Creates a new instance of StreamingTimeout.
StreamReader - Class in com.linkedin.r2.netty.entitystream
Entity stream Reader implementation that reads from the entity stream and writes to the Netty pipeline.
StreamReader(ChannelHandlerContext) - Constructor for class com.linkedin.r2.netty.entitystream.StreamReader
 
streamRequest(StreamRequest, RequestContext, Map<String, String>, TransportCallback<StreamResponse>) - Method in class com.linkedin.r2.netty.client.HttpNettyClient
 
streamRequest(StreamRequest, RequestContext, Map<String, String>, TransportCallback<StreamResponse>) - Method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
streamRequest(StreamRequest, RequestContext, Map<String, String>, TransportCallback<StreamResponse>) - Method in class com.linkedin.r2.transport.http.client.rest.HttpNettyClient
 
StreamWriter - Class in com.linkedin.r2.netty.entitystream
Entity stream Writer implementation that receives data from the Netty pipeline and writes to the entity stream.
StreamWriter(ChannelHandlerContext, long) - Constructor for class com.linkedin.r2.netty.entitystream.StreamWriter
 

T

threadPoolSize(int) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
TIMEOUT_FUTURE - Static variable in interface com.linkedin.r2.netty.common.NettyChannelAttributes
Attribute for the channel Timeout that trigger various tasks upon expire.
TIMING_KEY - Static variable in class com.linkedin.r2.netty.handler.common.SslHandshakeTimingHandler
 
toException(Throwable) - Static method in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
toHttp2Headers(R) - Static method in class com.linkedin.r2.netty.common.NettyRequestAdapter
Extracts fields from a Request and construct a Http2Headers instance.
toNettyRequest(RestRequest) - Static method in class com.linkedin.r2.netty.common.NettyRequestAdapter
Adapts a RestRequest to Netty's HttpRequest
toNettyRequest(StreamRequest) - Static method in class com.linkedin.r2.netty.common.NettyRequestAdapter
Adapts a StreamRequest to Netty's HttpRequest
transportDispatcher(TransportDispatcher) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 

U

UnknownSchemeException - Exception in com.linkedin.r2.netty.common
Exception used internally when a scheme is not known
UnknownSchemeException(String) - Constructor for exception com.linkedin.r2.netty.common.UnknownSchemeException
 
UNLIMITED_CLIENT_REQUEST_RETRY_RATIO - Static variable in class com.linkedin.r2.transport.http.client.HttpClientFactory
 
UnsupportedHandler - Class in com.linkedin.r2.netty.handler.http2
On the client side, server initiated streams are not supported at the moment.
UnsupportedHandler() - Constructor for class com.linkedin.r2.netty.handler.http2.UnsupportedHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.linkedin.r2.netty.handler.common.CancelTimeoutHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.linkedin.r2.netty.handler.common.ChannelLifecycleHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.linkedin.r2.netty.handler.http2.Http2ProtocolUpgradeHandler
 

V

validateGet(Channel) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
validatePeerSession(SSLSession) - Method in interface com.linkedin.r2.transport.http.client.common.ssl.SslSessionValidator
 
validatePut(Channel) - Method in class com.linkedin.r2.transport.http.client.common.ChannelPoolLifecycle
 
validateSslParameters(SSLContext, SSLParameters) - Static method in class com.linkedin.r2.netty.common.SslHandlerUtil
 
valueOf(String) - Static method in enum com.linkedin.r2.netty.common.ChannelPipelineEvent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.linkedin.r2.netty.common.NettyClientState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.linkedin.r2.netty.common.ChannelPipelineEvent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.linkedin.r2.netty.common.NettyClientState
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.linkedin.r2.netty.handler.common.CertificateHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.linkedin.r2.netty.handler.common.ClientEntityStreamHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class com.linkedin.r2.netty.handler.common.SchemeHandler
 

_

_restOverStream(boolean) - Method in class com.linkedin.r2.transport.http.server.HttpNettyServerBuilder
 
_scheduler - Variable in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
_state - Variable in class com.linkedin.r2.transport.http.client.common.AbstractNettyClient
 
A B C D E F G H I M N O P R S T U V W _ 
Skip navigation links