public class com.mongodb.connection.SslSettings
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.connection.SslSettings
super_class: java.lang.Object
{
private final boolean enabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean invalidHostNameAllowed;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLContext context;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static com.mongodb.connection.SslSettings$Builder builder();
descriptor: ()Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.mongodb.connection.SslSettings$Builder
dup
invokespecial com.mongodb.connection.SslSettings$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.connection.SslSettings$Builder builder(com.mongodb.connection.SslSettings);
descriptor: (Lcom/mongodb/connection/SslSettings;)Lcom/mongodb/connection/SslSettings$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.mongodb.connection.SslSettings.builder:()Lcom/mongodb/connection/SslSettings$Builder;
aload 0
invokevirtual com.mongodb.connection.SslSettings$Builder.applySettings:(Lcom/mongodb/connection/SslSettings;)Lcom/mongodb/connection/SslSettings$Builder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sslSettings Lcom/mongodb/connection/SslSettings;
MethodParameters:
Name Flags
sslSettings final
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SslSettings.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SslSettings;
public boolean isInvalidHostNameAllowed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SslSettings;
public javax.net.ssl.SSLContext getContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/SslSettings;
void <init>(com.mongodb.connection.SslSettings$Builder);
descriptor: (Lcom/mongodb/connection/SslSettings$Builder;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield com.mongodb.connection.SslSettings$Builder.enabled:Z
putfield com.mongodb.connection.SslSettings.enabled:Z
2: aload 0
aload 1
getfield com.mongodb.connection.SslSettings$Builder.invalidHostNameAllowed:Z
putfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
3: aload 0
getfield com.mongodb.connection.SslSettings.enabled:Z
ifeq 5
aload 0
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
ifne 5
ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc "1.6."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: new com.mongodb.MongoInternalException
dup
ldc "By default, SSL connections are only supported on Java 7 or later. If the application must run on Java 6, you must set the SslSettings.invalidHostNameAllowed property to true"
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.mongodb.connection.SslSettings com.mongodb.connection.SslSettings$Builder
StackMap stack:
aload 0
aload 1
getfield com.mongodb.connection.SslSettings$Builder.context:Ljavax/net/ssl/SSLContext;
putfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/SslSettings;
0 7 1 builder Lcom/mongodb/connection/SslSettings$Builder;
MethodParameters:
Name Flags
builder final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.connection.SslSettings
astore 2
start local 2 5: aload 0
getfield com.mongodb.connection.SslSettings.enabled:Z
aload 2
getfield com.mongodb.connection.SslSettings.enabled:Z
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.connection.SslSettings
StackMap stack:
aload 0
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
aload 2
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
ifnull 10
aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
aload 2
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
goto 12
StackMap locals:
StackMap stack:
10: aload 2
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
ifnonnull 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/connection/SslSettings;
0 13 1 o Ljava/lang/Object;
5 13 2 that Lcom/mongodb/connection/SslSettings;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.SslSettings.enabled:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
ifeq 4
iconst_1
goto 5
StackMap locals: com.mongodb.connection.SslSettings int
StackMap stack: int
4: iconst_0
StackMap locals: com.mongodb.connection.SslSettings int
StackMap stack: int int
5: iadd
istore 1
6: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
ifnull 7
aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
invokevirtual java.lang.Object.hashCode:()I
goto 8
StackMap locals:
StackMap stack: int
7: iconst_0
StackMap locals: com.mongodb.connection.SslSettings int
StackMap stack: int int
8: iadd
istore 1
9: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/connection/SslSettings;
3 10 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "SslSettings{enabled="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.connection.SslSettings.enabled:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
2: ldc ", invalidHostNameAllowed="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.SslSettings.invalidHostNameAllowed:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
3: ldc ", context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.SslSettings.context:Ljavax/net/ssl/SSLContext;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/connection/SslSettings;
}
SourceFile: "SslSettings.java"
NestMembers:
com.mongodb.connection.SslSettings$Builder
InnerClasses:
public final Builder = com.mongodb.connection.SslSettings$Builder of com.mongodb.connection.SslSettings
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()