程序包 | 说明 |
---|---|
io.netty.example.factorial | |
io.netty.example.http.cors | |
io.netty.example.http.file | |
io.netty.example.http.helloworld | |
io.netty.example.http.snoop | |
io.netty.example.http.upload | |
io.netty.example.http.websocketx.benchmarkserver |
This package contains a benchmark application for websockets.
|
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.example.portunification | |
io.netty.example.securechat | |
io.netty.example.spdy.client |
This package contains an example SPDY HTTP client.
|
io.netty.example.spdy.server |
This package contains an example SPDY HTTP web server.
|
io.netty.example.telnet | |
io.netty.example.worldclock | |
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
构造器和说明 |
---|
FactorialClientInitializer(SslContext sslCtx) |
FactorialServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpCorsServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpStaticFileServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpHelloWorldServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpSnoopClientInitializer(SslContext sslCtx) |
HttpSnoopServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpUploadClientInitializer(SslContext sslCtx) |
HttpUploadServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
WebSocketServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
WebSocketServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
PortUnificationServerHandler(SslContext sslCtx) |
构造器和说明 |
---|
SecureChatClientInitializer(SslContext sslCtx) |
SecureChatServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
SpdyClientInitializer(SslContext sslCtx,
HttpResponseClientHandler httpResponseHandler) |
构造器和说明 |
---|
SpdyServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
TelnetClientInitializer(SslContext sslCtx) |
TelnetServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
WorldClockClientInitializer(SslContext sslCtx) |
WorldClockServerInitializer(SslContext sslCtx) |
限定符和类型 | 类和说明 |
---|---|
class |
DelegatingSslContext
Adapter class which allows to wrap another
SslContext and init SSLEngine instances. |
class |
JdkSslClientContext
已过时。
|
class |
JdkSslContext
An
SslContext which uses JDK's SSL/TLS implementation. |
class |
JdkSslServerContext
已过时。
|
class |
OpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
OpenSslContext
This class will use a finalizer to ensure native resources are automatically cleaned up.
|
class |
OpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslContext
An implementation of
SslContext which works with libraries that support the
OpenSsl C library API. |
class |
ReferenceCountedOpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
限定符和类型 | 方法和说明 |
---|---|
SslContext |
SslContextBuilder.build()
Create new
SslContext instance with configured settings. |
static SslContext |
SslContext.newClientContext()
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File trustCertCollectionFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File trustCertCollectionFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
SslContext |
SniHandler.sslContext() |
限定符和类型 | 方法和说明 |
---|---|
protected SslHandler |
OptionalSslHandler.newSslHandler(ChannelHandlerContext context,
SslContext sslContext)
Override to configure the SslHandler eg.
|
构造器和说明 |
---|
DelegatingSslContext(SslContext ctx) |
OptionalSslHandler(SslContext sslContext) |
构造器和说明 |
---|
SniHandler(DomainNameMapping<? extends SslContext> mapping)
Create a SNI detection handler with configured
SslContext
maintained by DomainNameMapping |