Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.connection.netty |
This package contains netty specific classes
|
Modifier and Type | Field and Description |
---|---|
private SslSettings |
MongoClientOptions.sslSettings |
Modifier and Type | Method and Description |
---|---|
(package private) SslSettings |
MongoClientOptions.getSslSettings() |
Modifier and Type | Field and Description |
---|---|
private SslSettings |
MongoClientSettings.sslSettings |
private SslSettings |
MongoClientSettings.Builder.sslSettings |
Modifier and Type | Method and Description |
---|---|
SslSettings |
MongoClientSettings.getSslSettings()
Gets the SSL settings.
|
Modifier and Type | Method and Description |
---|---|
private static StreamFactory |
MongoClients.getStreamFactory(StreamFactoryFactory streamFactoryFactory,
SocketSettings socketSettings,
SslSettings sslSettings,
java.lang.String streamType) |
MongoClientSettings.Builder |
MongoClientSettings.Builder.sslSettings(SslSettings sslSettings)
Sets the socket settings.
|
Modifier and Type | Field and Description |
---|---|
private SslSettings |
SocketStreamFactory.sslSettings |
private SslSettings |
SocketChannelStream.sslSettings |
private SslSettings |
SocketStream.sslSettings |
Modifier and Type | Method and Description |
---|---|
SslSettings |
SslSettings.Builder.build()
Create a new SSLSettings from the settings in this builder.
|
Modifier and Type | Method and Description |
---|---|
StreamFactory |
StreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings)
Create a
StreamFactory with the given settings. |
StreamFactory |
AsynchronousSocketChannelStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |
(package private) static void |
SocketStreamHelper.initialize(java.net.Socket socket,
ServerAddress address,
SocketSettings settings,
SslSettings sslSettings) |
Constructor and Description |
---|
AsynchronousSocketChannelStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Create a new factory.
|
SocketChannelStream(ServerAddress address,
SocketSettings settings,
SslSettings sslSettings,
BufferProvider bufferProvider) |
SocketStream(ServerAddress address,
SocketSettings settings,
SslSettings sslSettings,
javax.net.SocketFactory socketFactory,
BufferProvider bufferProvider) |
SocketStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Creates a new factory with the given settings for connecting to servers and the given SSL settings
|
SocketStreamFactory(SocketSettings settings,
SslSettings sslSettings,
javax.net.SocketFactory socketFactory)
Creates a new factory with the given settings for connecting to servers and a factory for creating connections.
|
Modifier and Type | Field and Description |
---|---|
private SslSettings |
NettyStream.sslSettings |
private SslSettings |
NettyStreamFactory.sslSettings |
Modifier and Type | Method and Description |
---|---|
SslSettings |
NettyStream.getSslSettings() |
Modifier and Type | Method and Description |
---|---|
StreamFactory |
NettyStreamFactoryFactory.create(SocketSettings socketSettings,
SslSettings sslSettings) |
Constructor and Description |
---|
NettyStream(ServerAddress address,
SocketSettings settings,
SslSettings sslSettings,
io.netty.channel.EventLoopGroup workerGroup,
java.lang.Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass,
io.netty.buffer.ByteBufAllocator allocator) |
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings)
Construct a new instance of the factory with a default allocator, nio event loop group and nio socket channel.
|
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings,
io.netty.channel.EventLoopGroup eventLoopGroup)
Construct a new instance of the factory.
|
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings,
io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.buffer.ByteBufAllocator allocator)
Construct a new instance of the factory.
|
NettyStreamFactory(SocketSettings settings,
SslSettings sslSettings,
io.netty.channel.EventLoopGroup eventLoopGroup,
java.lang.Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass,
io.netty.buffer.ByteBufAllocator allocator)
Construct a new instance of the factory.
|