- AbstractRemoteAddressFilter<T extends SocketAddress> - Class in io.netty.handler.ipfilter
-
This class provides the functionality to either accept or reject new Channel
s
based on their IP address.
- AbstractRemoteAddressFilter() - Constructor for class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
- AbstractTrafficShapingHandler - Class in io.netty.handler.traffic
-
- AbstractTrafficShapingHandler(long, long, long, long) - Constructor for class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- AbstractTrafficShapingHandler(long, long, long) - Constructor for class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Constructor using default max time as delay allowed value of
15000L ms.
- AbstractTrafficShapingHandler(long, long) - Constructor for class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Constructor using default Check Interval value of
1000L ms and
default max time as delay allowed value of
15000L ms.
- AbstractTrafficShapingHandler() - Constructor for class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Constructor using NO LIMIT, default Check Interval value of
1000L ms and
default max time as delay allowed value of
15000L ms.
- AbstractTrafficShapingHandler(long) - Constructor for class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Constructor using NO LIMIT and
default max time as delay allowed value of
15000L ms.
- accelerationFactor() - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- accept(ChannelHandlerContext, T) - Method in class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
This method is called immediately after a Channel
gets registered.
- accept(ChannelHandlerContext, InetSocketAddress) - Method in class io.netty.handler.ipfilter.RuleBasedIpFilter
-
- accept(ChannelHandlerContext, InetSocketAddress) - Method in class io.netty.handler.ipfilter.UniqueIpFilter
-
- accept() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of started SSL/TLS handshakes in server mode.
- acceptGood() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of successfully established SSL/TLS sessions in server mode.
- acceptRenegotiate() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of start renegotiations in server mode.
- AES_KEY_SIZE - Static variable in class io.netty.handler.ssl.OpenSslSessionTicketKey
-
Size of session ticket key AES key
- aesKey() - Method in class io.netty.handler.ssl.OpenSslSessionTicketKey
-
Get AES Key.
- ALL_IDLE_STATE_EVENT - Static variable in class io.netty.handler.timeout.IdleStateEvent
-
- applicationProtocol() - Method in class io.netty.handler.ssl.SslHandler
-
Returns the name of the current application-level protocol.
- ApplicationProtocolConfig - Class in io.netty.handler.ssl
-
- ApplicationProtocolConfig(ApplicationProtocolConfig.Protocol, ApplicationProtocolConfig.SelectorFailureBehavior, ApplicationProtocolConfig.SelectedListenerFailureBehavior, Iterable<String>) - Constructor for class io.netty.handler.ssl.ApplicationProtocolConfig
-
Create a new instance.
- ApplicationProtocolConfig(ApplicationProtocolConfig.Protocol, ApplicationProtocolConfig.SelectorFailureBehavior, ApplicationProtocolConfig.SelectedListenerFailureBehavior, String...) - Constructor for class io.netty.handler.ssl.ApplicationProtocolConfig
-
Create a new instance.
- applicationProtocolConfig(ApplicationProtocolConfig) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Application protocol negotiation configuration.
- ApplicationProtocolConfig.Protocol - Enum in io.netty.handler.ssl
-
Defines which application level protocol negotiation to use.
- ApplicationProtocolConfig.SelectedListenerFailureBehavior - Enum in io.netty.handler.ssl
-
Defines the most common behaviors for the peer which is notified of the selected protocol.
- ApplicationProtocolConfig.SelectorFailureBehavior - Enum in io.netty.handler.ssl
-
Defines the most common behaviors for the peer that selects the application protocol.
- ApplicationProtocolNames - Class in io.netty.handler.ssl
-
Provides a set of protocol names used in ALPN and NPN.
- ApplicationProtocolNegotiationHandler - Class in io.netty.handler.ssl
-
Configures a
ChannelPipeline
depending on the application-level protocol negotiation result of
SslHandler
.
- ApplicationProtocolNegotiationHandler(String) - Constructor for class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
Creates a new instance with the specified fallback protocol name.
- ApplicationProtocolNegotiator - Interface in io.netty.handler.ssl
-
Interface to support Application Protocol Negotiation.
- applicationProtocolNegotiator() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- applicationProtocolNegotiator() - Method in class io.netty.handler.ssl.JdkSslContext
-
- applicationProtocolNegotiator() - Method in class io.netty.handler.ssl.OpenSslContext
-
- applicationProtocolNegotiator() - Method in class io.netty.handler.ssl.SslContext
-
Returns the object responsible for negotiating application layer protocols for the TLS NPN/ALPN extensions.
- availableCipherSuites() - Static method in class io.netty.handler.ssl.OpenSsl
-
- availableJavaCipherSuites() - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns all the available cipher suites (Java-style).
- availableOpenSslCipherSuites() - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns all the available OpenSSL cipher suites.
- cacheFull() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of sessions that were removed because the maximum session cache size was exceeded.
- calculateSize(Object) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Calculate the size of the given
Object
.
- cause() - Method in class io.netty.handler.ssl.SslHandshakeCompletionEvent
-
- cbHits() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of successfully retrieved sessions from the external session cache in server mode.
- cert() - Method in class io.netty.handler.ssl.util.SelfSignedCertificate
-
Returns the generated X.509 certificate.
- certificate() - Method in class io.netty.handler.ssl.util.SelfSignedCertificate
-
Returns the generated X.509 certificate file in PEM format.
- certificates(byte[][]) - Static method in class io.netty.handler.ssl.OpenSslContext
-
- channelAccepted(ChannelHandlerContext, T) - Method in class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
- channelActive(ChannelHandlerContext) - Method in class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
- channelActive(ChannelHandlerContext) - Method in class io.netty.handler.logging.LoggingHandler
-
- channelActive(ChannelHandlerContext) - Method in class io.netty.handler.ssl.SslHandler
-
Issues an initial TLS handshake once connected when used in client-mode
- channelActive(ChannelHandlerContext) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelIdle(ChannelHandlerContext, IdleStateEvent) - Method in class io.netty.handler.timeout.ReadTimeoutHandler
-
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.logging.LoggingHandler
-
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.ssl.SslHandler
-
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.stream.ChunkedWriteHandler
-
- channelInactive(ChannelHandlerContext) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.flush.FlushConsolidationHandler
-
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.logging.LoggingHandler
-
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.flush.FlushConsolidationHandler
-
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.ssl.SslHandler
-
- channelReadComplete(ChannelHandlerContext) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.handler.logging.LoggingHandler
-
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.handler.timeout.IdleStateHandler
-
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- channelRejected(ChannelHandlerContext, T) - Method in class io.netty.handler.ipfilter.AbstractRemoteAddressFilter
-
- channelTrafficCounters() - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
To allow for instance doAccounting to use the TrafficCounter per channel.
- ChannelTrafficShapingHandler - Class in io.netty.handler.traffic
-
This implementation of the
AbstractTrafficShapingHandler
is for channel
traffic shaping, that is to say a per channel limitation of the bandwidth.
- ChannelTrafficShapingHandler(long, long, long, long) - Constructor for class io.netty.handler.traffic.ChannelTrafficShapingHandler
-
Create a new instance.
- ChannelTrafficShapingHandler(long, long, long) - Constructor for class io.netty.handler.traffic.ChannelTrafficShapingHandler
-
Create a new instance using default
max time as delay allowed value of 15000 ms.
- ChannelTrafficShapingHandler(long, long) - Constructor for class io.netty.handler.traffic.ChannelTrafficShapingHandler
-
Create a new instance using default Check Interval value of 1000 ms and
max time as delay allowed value of 15000 ms.
- ChannelTrafficShapingHandler(long) - Constructor for class io.netty.handler.traffic.ChannelTrafficShapingHandler
-
Create a new instance using
default max time as delay allowed value of 15000 ms and no limit.
- channelUnregistered(ChannelHandlerContext) - Method in class io.netty.handler.logging.LoggingHandler
-
- channelWritabilityChanged(ChannelHandlerContext) - Method in class io.netty.handler.flush.FlushConsolidationHandler
-
- channelWritabilityChanged(ChannelHandlerContext) - Method in class io.netty.handler.stream.ChunkedWriteHandler
-
- checkInterval - Variable in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Delay between two performance snapshots
- checkInterval() - Method in class io.netty.handler.traffic.TrafficCounter
-
- checkValidity() - Method in class io.netty.handler.ssl.PemX509Certificate
-
- checkValidity(Date) - Method in class io.netty.handler.ssl.PemX509Certificate
-
- checkWaitReadTime(ChannelHandlerContext, long, long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- chooseTrustManager(TrustManager[]) - Static method in class io.netty.handler.ssl.OpenSslContext
-
- chooseX509KeyManager(KeyManager[]) - Static method in class io.netty.handler.ssl.OpenSslContext
-
- ChunkedFile - Class in io.netty.handler.stream
-
A
ChunkedInput
that fetches data from a file chunk by chunk.
- ChunkedFile(File) - Constructor for class io.netty.handler.stream.ChunkedFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedFile(File, int) - Constructor for class io.netty.handler.stream.ChunkedFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedFile(RandomAccessFile) - Constructor for class io.netty.handler.stream.ChunkedFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedFile(RandomAccessFile, int) - Constructor for class io.netty.handler.stream.ChunkedFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedFile(RandomAccessFile, long, long, int) - Constructor for class io.netty.handler.stream.ChunkedFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedInput<B> - Interface in io.netty.handler.stream
-
- ChunkedNioFile - Class in io.netty.handler.stream
-
- ChunkedNioFile(File) - Constructor for class io.netty.handler.stream.ChunkedNioFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedNioFile(File, int) - Constructor for class io.netty.handler.stream.ChunkedNioFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedNioFile(FileChannel) - Constructor for class io.netty.handler.stream.ChunkedNioFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedNioFile(FileChannel, int) - Constructor for class io.netty.handler.stream.ChunkedNioFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedNioFile(FileChannel, long, long, int) - Constructor for class io.netty.handler.stream.ChunkedNioFile
-
Creates a new instance that fetches data from the specified file.
- ChunkedNioStream - Class in io.netty.handler.stream
-
- ChunkedNioStream(ReadableByteChannel) - Constructor for class io.netty.handler.stream.ChunkedNioStream
-
Creates a new instance that fetches data from the specified channel.
- ChunkedNioStream(ReadableByteChannel, int) - Constructor for class io.netty.handler.stream.ChunkedNioStream
-
Creates a new instance that fetches data from the specified channel.
- ChunkedStream - Class in io.netty.handler.stream
-
- ChunkedStream(InputStream) - Constructor for class io.netty.handler.stream.ChunkedStream
-
Creates a new instance that fetches data from the specified stream.
- ChunkedStream(InputStream, int) - Constructor for class io.netty.handler.stream.ChunkedStream
-
Creates a new instance that fetches data from the specified stream.
- ChunkedWriteHandler - Class in io.netty.handler.stream
-
A
ChannelHandler
that adds support for writing a large data stream
asynchronously neither spending a lot of memory nor getting
OutOfMemoryError
.
- ChunkedWriteHandler() - Constructor for class io.netty.handler.stream.ChunkedWriteHandler
-
- ChunkedWriteHandler(int) - Constructor for class io.netty.handler.stream.ChunkedWriteHandler
-
- ciphers(Iterable<String>) - Method in class io.netty.handler.ssl.SslContextBuilder
-
The cipher suites to enable, in the order of preference.
- ciphers(Iterable<String>, CipherSuiteFilter) - Method in class io.netty.handler.ssl.SslContextBuilder
-
The cipher suites to enable, in the order of preference.
- CipherSuiteFilter - Interface in io.netty.handler.ssl
-
Provides a means to filter the supplied cipher suite based upon the supported and default cipher suites.
- cipherSuites() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- cipherSuites() - Method in class io.netty.handler.ssl.JdkSslContext
-
- cipherSuites() - Method in class io.netty.handler.ssl.OpenSslContext
-
- cipherSuites() - Method in class io.netty.handler.ssl.SslContext
-
Returns the list of enabled cipher suites, in the order of preference.
- ClientAuth - Enum in io.netty.handler.ssl
-
Indicates the state of the
SSLEngine
with respect to client authentication.
- clientAuth(ClientAuth) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Sets the client authentication mode.
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.flush.FlushConsolidationHandler
-
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.logging.LoggingHandler
-
- close() - Method in class io.netty.handler.ssl.SslHandler
-
Sends an SSL
close_notify
message to the specified channel and
destroys the underlying
SSLEngine
.
- close(ChannelPromise) - Method in class io.netty.handler.ssl.SslHandler
-
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.handler.ssl.SslHandler
-
- close() - Method in class io.netty.handler.stream.ChunkedFile
-
- close() - Method in interface io.netty.handler.stream.ChunkedInput
-
Releases the resources associated with the input.
- close() - Method in class io.netty.handler.stream.ChunkedNioFile
-
- close() - Method in class io.netty.handler.stream.ChunkedNioStream
-
- close() - Method in class io.netty.handler.stream.ChunkedStream
-
- closeInbound() - Method in class io.netty.handler.ssl.OpenSslEngine
-
- closeOutbound() - Method in class io.netty.handler.ssl.OpenSslEngine
-
- configure(long, long, long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Change the underlying limitations and check interval.
- configure(long, long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Change the underlying limitations.
- configure(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Change the check interval.
- configure(long) - Method in class io.netty.handler.traffic.TrafficCounter
-
Change checkInterval between two computations in millisecond.
- configureChannel(long, long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- configurePipeline(ChannelHandlerContext, String) - Method in class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
Invoked on successful initial SSL/TLS handshake.
- connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.handler.logging.LoggingHandler
-
- connect() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of started SSL/TLS handshakes in client mode.
- connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.handler.ssl.SslHandler
-
- connectGood() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of successfully established SSL/TLS sessions in client mode.
- connectRenegotiate() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of start renegotiations in client mode.
- content() - Method in class io.netty.handler.ssl.PemPrivateKey
-
- content() - Method in class io.netty.handler.ssl.PemX509Certificate
-
- context() - Method in class io.netty.handler.ssl.JdkSslContext
-
Returns the JDK
SSLContext
object held by this context.
- context() - Method in class io.netty.handler.ssl.OpenSslContext
-
- copy() - Method in class io.netty.handler.ssl.PemPrivateKey
-
- copy() - Method in class io.netty.handler.ssl.PemX509Certificate
-
- ctx - Variable in class io.netty.handler.ssl.OpenSslContext
-
The OpenSSL SSL_CTX object
- cumulativeReadBytes() - Method in class io.netty.handler.traffic.TrafficCounter
-
- cumulativeWrittenBytes() - Method in class io.netty.handler.traffic.TrafficCounter
-
- currentOffset() - Method in class io.netty.handler.stream.ChunkedFile
-
Returns the offset in the file where the transfer is happening currently.
- currentOffset() - Method in class io.netty.handler.stream.ChunkedNioFile
-
Returns the offset in the file where the transfer is happening currently.
- currentReadBytes() - Method in class io.netty.handler.traffic.TrafficCounter
-
- currentWrittenBytes() - Method in class io.netty.handler.traffic.TrafficCounter
-
- IdentityCipherSuiteFilter - Class in io.netty.handler.ssl
-
This class will not do any filtering of ciphers suites.
- IdleState - Enum in io.netty.handler.timeout
-
An
Enum
that represents the idle state of a
Channel
.
- IdleStateEvent - Class in io.netty.handler.timeout
-
- IdleStateEvent(IdleState, boolean) - Constructor for class io.netty.handler.timeout.IdleStateEvent
-
Constructor for sub-classes.
- IdleStateHandler - Class in io.netty.handler.timeout
-
Triggers an
IdleStateEvent
when a
Channel
has not performed
read, write, or both operation for a while.
- IdleStateHandler(int, int, int) - Constructor for class io.netty.handler.timeout.IdleStateHandler
-
- IdleStateHandler(long, long, long, TimeUnit) - Constructor for class io.netty.handler.timeout.IdleStateHandler
-
- informReadOperation(ChannelHandlerContext, long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- initEngine(SSLEngine) - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- InsecureTrustManagerFactory - Class in io.netty.handler.ssl.util
-
- INSTANCE - Static variable in class io.netty.handler.ssl.IdentityCipherSuiteFilter
-
- INSTANCE - Static variable in class io.netty.handler.ssl.SupportedCipherSuiteFilter
-
- INSTANCE - Static variable in class io.netty.handler.ssl.util.InsecureTrustManagerFactory
-
- INSTANCE - Static variable in exception io.netty.handler.timeout.ReadTimeoutException
-
- INSTANCE - Static variable in exception io.netty.handler.timeout.WriteTimeoutException
-
- internalLevel - Variable in class io.netty.handler.logging.LoggingHandler
-
- io.netty.handler.flush - package io.netty.handler.flush
-
Package to control flush behavior.
- io.netty.handler.ipfilter - package io.netty.handler.ipfilter
-
Package to filter IP addresses (allow/deny).
- io.netty.handler.logging - package io.netty.handler.logging
-
Logs a io.netty.channel.ChannelEvent
for debugging purpose.
- io.netty.handler.ssl - package io.netty.handler.ssl
-
- io.netty.handler.ssl.util - package io.netty.handler.ssl.util
-
Utility classes that helps easier development of TLS/SSL applications.
- io.netty.handler.stream - package io.netty.handler.stream
-
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError
.
- io.netty.handler.timeout - package io.netty.handler.timeout
-
Adds support for read and write timeout and idle connection notification
using a Timer
.
- io.netty.handler.traffic - package io.netty.handler.traffic
-
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
- IpFilterRule - Interface in io.netty.handler.ipfilter
-
Implement this interface to create new rules.
- IpFilterRuleType - Enum in io.netty.handler.ipfilter
-
Used in
IpFilterRule
to decide if a matching IP Address should be allowed or denied to connect.
- IpSubnetFilterRule - Class in io.netty.handler.ipfilter
-
Use this class to create rules for
RuleBasedIpFilter
that group IP addresses into subnets.
- IpSubnetFilterRule(String, int, IpFilterRuleType) - Constructor for class io.netty.handler.ipfilter.IpSubnetFilterRule
-
- IpSubnetFilterRule(InetAddress, int, IpFilterRuleType) - Constructor for class io.netty.handler.ipfilter.IpSubnetFilterRule
-
- isAlpnSupported() - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns
true
if the used version of openssl supports
ALPN.
- isAvailable() - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns
true
if and only if
netty-tcnative
and its OpenSSL support
are available.
- isCipherSuiteAvailable(String) - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns true
if and only if the specified cipher suite is available in OpenSSL.
- isClient() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- isClient() - Method in class io.netty.handler.ssl.JdkSslContext
-
- isClient() - Method in class io.netty.handler.ssl.OpenSslContext
-
- isClient() - Method in class io.netty.handler.ssl.SslContext
-
Returns the true
if and only if this context is for client-side.
- isDestroyed() - Method in class io.netty.handler.ssl.PemPrivateKey
-
NOTE: This is a JDK8 interface/method.
- isEncrypted(ByteBuf) - Static method in class io.netty.handler.ssl.SslHandler
-
Returns true
if the given ByteBuf
is encrypted.
- isEndOfInput() - Method in class io.netty.handler.stream.ChunkedFile
-
- isEndOfInput() - Method in interface io.netty.handler.stream.ChunkedInput
-
Return true
if and only if there is no data left in the stream
and the stream has reached at its end.
- isEndOfInput() - Method in class io.netty.handler.stream.ChunkedNioFile
-
- isEndOfInput() - Method in class io.netty.handler.stream.ChunkedNioStream
-
- isEndOfInput() - Method in class io.netty.handler.stream.ChunkedStream
-
- isFirst() - Method in class io.netty.handler.timeout.IdleStateEvent
-
Returns
true
if this was the first event for the
IdleState
- isHandlerActive(ChannelHandlerContext) - Static method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- isInboundDone() - Method in class io.netty.handler.ssl.OpenSslEngine
-
- isOutboundDone() - Method in class io.netty.handler.ssl.OpenSslEngine
-
- isSensitive() - Method in class io.netty.handler.ssl.PemPrivateKey
-
- isSensitive() - Method in class io.netty.handler.ssl.PemX509Certificate
-
- isServer() - Method in class io.netty.handler.ssl.SslContext
-
Returns true
if and only if this context is for server-side.
- isSessionCacheEnabled() - Method in class io.netty.handler.ssl.OpenSslServerSessionContext
-
- isSessionCacheEnabled() - Method in class io.netty.handler.ssl.OpenSslSessionContext
-
Return true
if caching of SSL sessions is enabled, false
otherwise.
- isSuccess() - Method in class io.netty.handler.ssl.SslHandshakeCompletionEvent
-
Return true
if the handshake was successful
- select(List<String>) - Method in interface io.netty.handler.ssl.JdkApplicationProtocolNegotiator.ProtocolSelector
-
Callback invoked to select the application level protocol from the protocols
provided.
- selected(String) - Method in interface io.netty.handler.ssl.JdkApplicationProtocolNegotiator.ProtocolSelectionListener
-
Callback invoked to let this application know the protocol chosen by the peer.
- selectedListenerFailureBehavior() - Method in class io.netty.handler.ssl.ApplicationProtocolConfig
-
Get the desired behavior for the peer who is notified of the selected protocol.
- selectedListenerFailureBehavior() - Method in interface io.netty.handler.ssl.OpenSslApplicationProtocolNegotiator
-
Get the desired behavior for the peer who is notified of the selected protocol.
- selectedListenerFailureBehavior() - Method in class io.netty.handler.ssl.OpenSslDefaultApplicationProtocolNegotiator
-
- selectedListenerFailureBehavior() - Method in class io.netty.handler.ssl.OpenSslNpnApplicationProtocolNegotiator
-
Deprecated.
- selectorFailureBehavior() - Method in class io.netty.handler.ssl.ApplicationProtocolConfig
-
Get the desired behavior for the peer who selects the application protocol.
- selectorFailureBehavior() - Method in interface io.netty.handler.ssl.OpenSslApplicationProtocolNegotiator
-
Get the desired behavior for the peer who selects the application protocol.
- selectorFailureBehavior() - Method in class io.netty.handler.ssl.OpenSslDefaultApplicationProtocolNegotiator
-
- selectorFailureBehavior() - Method in class io.netty.handler.ssl.OpenSslNpnApplicationProtocolNegotiator
-
Deprecated.
- SelfSignedCertificate - Class in io.netty.handler.ssl.util
-
Generates a temporary self-signed certificate for testing purposes.
- SelfSignedCertificate() - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- SelfSignedCertificate(Date, Date) - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- SelfSignedCertificate(String) - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- SelfSignedCertificate(String, Date, Date) - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- SelfSignedCertificate(String, SecureRandom, int) - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- SelfSignedCertificate(String, SecureRandom, int, Date, Date) - Constructor for class io.netty.handler.ssl.util.SelfSignedCertificate
-
Creates a new instance.
- sessionCacheSize() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- sessionCacheSize() - Method in class io.netty.handler.ssl.JdkSslContext
-
- sessionCacheSize() - Method in class io.netty.handler.ssl.OpenSslContext
-
- sessionCacheSize() - Method in class io.netty.handler.ssl.SslContext
-
Returns the size of the cache used for storing SSL session objects.
- sessionCacheSize(long) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Set the size of the cache used for storing SSL session objects.
- sessionContext() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- sessionContext() - Method in class io.netty.handler.ssl.JdkSslContext
-
- sessionContext() - Method in class io.netty.handler.ssl.OpenSslClientContext
-
- sessionContext() - Method in class io.netty.handler.ssl.OpenSslContext
-
- sessionContext() - Method in class io.netty.handler.ssl.OpenSslServerContext
-
- sessionContext() - Method in class io.netty.handler.ssl.SslContext
-
- sessionTimeout() - Method in class io.netty.handler.ssl.DelegatingSslContext
-
- sessionTimeout() - Method in class io.netty.handler.ssl.JdkSslContext
-
- sessionTimeout() - Method in class io.netty.handler.ssl.OpenSslContext
-
- sessionTimeout() - Method in class io.netty.handler.ssl.SslContext
-
Returns the timeout for the cached SSL session objects, in seconds.
- sessionTimeout(long) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Set the timeout for the cached SSL session objects, in seconds.
- setCheckInterval(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- setCloseNotifyTimeout(long, TimeUnit) - Method in class io.netty.handler.ssl.SslHandler
-
- setCloseNotifyTimeoutMillis(long) - Method in class io.netty.handler.ssl.SslHandler
-
- setEnabledCipherSuites(String[]) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setEnabledProtocols(String[]) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setEnableSessionCreation(boolean) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setHandshakeTimeout(long, TimeUnit) - Method in class io.netty.handler.ssl.SslHandler
-
- setHandshakeTimeoutMillis(long) - Method in class io.netty.handler.ssl.SslHandler
-
- setMaxDeviation(float, float, float) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- setMaxGlobalWriteSize(long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- setMaxGlobalWriteSize(long) - Method in class io.netty.handler.traffic.GlobalTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- setMaxTimeWait(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- setMaxWriteDelay(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- setMaxWriteSize(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Note that this limit is a best effort on memory limitation to prevent Out Of
Memory Exception.
- setNeedClientAuth(boolean) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setReadChannelLimit(long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- setReadLimit(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- setRejectRemoteInitiatedRenegotiation(boolean) - Method in class io.netty.handler.ssl.OpenSslContext
-
Specify if remote initiated renegotiation is supported or not.
- setSessionCacheEnabled(boolean) - Method in class io.netty.handler.ssl.OpenSslServerSessionContext
-
- setSessionCacheEnabled(boolean) - Method in class io.netty.handler.ssl.OpenSslSessionContext
-
Enable or disable caching of SSL sessions.
- setSessionCacheSize(int) - Method in class io.netty.handler.ssl.OpenSslServerSessionContext
-
- setSessionIdContext(byte[]) - Method in class io.netty.handler.ssl.OpenSslServerSessionContext
-
- setSessionTimeout(int) - Method in class io.netty.handler.ssl.OpenSslServerSessionContext
-
- setSSLParameters(SSLParameters) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setTicketKeys(byte[]) - Method in class io.netty.handler.ssl.OpenSslContext
-
- setTicketKeys(byte[]) - Method in class io.netty.handler.ssl.OpenSslSessionContext
-
- setTicketKeys(OpenSslSessionTicketKey...) - Method in class io.netty.handler.ssl.OpenSslSessionContext
-
Sets the SSL session ticket keys of this context.
- setUseClientMode(boolean) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setWantClientAuth(boolean) - Method in class io.netty.handler.ssl.OpenSslEngine
-
- setWriteChannelLimit(long) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- setWriteLimit(long) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Note the change will be taken as best effort, meaning
that all already scheduled traffics will not be
changed, but only applied to new traffics.
- shutdown() - Method in class io.netty.handler.ssl.OpenSslEngine
-
Destroys this engine.
- SimpleTrustManagerFactory - Class in io.netty.handler.ssl.util
-
- SimpleTrustManagerFactory() - Constructor for class io.netty.handler.ssl.util.SimpleTrustManagerFactory
-
Creates a new instance.
- SimpleTrustManagerFactory(String) - Constructor for class io.netty.handler.ssl.util.SimpleTrustManagerFactory
-
Creates a new instance.
- slowDownFactor() - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- SniHandler - Class in io.netty.handler.ssl
-
- SniHandler(DomainNameMapping<? extends SslContext>) - Constructor for class io.netty.handler.ssl.SniHandler
-
Create a SNI detection handler with configured
SslContext
maintained by
DomainNameMapping
- SPDY_1 - Static variable in class io.netty.handler.ssl.ApplicationProtocolNames
-
"spdy/1"
: SPDY version 1
- SPDY_2 - Static variable in class io.netty.handler.ssl.ApplicationProtocolNames
-
"spdy/2"
: SPDY version 2
- SPDY_3 - Static variable in class io.netty.handler.ssl.ApplicationProtocolNames
-
"spdy/3"
: SPDY version 3
- SPDY_3_1 - Static variable in class io.netty.handler.ssl.ApplicationProtocolNames
-
"spdy/3.1"
: SPDY version 3.1
- sslCloseFuture() - Method in class io.netty.handler.ssl.SslHandler
-
Return the
Future
that will get notified if the inbound of the
SSLEngine
is closed.
- sslContext() - Method in class io.netty.handler.ssl.SniHandler
-
- SslContext - Class in io.netty.handler.ssl
-
- SslContextBuilder - Class in io.netty.handler.ssl
-
Builder for configuring a new SslContext for creation.
- sslCtxPointer() - Method in class io.netty.handler.ssl.OpenSslContext
-
- SslHandler - Class in io.netty.handler.ssl
-
Adds
SSL
· TLS and StartTLS support to a
Channel
.
- SslHandler(SSLEngine) - Constructor for class io.netty.handler.ssl.SslHandler
-
Creates a new instance.
- SslHandler(SSLEngine, boolean) - Constructor for class io.netty.handler.ssl.SslHandler
-
Creates a new instance.
- SslHandler(SSLEngine, Executor) - Constructor for class io.netty.handler.ssl.SslHandler
-
- SslHandler(SSLEngine, boolean, Executor) - Constructor for class io.netty.handler.ssl.SslHandler
-
- SslHandshakeCompletionEvent - Class in io.netty.handler.ssl
-
Event that is fired once the SSL handshake is complete, which may be because it was successful or there
was an error.
- SslHandshakeCompletionEvent(Throwable) - Constructor for class io.netty.handler.ssl.SslHandshakeCompletionEvent
-
Creates a new event that indicates an unsuccessful handshake.
- sslPointer() - Method in class io.netty.handler.ssl.OpenSslEngine
-
- sslProvider(SslProvider) - Method in class io.netty.handler.ssl.SslContextBuilder
-
- SslProvider - Enum in io.netty.handler.ssl
-
An enumeration of SSL/TLS protocol providers.
- start() - Method in class io.netty.handler.traffic.GlobalChannelTrafficCounter
-
Start the monitoring process.
- start() - Method in class io.netty.handler.traffic.TrafficCounter
-
Start the monitoring process.
- startOffset() - Method in class io.netty.handler.stream.ChunkedFile
-
Returns the offset in the file where the transfer began.
- startOffset() - Method in class io.netty.handler.stream.ChunkedNioFile
-
Returns the offset in the file where the transfer began.
- state() - Method in class io.netty.handler.timeout.IdleStateEvent
-
Returns the idle state.
- stats() - Method in class io.netty.handler.ssl.OpenSslContext
-
Deprecated.
use #sessionContext#stats()
- stats() - Method in class io.netty.handler.ssl.OpenSslSessionContext
-
Returns the stats of this context.
- stop() - Method in class io.netty.handler.traffic.GlobalChannelTrafficCounter
-
Stop the monitoring process.
- stop() - Method in class io.netty.handler.traffic.TrafficCounter
-
Stop the monitoring process.
- submitWrite(ChannelHandlerContext, Object, long, ChannelPromise) - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Deprecated.
- submitWrite(ChannelHandlerContext, Object, long, long, long, ChannelPromise) - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- SUCCESS - Static variable in class io.netty.handler.ssl.SslHandshakeCompletionEvent
-
- SupportedCipherSuiteFilter - Class in io.netty.handler.ssl
-
This class will filter all requested ciphers out that are not supported by the current
SSLEngine
.
- supportedProtocols() - Method in class io.netty.handler.ssl.ApplicationProtocolConfig
-
The application level protocols supported.
- supportsKeyManagerFactory() - Static method in class io.netty.handler.ssl.OpenSsl
-
- TICKET_KEY_SIZE - Static variable in class io.netty.handler.ssl.OpenSslSessionTicketKey
-
Size of session ticker key
- ticketKeyFail() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of times a client presented a ticket that did not match any key in the list.
- ticketKeyNew() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of times a client did not present a ticket and we issued a new one
- ticketKeyRenew() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of times a client presented a ticket derived from an older key,
and we upgraded to the primary key.
- ticketKeyResume() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of times a client presented a ticket derived from the primary key.
- TimeoutException - Exception in io.netty.handler.timeout
-
A
TimeoutException
when no data was either read or written within a
certain period of time.
- timeouts() - Method in class io.netty.handler.ssl.OpenSslSessionStats
-
Returns the number of sessions proposed by clients and either found in the internal or external session cache
in server mode, but that were invalid due to timeout.
- toString() - Method in class io.netty.handler.ssl.PemX509Certificate
-
- toString() - Method in class io.netty.handler.ssl.SslHandshakeCompletionEvent
-
- toString() - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- toString() - Method in class io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
-
- toString() - Method in class io.netty.handler.traffic.TrafficCounter
-
- trafficCounter - Variable in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
Traffic Counter
- trafficCounter() - Method in class io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- TrafficCounter - Class in io.netty.handler.traffic
-
Counts the number of read and written bytes for rate-limiting traffic.
- TrafficCounter(ScheduledExecutorService, String, long) - Constructor for class io.netty.handler.traffic.TrafficCounter
-
- TrafficCounter(AbstractTrafficShapingHandler, ScheduledExecutorService, String, long) - Constructor for class io.netty.handler.traffic.TrafficCounter
-
Constructor with the
AbstractTrafficShapingHandler
that hosts it, the Timer to use, its
name, the checkInterval between two computations in millisecond.
- transferredBytes() - Method in class io.netty.handler.stream.ChunkedNioStream
-
Returns the number of transferred bytes.
- transferredBytes() - Method in class io.netty.handler.stream.ChunkedStream
-
Returns the number of transferred bytes.
- trustManager(File) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Trusted certificates for verifying the remote endpoint's certificate.
- trustManager(InputStream) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Trusted certificates for verifying the remote endpoint's certificate.
- trustManager(X509Certificate...) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Trusted certificates for verifying the remote endpoint's certificate, null
uses the system default.
- trustManager(TrustManagerFactory) - Method in class io.netty.handler.ssl.SslContextBuilder
-
Trusted manager for verifying the remote endpoint's certificate.
- valueOf(String) - Static method in enum io.netty.handler.ipfilter.IpFilterRuleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.Protocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.SelectedListenerFailureBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.SelectorFailureBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.ssl.ClientAuth
-
Returns the enum constant of this type with the specified name.
- valueOf(byte[]) - Static method in class io.netty.handler.ssl.PemPrivateKey
-
- valueOf(ByteBuf) - Static method in class io.netty.handler.ssl.PemPrivateKey
-
- valueOf(byte[]) - Static method in class io.netty.handler.ssl.PemX509Certificate
-
- valueOf(ByteBuf) - Static method in class io.netty.handler.ssl.PemX509Certificate
-
- valueOf(String) - Static method in enum io.netty.handler.ssl.SslProvider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.handler.timeout.IdleState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.netty.handler.ipfilter.IpFilterRuleType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.logging.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.Protocol
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.SelectedListenerFailureBehavior
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.ssl.ApplicationProtocolConfig.SelectorFailureBehavior
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.ssl.ClientAuth
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.ssl.SslProvider
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.netty.handler.timeout.IdleState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(PublicKey) - Method in class io.netty.handler.ssl.PemX509Certificate
-
- verify(PublicKey, String) - Method in class io.netty.handler.ssl.PemX509Certificate
-
- VERIFY_DEPTH - Static variable in class io.netty.handler.ssl.OpenSslContext
-
- version() - Static method in class io.netty.handler.ssl.OpenSsl
-
- versionString() - Static method in class io.netty.handler.ssl.OpenSsl
-
Returns the version string of the used available OpenSSL library or
null
if
OpenSsl.isAvailable()
returns
false
.