public class com.mongodb.ConnectionString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.ConnectionString
super_class: java.lang.Object
{
private static final java.lang.String MONGODB_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mongodb://"
private static final java.lang.String MONGODB_SRV_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mongodb+srv://"
private static final java.util.Set<java.lang.String> ALLOWED_OPTIONS_IN_TXT_RECORD;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.lang.String UTF_8;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
private static final com.mongodb.diagnostics.logging.Logger LOGGER;
descriptor: Lcom/mongodb/diagnostics/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.mongodb.MongoCredential credential;
descriptor: Lcom/mongodb/MongoCredential;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isSrvProtocol;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> hosts;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.lang.String database;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String collection;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String connectionString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.mongodb.ReadPreference readPreference;
descriptor: Lcom/mongodb/ReadPreference;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.WriteConcern writeConcern;
descriptor: Lcom/mongodb/WriteConcern;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean retryWrites;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean retryReads;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.ReadConcern readConcern;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer minConnectionPoolSize;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer maxConnectionPoolSize;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer threadsAllowedToBlockForConnectionMultiplier;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer maxWaitTime;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer maxConnectionIdleTime;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer maxConnectionLifeTime;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer connectTimeout;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer socketTimeout;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean sslEnabled;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean sslInvalidHostnameAllowed;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.String streamType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String requiredReplicaSetName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer serverSelectionTimeout;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer localThreshold;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer heartbeatFrequency;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.String applicationName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<com.mongodb.MongoCompressor> compressorList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
private static final java.util.Set<java.lang.String> GENERAL_OPTIONS_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> AUTH_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> READ_PREFERENCE_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> WRITE_CONCERN_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> COMPRESSOR_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> ALL_KEYS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> TRUE_VALUES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> FALSE_VALUES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static volatile int[] $SWITCH_TABLE$com$mongodb$AuthenticationMechanism;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.HashSet
dup
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "authsource"
aastore
dup
iconst_1
ldc "replicaset"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic com.mongodb.ConnectionString.ALLOWED_OPTIONS_IN_TXT_RECORD:Ljava/util/Set;
1: ldc "uri"
invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
putstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
2: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
4: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
5: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.mongodb.ConnectionString.COMPRESSOR_KEYS:Ljava/util/Set;
7: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
8: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "minpoolsize"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "maxpoolsize"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "waitqueuemultiple"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "waitqueuetimeoutms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "connecttimeoutms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "maxidletimems"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "maxlifetimems"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "sockettimeoutms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "ssl"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "tls"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "tlsinsecure"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "sslinvalidhostnameallowed"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
20: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "tlsallowinvalidhostnames"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "replicaset"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
22: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "readconcernlevel"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
23: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "streamtype"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
24: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "serverselectiontimeoutms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
25: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "localthresholdms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
26: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "heartbeatfrequencyms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
27: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "retrywrites"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "retryreads"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
29: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
ldc "appname"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
30: getstatic com.mongodb.ConnectionString.COMPRESSOR_KEYS:Ljava/util/Set;
ldc "compressors"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
31: getstatic com.mongodb.ConnectionString.COMPRESSOR_KEYS:Ljava/util/Set;
ldc "zlibcompressionlevel"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
32: getstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
ldc "readpreference"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
33: getstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
ldc "readpreferencetags"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
34: getstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
ldc "maxstalenessseconds"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
35: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
ldc "safe"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
36: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
ldc "w"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
37: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
ldc "wtimeoutms"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
38: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
ldc "fsync"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
39: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
ldc "journal"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
40: getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
ldc "authmechanism"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
41: getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
ldc "authsource"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
42: getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
ldc "gssapiservicename"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
43: getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
ldc "authmechanismproperties"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
44: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
45: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
46: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
getstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
47: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
48: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
getstatic com.mongodb.ConnectionString.COMPRESSOR_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
49: new java.util.HashSet
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "true"
aastore
dup
iconst_1
ldc "yes"
aastore
dup
iconst_2
ldc "1"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic com.mongodb.ConnectionString.TRUE_VALUES:Ljava/util/Set;
50: new java.util.HashSet
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "false"
aastore
dup
iconst_1
ldc "no"
aastore
dup
iconst_2
ldc "0"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic com.mongodb.ConnectionString.FALSE_VALUES:Ljava/util/Set;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=17, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.ConnectionString.connectionString:Ljava/lang/String;
2: aload 1
ldc "mongodb://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 2
start local 2 3: aload 0
aload 1
ldc "mongodb+srv://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putfield com.mongodb.ConnectionString.isSrvProtocol:Z
4: iload 2
ifne 8
aload 0
getfield com.mongodb.ConnectionString.isSrvProtocol:Z
ifne 8
5: new java.lang.IllegalArgumentException
dup
ldc "The connection string is invalid. Connection strings must start with either '%s' or '%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: ldc "mongodb://"
aastore
dup
iconst_1
ldc "mongodb+srv://"
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: com.mongodb.ConnectionString java.lang.String int
StackMap stack:
iload 2
ifeq 11
9: aload 1
ldc "mongodb://"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 10: goto 12
end local 3 11: StackMap locals:
StackMap stack:
aload 1
ldc "mongodb+srv://"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 12: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 13: iload 5
iconst_m1
if_icmpne 19
14: aload 3
ldc "?"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 16
15: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains options without trailing slash"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String top int
StackMap stack:
aload 3
astore 4
start local 4 17: ldc ""
astore 3
18: goto 21
end local 4 19: StackMap locals:
StackMap stack:
aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 20: aload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
21: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String java.lang.String int
StackMap stack:
aconst_null
astore 8
start local 8 22: aconst_null
astore 9
start local 9 23: aload 4
ldc "@"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 5
24: iload 5
ifle 37
25: aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc "+"
ldc "%2B"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 6
start local 6 26: aload 4
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 27: aload 0
aload 6
ldc ":"
invokevirtual com.mongodb.ConnectionString.countOccurrences:(Ljava/lang/String;Ljava/lang/String;)I
istore 10
start local 10 28: aload 6
ldc "@"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 29
iload 10
iconst_1
if_icmple 30
29: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String char[] int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "The connection string contains invalid user information. If the username or password contains a colon (:) or an at-sign (@) then it must be urlencoded"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
iload 10
ifne 33
31: aload 0
aload 6
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;)Ljava/lang/String;
astore 8
32: goto 38
33: StackMap locals:
StackMap stack:
aload 6
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
34: aload 0
aload 6
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;)Ljava/lang/String;
astore 8
35: aload 0
aload 6
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iconst_1
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
astore 9
end local 10 36: goto 38
end local 7 end local 6 37: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String java.lang.String int top top java.lang.String char[]
StackMap stack:
aload 4
astore 7
start local 7 38: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String java.lang.String int top java.lang.String java.lang.String char[]
StackMap stack:
aload 0
aload 7
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual com.mongodb.ConnectionString.parseHosts:(Ljava/util/List;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
astore 10
start local 10 39: aload 0
getfield com.mongodb.ConnectionString.isSrvProtocol:Z
ifeq 44
40: aload 10
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 42
41: new java.lang.IllegalArgumentException
dup
ldc "Only one host allowed when using mongodb+srv protocol"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
42: StackMap locals: java.util.List
StackMap stack:
aload 10
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
ldc ":"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 44
43: new java.lang.IllegalArgumentException
dup
ldc "Host for when using mongodb+srv protocol can not contain a port"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 0
aload 10
putfield com.mongodb.ConnectionString.hosts:Ljava/util/List;
45: aload 3
ldc "?"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
46: iload 5
iconst_m1
if_icmpne 50
47: aload 3
astore 11
start local 11 48: ldc ""
astore 3
49: goto 52
end local 11 50: StackMap locals:
StackMap stack:
aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 51: aload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
52: StackMap locals: java.lang.String
StackMap stack:
aload 11
invokevirtual java.lang.String.length:()I
ifle 63
53: aload 0
aload 11
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;)Ljava/lang/String;
astore 11
54: aload 11
ldc "."
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
55: iload 5
ifge 59
56: aload 0
aload 11
putfield com.mongodb.ConnectionString.database:Ljava/lang/String;
57: aload 0
aconst_null
putfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
58: goto 61
59: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.mongodb.ConnectionString.database:Ljava/lang/String;
60: aload 0
aload 11
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
61: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
invokestatic com.mongodb.MongoNamespace.checkDatabaseNameValidity:(Ljava/lang/String;)V
62: goto 65
63: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.mongodb.ConnectionString.database:Ljava/lang/String;
64: aload 0
aconst_null
putfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
65: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.isSrvProtocol:Z
ifeq 67
66: new com.mongodb.internal.dns.DefaultDnsResolver
dup
invokespecial com.mongodb.internal.dns.DefaultDnsResolver.<init>:()V
aload 10
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.mongodb.internal.dns.DefaultDnsResolver.resolveAdditionalQueryParametersFromTxtRecords:(Ljava/lang/String;)Ljava/lang/String;
goto 68
StackMap locals:
StackMap stack:
67: ldc ""
68: StackMap locals:
StackMap stack: java.lang.String
astore 12
start local 12 69: aload 3
astore 13
start local 13 70: aload 0
aload 13
invokevirtual com.mongodb.ConnectionString.parseOptions:(Ljava/lang/String;)Ljava/util/Map;
astore 14
start local 14 71: aload 0
aload 12
invokevirtual com.mongodb.ConnectionString.parseOptions:(Ljava/lang/String;)Ljava/util/Map;
astore 15
start local 15 72: getstatic com.mongodb.ConnectionString.ALLOWED_OPTIONS_IN_TXT_RECORD:Ljava/util/Set;
aload 15
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.containsAll:(Ljava/util/Collection;)Z
ifne 76
73: new com.mongodb.MongoConfigurationException
dup
ldc "A TXT record is only permitted to contain the keys %s, but the TXT record for '%s' contains the keys %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
74: getstatic com.mongodb.ConnectionString.ALLOWED_OPTIONS_IN_TXT_RECORD:Ljava/util/Set;
aastore
dup
iconst_1
aload 10
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aastore
dup
iconst_2
aload 15
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aastore
75: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.mongodb.MongoConfigurationException.<init>:(Ljava/lang/String;)V
athrow
76: StackMap locals: com.mongodb.ConnectionString java.lang.String int java.lang.String java.lang.String int top java.lang.String java.lang.String char[] java.util.List java.lang.String java.lang.String java.lang.String java.util.Map java.util.Map
StackMap stack:
aload 0
aload 15
aload 14
invokevirtual com.mongodb.ConnectionString.combineOptionsMaps:(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
astore 16
start local 16 77: aload 0
getfield com.mongodb.ConnectionString.isSrvProtocol:Z
ifeq 79
aload 16
ldc "ssl"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 79
78: aload 16
ldc "ssl"
ldc "true"
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
79: StackMap locals: java.util.Map
StackMap stack:
aload 0
aload 16
invokevirtual com.mongodb.ConnectionString.translateOptions:(Ljava/util/Map;)V
80: aload 0
aload 0
aload 16
aload 8
aload 9
invokevirtual com.mongodb.ConnectionString.createCredentials:(Ljava/util/Map;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
putfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
81: aload 0
aload 16
invokevirtual com.mongodb.ConnectionString.warnOnUnsupportedOptions:(Ljava/util/Map;)V
82: return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 83 0 this Lcom/mongodb/ConnectionString;
0 83 1 connectionString Ljava/lang/String;
3 83 2 isMongoDBProtocol Z
10 11 3 unprocessedConnectionString Ljava/lang/String;
12 83 3 unprocessedConnectionString Ljava/lang/String;
17 19 4 userAndHostInformation Ljava/lang/String;
20 83 4 userAndHostInformation Ljava/lang/String;
13 83 5 idx I
26 37 6 userInfo Ljava/lang/String;
27 37 7 hostIdentifier Ljava/lang/String;
38 83 7 hostIdentifier Ljava/lang/String;
22 83 8 userName Ljava/lang/String;
23 83 9 password [C
28 36 10 colonCount I
39 83 10 unresolvedHosts Ljava/util/List<Ljava/lang/String;>;
48 50 11 nsPart Ljava/lang/String;
51 83 11 nsPart Ljava/lang/String;
69 83 12 txtRecordsQueryParameters Ljava/lang/String;
70 83 13 connectionStringQueryParamenters Ljava/lang/String;
71 83 14 connectionStringOptionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
72 83 15 txtRecordsOptionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
77 83 16 combinedOptionsMaps Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
connectionString final
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> combineOptionsMaps(java.util.Map<java.lang.String, java.util.List<java.lang.String>>, java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 1: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: com.mongodb.ConnectionString java.util.Map java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 3: aload 3
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/ConnectionString;
0 6 1 txtRecordsOptionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
0 6 2 connectionStringOptionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 6 3 combinedOptionsMaps Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
3 4 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
txtRecordsOptionsMap final
connectionStringOptionsMap final
private void warnOnUnsupportedOptions(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.mongodb.ConnectionString java.util.Map top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: getstatic com.mongodb.ConnectionString.ALL_KEYS:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
3: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isWarnEnabled:()Z
ifeq 5
4: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Connection string contains unsupported option '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/ConnectionString;
0 7 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
2 5 2 key Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
optionsMap final
private void translateOptions(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: getstatic com.mongodb.ConnectionString.GENERAL_OPTIONS_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 76
StackMap locals: com.mongodb.ConnectionString java.util.Map int int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 0
aload 1
aload 4
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: aload 6
ifnonnull 7
6: goto 76
7: StackMap locals: com.mongodb.ConnectionString java.util.Map int int java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 4
ldc "maxpoolsize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
aload 0
aload 6
ldc "maxpoolsize"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
9: goto 76
StackMap locals:
StackMap stack:
10: aload 4
ldc "minpoolsize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
aload 0
aload 6
ldc "minpoolsize"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
12: goto 76
StackMap locals:
StackMap stack:
13: aload 4
ldc "maxidletimems"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
aload 0
aload 6
ldc "maxidletimems"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
15: goto 76
StackMap locals:
StackMap stack:
16: aload 4
ldc "maxlifetimems"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 0
aload 0
aload 6
ldc "maxlifetimems"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
18: goto 76
StackMap locals:
StackMap stack:
19: aload 4
ldc "waitqueuemultiple"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 0
aload 0
aload 6
ldc "waitqueuemultiple"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
21: goto 76
StackMap locals:
StackMap stack:
22: aload 4
ldc "waitqueuetimeoutms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: aload 0
aload 0
aload 6
ldc "waitqueuetimeoutms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
24: goto 76
StackMap locals:
StackMap stack:
25: aload 4
ldc "connecttimeoutms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: aload 0
aload 0
aload 6
ldc "connecttimeoutms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
27: goto 76
StackMap locals:
StackMap stack:
28: aload 4
ldc "sockettimeoutms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: aload 0
aload 0
aload 6
ldc "sockettimeoutms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
30: goto 76
StackMap locals:
StackMap stack:
31: aload 4
ldc "tlsallowinvalidhostnames"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
32: aload 0
aload 0
aload 6
ldc "tlsAllowInvalidHostnames"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
putfield com.mongodb.ConnectionString.sslInvalidHostnameAllowed:Ljava/lang/Boolean;
33: iconst_1
istore 3
34: goto 76
StackMap locals:
StackMap stack:
35: aload 4
ldc "sslinvalidhostnameallowed"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
36: aload 0
aload 0
aload 6
ldc "sslinvalidhostnameallowed"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
putfield com.mongodb.ConnectionString.sslInvalidHostnameAllowed:Ljava/lang/Boolean;
37: iconst_1
istore 3
38: goto 76
StackMap locals:
StackMap stack:
39: aload 4
ldc "tlsinsecure"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
40: aload 0
aload 0
aload 6
ldc "tlsinsecure"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
putfield com.mongodb.ConnectionString.sslInvalidHostnameAllowed:Ljava/lang/Boolean;
41: iconst_1
istore 2
42: goto 76
StackMap locals:
StackMap stack:
43: aload 4
ldc "ssl"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
44: aload 0
ldc "ssl"
aload 6
invokevirtual com.mongodb.ConnectionString.initializeSslEnabled:(Ljava/lang/String;Ljava/lang/String;)V
45: goto 76
StackMap locals:
StackMap stack:
46: aload 4
ldc "tls"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
47: aload 0
ldc "tls"
aload 6
invokevirtual com.mongodb.ConnectionString.initializeSslEnabled:(Ljava/lang/String;Ljava/lang/String;)V
48: goto 76
StackMap locals:
StackMap stack:
49: aload 4
ldc "streamtype"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 53
50: aload 0
aload 6
putfield com.mongodb.ConnectionString.streamType:Ljava/lang/String;
51: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "The streamType query parameter is deprecated and support for it will be removed in the next major release."
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
52: goto 76
StackMap locals:
StackMap stack:
53: aload 4
ldc "replicaset"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 56
54: aload 0
aload 6
putfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
55: goto 76
StackMap locals:
StackMap stack:
56: aload 4
ldc "readconcernlevel"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
57: aload 0
new com.mongodb.ReadConcern
dup
aload 6
invokestatic com.mongodb.ReadConcernLevel.fromString:(Ljava/lang/String;)Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putfield com.mongodb.ConnectionString.readConcern:Lcom/mongodb/ReadConcern;
58: goto 76
StackMap locals:
StackMap stack:
59: aload 4
ldc "serverselectiontimeoutms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
60: aload 0
aload 0
aload 6
ldc "serverselectiontimeoutms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.serverSelectionTimeout:Ljava/lang/Integer;
61: goto 76
StackMap locals:
StackMap stack:
62: aload 4
ldc "localthresholdms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 65
63: aload 0
aload 0
aload 6
ldc "localthresholdms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.localThreshold:Ljava/lang/Integer;
64: goto 76
StackMap locals:
StackMap stack:
65: aload 4
ldc "heartbeatfrequencyms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
66: aload 0
aload 0
aload 6
ldc "heartbeatfrequencyms"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.mongodb.ConnectionString.heartbeatFrequency:Ljava/lang/Integer;
67: goto 76
StackMap locals:
StackMap stack:
68: aload 4
ldc "appname"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 71
69: aload 0
aload 6
putfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
70: goto 76
StackMap locals:
StackMap stack:
71: aload 4
ldc "retrywrites"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 74
72: aload 0
aload 0
aload 6
ldc "retrywrites"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
putfield com.mongodb.ConnectionString.retryWrites:Ljava/lang/Boolean;
73: goto 76
StackMap locals:
StackMap stack:
74: aload 4
ldc "retryreads"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
75: aload 0
aload 0
aload 6
ldc "retryreads"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
putfield com.mongodb.ConnectionString.retryReads:Ljava/lang/Boolean;
end local 6 end local 4 76: StackMap locals: com.mongodb.ConnectionString java.util.Map int int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
77: iload 2
ifeq 79
iload 3
ifeq 79
78: new java.lang.IllegalArgumentException
dup
ldc "tlsAllowInvalidHostnames or sslInvalidHostnameAllowed set along with tlsInsecure is not allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
79: StackMap locals: com.mongodb.ConnectionString java.util.Map int int
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.mongodb.ConnectionString.createWriteConcern:(Ljava/util/Map;)Lcom/mongodb/WriteConcern;
putfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
80: aload 0
aload 0
aload 1
invokevirtual com.mongodb.ConnectionString.createReadPreference:(Ljava/util/Map;)Lcom/mongodb/ReadPreference;
putfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
81: aload 0
aload 0
aload 1
invokevirtual com.mongodb.ConnectionString.createCompressors:(Ljava/util/Map;)Ljava/util/List;
putfield com.mongodb.ConnectionString.compressorList:Ljava/util/List;
82: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 83 0 this Lcom/mongodb/ConnectionString;
0 83 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 83 2 tlsInsecureSet Z
2 83 3 tlsAllowInvalidHostnamesSet Z
4 76 4 key Ljava/lang/String;
5 76 6 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
optionsMap final
private void initializeSslEnabled(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aload 1
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
astore 3
start local 3 1: aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
ifnull 3
aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
aload 3
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Conflicting tls and ssl parameter values are not allowed"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
aload 3
putfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/ConnectionString;
0 5 1 key Ljava/lang/String;
0 5 2 value Ljava/lang/String;
1 5 3 booleanValue Ljava/lang/Boolean;
MethodParameters:
Name Flags
key final
value final
private java.util.List<com.mongodb.MongoCompressor> createCompressors(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: getstatic com.mongodb.ConnectionString.COMPRESSOR_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 0
aload 1
aload 4
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: aload 6
ifnonnull 7
6: goto 12
7: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 4
ldc "compressors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 6
astore 2
9: goto 12
StackMap locals:
StackMap stack:
10: aload 4
ldc "zlibcompressionlevel"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 6
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
end local 6 end local 4 12: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: aload 0
aload 2
aload 3
invokevirtual com.mongodb.ConnectionString.buildCompressors:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/ConnectionString;
0 14 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 14 2 compressors Ljava/lang/String;
2 14 3 zlibCompressionLevel Ljava/lang/Integer;
4 12 4 key Ljava/lang/String;
5 12 6 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
MethodParameters:
Name Flags
optionsMap final
private java.util.List<com.mongodb.MongoCompressor> buildCompressors(java.lang.String, java.lang.Integer);
descriptor: (Ljava/lang/String;Ljava/lang/Integer;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: com.mongodb.ConnectionString java.lang.String java.lang.Integer java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
ldc "zlib"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
4: invokestatic com.mongodb.MongoCompressor.createZlibCompressor:()Lcom/mongodb/MongoCompressor;
astore 8
start local 8 5: aload 2
ifnull 7
6: aload 8
ldc "LEVEL"
aload 2
invokevirtual com.mongodb.MongoCompressor.withProperty:(Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCompressor;
astore 8
7: StackMap locals: com.mongodb.ConnectionString java.lang.String java.lang.Integer java.util.List java.lang.String int int java.lang.String[] com.mongodb.MongoCompressor
StackMap stack:
aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 8: goto 17
StackMap locals:
StackMap stack:
9: aload 4
ldc "snappy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 3
invokestatic com.mongodb.MongoCompressor.createSnappyCompressor:()Lcom/mongodb/MongoCompressor;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: goto 17
StackMap locals:
StackMap stack:
12: aload 4
ldc "zstd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 3
invokestatic com.mongodb.MongoCompressor.createZstdCompressor:()Lcom/mongodb/MongoCompressor;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 17
StackMap locals:
StackMap stack:
15: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 17
16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported compressor '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 17: StackMap locals: com.mongodb.ConnectionString java.lang.String java.lang.Integer java.util.List top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 6
if_icmplt 2
19: aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/mongodb/ConnectionString;
0 20 1 compressors Ljava/lang/String;
0 20 2 zlibCompressionLevel Ljava/lang/Integer;
1 20 3 compressorsList Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
3 17 4 cur Ljava/lang/String;
5 8 8 zlibCompressor Lcom/mongodb/MongoCompressor;
Signature: (Ljava/lang/String;Ljava/lang/Integer;)Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
compressors final
zlibCompressionLevel final
private com.mongodb.WriteConcern createWriteConcern(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)Lcom/mongodb/WriteConcern;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: getstatic com.mongodb.ConnectionString.WRITE_CONCERN_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 24
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer java.lang.Boolean java.lang.Boolean java.lang.Boolean top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 7: aload 0
aload 1
aload 7
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 8: aload 9
ifnonnull 10
9: goto 24
10: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer java.lang.Boolean java.lang.Boolean java.lang.Boolean java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 7
ldc "safe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
aload 9
ldc "safe"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
astore 4
12: goto 24
StackMap locals:
StackMap stack:
13: aload 7
ldc "w"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 9
astore 2
15: goto 24
StackMap locals:
StackMap stack:
16: aload 7
ldc "wtimeoutms"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 9
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
18: goto 24
StackMap locals:
StackMap stack:
19: aload 7
ldc "fsync"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 0
aload 9
ldc "fsync"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
astore 5
21: goto 24
StackMap locals:
StackMap stack:
22: aload 7
ldc "journal"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
23: aload 0
aload 9
ldc "journal"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
astore 6
end local 9 end local 7 24: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.lang.Integer java.lang.Boolean java.lang.Boolean java.lang.Boolean top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
25: aload 0
aload 4
aload 2
aload 3
aload 5
aload 6
invokevirtual com.mongodb.ConnectionString.buildWriteConcern:(Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/mongodb/ConnectionString;
0 26 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 26 2 w Ljava/lang/String;
2 26 3 wTimeout Ljava/lang/Integer;
3 26 4 safe Ljava/lang/Boolean;
4 26 5 fsync Ljava/lang/Boolean;
5 26 6 journal Ljava/lang/Boolean;
7 24 7 key Ljava/lang/String;
8 24 9 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Lcom/mongodb/WriteConcern;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
optionsMap final
private com.mongodb.ReadPreference createReadPreference(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)Lcom/mongodb/ReadPreference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: ldc -1
lstore 4
start local 4 3: getstatic com.mongodb.ConnectionString.READ_PREFERENCE_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.util.List long top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 5: aload 0
aload 1
aload 6
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 6: aload 8
ifnonnull 8
7: goto 20
8: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.util.List long java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 6
ldc "readpreference"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 8
astore 2
10: goto 20
StackMap locals:
StackMap stack:
11: aload 6
ldc "maxstalenessseconds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 0
aload 8
ldc "maxstalenessseconds"
invokevirtual com.mongodb.ConnectionString.parseInteger:(Ljava/lang/String;Ljava/lang/String;)I
i2l
lstore 4
13: goto 20
StackMap locals:
StackMap stack:
14: aload 6
ldc "readpreferencetags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
15: aload 1
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 19
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.util.List long java.lang.String java.util.Iterator java.lang.String top java.util.Iterator
StackMap stack:
16: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 17: aload 0
aload 9
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual com.mongodb.ConnectionString.getTags:(Ljava/lang/String;)Lcom/mongodb/TagSet;
astore 11
start local 11 18: aload 3
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 9 19: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 8 end local 6 20: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String java.util.List long top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
21: aload 0
aload 2
aload 3
lload 4
invokevirtual com.mongodb.ConnectionString.buildReadPreference:(Ljava/lang/String;Ljava/util/List;J)Lcom/mongodb/ReadPreference;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/mongodb/ConnectionString;
0 22 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 22 2 readPreferenceType Ljava/lang/String;
2 22 3 tagSetList Ljava/util/List<Lcom/mongodb/TagSet;>;
3 22 4 maxStalenessSeconds J
5 20 6 key Ljava/lang/String;
6 20 8 value Ljava/lang/String;
17 19 9 cur Ljava/lang/String;
18 19 11 tagSet Lcom/mongodb/TagSet;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)Lcom/mongodb/ReadPreference;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
optionsMap final
private com.mongodb.MongoCredential createCredentials(java.util.Map<java.lang.String, java.util.List<java.lang.String>>, java.lang.String, char[]);
descriptor: (Ljava/util/Map;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aconst_null
astore 7
start local 7 4: getstatic com.mongodb.ConnectionString.AUTH_KEYS:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 20
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
5: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 6: aload 0
aload 1
aload 8
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 7: aload 10
ifnonnull 9
8: goto 20
9: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack:
aload 8
ldc "authmechanism"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 10
invokestatic com.mongodb.AuthenticationMechanism.fromMechanismName:(Ljava/lang/String;)Lcom/mongodb/AuthenticationMechanism;
astore 4
11: goto 20
StackMap locals:
StackMap stack:
12: aload 8
ldc "authsource"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 10
astore 5
14: goto 20
StackMap locals:
StackMap stack:
15: aload 8
ldc "gssapiservicename"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 10
astore 6
17: goto 20
StackMap locals:
StackMap stack:
18: aload 8
ldc "authmechanismproperties"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
19: aload 10
astore 7
end local 10 end local 8 20: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
21: aconst_null
astore 8
start local 8 22: aload 4
ifnull 25
23: aload 0
aload 4
aload 2
aload 3
aload 5
aload 6
invokevirtual com.mongodb.ConnectionString.createMongoCredentialWithMechanism:(Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;[CLjava/lang/String;Ljava/lang/String;)Lcom/mongodb/MongoCredential;
astore 8
24: goto 31
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential
StackMap stack:
25: aload 2
ifnull 31
26: aload 2
27: aload 0
aload 5
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 28
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
goto 29
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential
StackMap stack: java.lang.String com.mongodb.ConnectionString java.lang.String
28: ldc "admin"
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential
StackMap stack: java.lang.String com.mongodb.ConnectionString java.lang.String java.lang.String
29: invokevirtual com.mongodb.ConnectionString.getAuthSourceOrDefault:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 3
30: invokestatic com.mongodb.MongoCredential.createCredential:(Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
astore 8
31: StackMap locals:
StackMap stack:
aload 8
ifnull 47
aload 7
ifnull 47
32: aload 7
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 46
StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential top int int java.lang.String[]
StackMap stack:
33: aload 12
iload 10
aaload
astore 9
start local 9 34: aload 9
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 13
start local 13 35: aload 13
arraylength
iconst_2
if_icmpeq 39
36: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains invalid authentication properties. '%s' is not a key value pair"
iconst_1
anewarray java.lang.Object
dup
iconst_0
37: aload 9
aastore
38: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
aload 13
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 14
start local 14 40: aload 13
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 15
start local 15 41: aload 14
ldc "canonicalize_host_name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
42: aload 8
aload 14
aload 15
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual com.mongodb.MongoCredential.withMechanismProperty:(Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCredential;
astore 8
43: goto 45
44: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 8
aload 14
aload 15
invokevirtual com.mongodb.MongoCredential.withMechanismProperty:(Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCredential;
astore 8
end local 15 end local 14 end local 13 end local 9 45: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
46: iload 10
iload 11
if_icmplt 33
47: StackMap locals: com.mongodb.ConnectionString java.util.Map java.lang.String char[] com.mongodb.AuthenticationMechanism java.lang.String java.lang.String java.lang.String com.mongodb.MongoCredential
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lcom/mongodb/ConnectionString;
0 48 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
0 48 2 userName Ljava/lang/String;
0 48 3 password [C
1 48 4 mechanism Lcom/mongodb/AuthenticationMechanism;
2 48 5 authSource Ljava/lang/String;
3 48 6 gssapiServiceName Ljava/lang/String;
4 48 7 authMechanismProperties Ljava/lang/String;
6 20 8 key Ljava/lang/String;
7 20 10 value Ljava/lang/String;
22 48 8 credential Lcom/mongodb/MongoCredential;
34 45 9 part Ljava/lang/String;
35 45 13 mechanismPropertyKeyValue [Ljava/lang/String;
40 45 14 key Ljava/lang/String;
41 45 15 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
com.mongodb.lang.Nullable()
2:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
optionsMap final
userName final
password final
private com.mongodb.MongoCredential createMongoCredentialWithMechanism(com.mongodb.AuthenticationMechanism, java.lang.String, char[], java.lang.String, java.lang.String);
descriptor: (Lcom/mongodb/AuthenticationMechanism;Ljava/lang/String;[CLjava/lang/String;Ljava/lang/String;)Lcom/mongodb/MongoCredential;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: invokestatic com.mongodb.ConnectionString.$SWITCH_TABLE$com$mongodb$AuthenticationMechanism:()[I
aload 1
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 5
2: 1
3: 5
default: 8
}
1: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 2
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
goto 3
StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String
StackMap stack: com.mongodb.ConnectionString java.lang.String
2: ldc "$external"
StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String
StackMap stack: com.mongodb.ConnectionString java.lang.String java.lang.String
3: invokevirtual com.mongodb.ConnectionString.getAuthSourceOrDefault:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 4: goto 11
end local 7 5: StackMap locals:
StackMap stack:
aload 0
aload 4
ldc "$external"
invokevirtual com.mongodb.ConnectionString.getAuthSourceOrDefault:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 6: aload 7
ldc "$external"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
7: new java.lang.IllegalArgumentException
dup
ldc "Invalid authSource for %s, it must be '$external'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 7 8: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 9
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
goto 10
StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String
StackMap stack: com.mongodb.ConnectionString java.lang.String
9: ldc "admin"
StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String
StackMap stack: com.mongodb.ConnectionString java.lang.String java.lang.String
10: invokevirtual com.mongodb.ConnectionString.getAuthSourceOrDefault:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 11: StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String top java.lang.String
StackMap stack:
invokestatic com.mongodb.ConnectionString.$SWITCH_TABLE$com$mongodb$AuthenticationMechanism:()[I
aload 1
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 12
2: 18
3: 22
4: 20
5: 26
6: 28
default: 30
}
12: StackMap locals:
StackMap stack:
aload 2
invokestatic com.mongodb.MongoCredential.createGSSAPICredential:(Ljava/lang/String;)Lcom/mongodb/MongoCredential;
astore 6
start local 6 13: aload 5
ifnull 15
14: aload 6
ldc "SERVICE_NAME"
aload 5
invokevirtual com.mongodb.MongoCredential.withMechanismProperty:(Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCredential;
astore 6
15: StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String com.mongodb.MongoCredential java.lang.String
StackMap stack:
aload 3
ifnull 33
getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isWarnEnabled:()Z
ifeq 33
16: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Password in connection string not used with MONGODB_X509 authentication mechanism."
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
17: goto 33
end local 6 18: StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String top java.lang.String
StackMap stack:
aload 2
aload 7
aload 3
invokestatic com.mongodb.MongoCredential.createPlainCredential:(Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
astore 6
start local 6 19: goto 33
end local 6 20: StackMap locals:
StackMap stack:
aload 2
aload 7
aload 3
invokestatic com.mongodb.MongoCredential.createMongoCRCredential:(Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
astore 6
start local 6 21: goto 33
end local 6 22: StackMap locals:
StackMap stack:
aload 3
ifnull 24
23: new java.lang.IllegalArgumentException
dup
ldc "Invalid mechanism, MONGODB_x509 does not support passwords"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 2
invokestatic com.mongodb.MongoCredential.createMongoX509Credential:(Ljava/lang/String;)Lcom/mongodb/MongoCredential;
astore 6
start local 6 25: goto 33
end local 6 26: StackMap locals:
StackMap stack:
aload 2
aload 7
aload 3
invokestatic com.mongodb.MongoCredential.createScramSha1Credential:(Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
astore 6
start local 6 27: goto 33
end local 6 28: StackMap locals:
StackMap stack:
aload 2
aload 7
aload 3
invokestatic com.mongodb.MongoCredential.createScramSha256Credential:(Ljava/lang/String;Ljava/lang/String;[C)Lcom/mongodb/MongoCredential;
astore 6
start local 6 29: goto 33
end local 6 30: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "The connection string contains an invalid authentication mechanism'. '%s' is not a supported authentication mechanism"
iconst_1
anewarray java.lang.Object
dup
iconst_0
31: aload 1
aastore
32: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
start local 6 33: StackMap locals: com.mongodb.ConnectionString com.mongodb.AuthenticationMechanism java.lang.String char[] java.lang.String java.lang.String com.mongodb.MongoCredential java.lang.String
StackMap stack:
aload 6
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/mongodb/ConnectionString;
0 34 1 mechanism Lcom/mongodb/AuthenticationMechanism;
0 34 2 userName Ljava/lang/String;
0 34 3 password [C
0 34 4 authSource Ljava/lang/String;
0 34 5 gssapiServiceName Ljava/lang/String;
13 18 6 credential Lcom/mongodb/MongoCredential;
19 20 6 credential Lcom/mongodb/MongoCredential;
21 22 6 credential Lcom/mongodb/MongoCredential;
25 26 6 credential Lcom/mongodb/MongoCredential;
27 28 6 credential Lcom/mongodb/MongoCredential;
29 30 6 credential Lcom/mongodb/MongoCredential;
33 34 6 credential Lcom/mongodb/MongoCredential;
4 5 7 mechanismAuthSource Ljava/lang/String;
6 8 7 mechanismAuthSource Ljava/lang/String;
11 34 7 mechanismAuthSource Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
com.mongodb.lang.Nullable()
3:
com.mongodb.lang.Nullable()
4:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
mechanism final
userName final
password final
authSource final
gssapiServiceName final
private java.lang.String getAuthSourceOrDefault(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ConnectionString;
0 3 1 authSource Ljava/lang/String;
0 3 2 defaultAuthSource Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
MethodParameters:
Name Flags
authSource final
defaultAuthSource final
private java.lang.String getLastValue(java.util.Map<java.lang.String, java.util.List<java.lang.String>>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 3
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/ConnectionString;
0 4 1 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
0 4 2 key Ljava/lang/String;
1 4 3 valueList Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;Ljava/lang/String;)Ljava/lang/String;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
optionsMap final
key final
private java.util.Map<java.lang.String, java.util.List<java.lang.String>> parseOptions(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=11, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
ifne 3
2: aload 2
areturn
3: StackMap locals: java.util.Map
StackMap stack:
aload 1
ldc "&|;"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 21
StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.Map top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
invokevirtual java.lang.String.length:()I
ifne 7
6: goto 20
7: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.Map java.lang.String int int java.lang.String[]
StackMap stack:
aload 3
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 7
start local 7 8: iload 7
iflt 17
9: aload 3
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 8
start local 8 10: aload 3
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 11: aload 2
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 10
start local 10 12: aload 10
ifnonnull 14
13: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 10
14: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.Map java.lang.String int int java.lang.String[] int java.lang.String java.lang.String java.util.List
StackMap stack:
aload 10
aload 0
aload 9
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 2
aload 8
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 16: goto 20
17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid option '%s'. '%s' is missing the value delimiter eg '%s=value'"
iconst_3
anewarray java.lang.Object
dup
iconst_0
18: aload 1
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 3
aastore
19: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 3 20: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.Map top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
iload 5
if_icmplt 4
22: aload 2
ldc "wtimeout"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 26
aload 2
ldc "wtimeoutms"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 26
23: aload 2
ldc "wtimeoutms"
aload 2
ldc "wtimeout"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isWarnEnabled:()Z
ifeq 26
25: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Uri option 'wtimeout' has been deprecated, use 'wtimeoutms' instead."
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
26: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.Map
StackMap stack:
aload 0
aload 2
ldc "slaveok"
invokevirtual com.mongodb.ConnectionString.getLastValue:(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 27: aload 3
ifnull 35
aload 2
ldc "readpreference"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 35
28: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
aload 3
ldc "slaveok"
invokevirtual com.mongodb.ConnectionString.parseBoolean:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 30
29: ldc "secondaryPreferred"
goto 31
StackMap locals: java.lang.String
StackMap stack:
30: ldc "primary"
31: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 32: aload 2
ldc "readpreference"
aload 4
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isWarnEnabled:()Z
ifeq 35
34: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Uri option 'slaveok' has been deprecated, use 'readpreference' instead."
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
end local 4 35: StackMap locals:
StackMap stack:
aload 2
ldc "j"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 39
aload 2
ldc "journal"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 39
36: aload 2
ldc "journal"
aload 2
ldc "j"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
37: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isWarnEnabled:()Z
ifeq 39
38: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Uri option 'j' has been deprecated, use 'journal' instead."
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/mongodb/ConnectionString;
0 40 1 optionsPart Ljava/lang/String;
1 40 2 optionsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
5 20 3 part Ljava/lang/String;
8 20 7 idx I
10 16 8 key Ljava/lang/String;
11 16 9 value Ljava/lang/String;
12 16 10 valueList Ljava/util/List<Ljava/lang/String;>;
27 40 3 slaveok Ljava/lang/String;
32 35 4 readPreference Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
optionsPart final
private com.mongodb.ReadPreference buildReadPreference(java.lang.String, java.util.List<com.mongodb.TagSet>, long);
descriptor: (Ljava/lang/String;Ljava/util/List;J)Lcom/mongodb/ReadPreference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 6
1: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
lload 3
ldc -1
lcmp
ifne 3
2: aload 1
invokestatic com.mongodb.ReadPreference.valueOf:(Ljava/lang/String;)Lcom/mongodb/ReadPreference;
areturn
3: StackMap locals:
StackMap stack:
lload 3
ldc -1
lcmp
ifne 5
4: aload 1
aload 2
invokestatic com.mongodb.ReadPreference.valueOf:(Ljava/lang/String;Ljava/util/List;)Lcom/mongodb/TaggableReadPreference;
areturn
5: StackMap locals:
StackMap stack:
aload 1
aload 2
lload 3
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic com.mongodb.ReadPreference.valueOf:(Ljava/lang/String;Ljava/util/List;JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/TaggableReadPreference;
areturn
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 7
lload 3
ldc -1
lcmp
ifeq 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Read preference mode must be specified if either read preference tags or max staleness is specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/ConnectionString;
0 9 1 readPreferenceType Ljava/lang/String;
0 9 2 tagSetList Ljava/util/List<Lcom/mongodb/TagSet;>;
0 9 3 maxStalenessSeconds J
Signature: (Ljava/lang/String;Ljava/util/List<Lcom/mongodb/TagSet;>;J)Lcom/mongodb/ReadPreference;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
2:
MethodParameters:
Name Flags
readPreferenceType final
tagSetList final
maxStalenessSeconds final
private com.mongodb.WriteConcern buildWriteConcern(java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aconst_null
astore 6
start local 6 1: aload 2
ifnonnull 2
aload 3
ifnonnull 2
aload 4
ifnonnull 2
aload 5
ifnull 16
2: StackMap locals: com.mongodb.WriteConcern
StackMap stack:
aload 2
ifnonnull 5
3: getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
astore 6
4: goto 9
5: StackMap locals:
StackMap stack:
new com.mongodb.WriteConcern
dup
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokespecial com.mongodb.WriteConcern.<init>:(I)V
astore 6
6: goto 9
StackMap locals:
StackMap stack: java.lang.NumberFormatException
7: pop
8: new com.mongodb.WriteConcern
dup
aload 2
invokespecial com.mongodb.WriteConcern.<init>:(Ljava/lang/String;)V
astore 6
9: StackMap locals:
StackMap stack:
aload 3
ifnull 11
10: aload 6
aload 3
invokevirtual java.lang.Integer.intValue:()I
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.WriteConcern.withWTimeout:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/WriteConcern;
astore 6
11: StackMap locals:
StackMap stack:
aload 5
ifnull 13
12: aload 6
aload 5
invokevirtual com.mongodb.WriteConcern.withJournal:(Ljava/lang/Boolean;)Lcom/mongodb/WriteConcern;
astore 6
13: StackMap locals:
StackMap stack:
aload 4
ifnull 15
14: aload 6
aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual com.mongodb.WriteConcern.withFsync:(Z)Lcom/mongodb/WriteConcern;
astore 6
15: StackMap locals:
StackMap stack:
aload 6
areturn
16: StackMap locals:
StackMap stack:
aload 1
ifnull 21
17: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
18: getstatic com.mongodb.WriteConcern.ACKNOWLEDGED:Lcom/mongodb/WriteConcern;
astore 6
19: goto 21
20: StackMap locals:
StackMap stack:
getstatic com.mongodb.WriteConcern.UNACKNOWLEDGED:Lcom/mongodb/WriteConcern;
astore 6
21: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/mongodb/ConnectionString;
0 22 1 safe Ljava/lang/Boolean;
0 22 2 w Ljava/lang/String;
0 22 3 wTimeout Ljava/lang/Integer;
0 22 4 fsync Ljava/lang/Boolean;
0 22 5 journal Ljava/lang/Boolean;
1 22 6 retVal Lcom/mongodb/WriteConcern;
Exception table:
from to target type
5 6 7 Class java.lang.NumberFormatException
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
com.mongodb.lang.Nullable()
2:
com.mongodb.lang.Nullable()
3:
com.mongodb.lang.Nullable()
4:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
safe final
w final
wTimeout final
fsync final
journal final
private com.mongodb.TagSet getTags(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/TagSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
ifle 12
2: aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 5: aload 7
arraylength
iconst_2
if_icmpeq 9
6: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid read preference tag. '%s' is not a key value pair"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 1
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.List java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
aload 2
new com.mongodb.Tag
dup
aload 7
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aload 7
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial com.mongodb.Tag.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 3 10: iinc 4 1
StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
11: iload 4
iload 5
if_icmplt 3
12: StackMap locals: com.mongodb.ConnectionString java.lang.String java.util.List
StackMap stack:
new com.mongodb.TagSet
dup
aload 2
invokespecial com.mongodb.TagSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/mongodb/ConnectionString;
0 13 1 tagSetString Ljava/lang/String;
1 13 2 tagList Ljava/util/List<Lcom/mongodb/Tag;>;
4 10 3 tag Ljava/lang/String;
5 10 7 tagKeyValuePair [Ljava/lang/String;
MethodParameters:
Name Flags
tagSetString final
private java.lang.Boolean parseBoolean(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 3
start local 3 1: getstatic com.mongodb.ConnectionString.TRUE_VALUES:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
2: aload 3
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
3: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Deprecated boolean value '%s' in the connection string for '%s'. Replace with 'true'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 3
aastore
dup
iconst_1
aload 2
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
6: StackMap locals: java.lang.String
StackMap stack:
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
7: StackMap locals:
StackMap stack:
getstatic com.mongodb.ConnectionString.FALSE_VALUES:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 13
8: aload 3
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
9: getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Deprecated boolean value '%s' in the connection string for '%s'. Replace with'false'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
10: aload 3
aastore
dup
iconst_1
aload 2
aastore
11: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
13: StackMap locals:
StackMap stack:
getstatic com.mongodb.ConnectionString.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Ignoring unrecognized boolean value '%s' in the connection string for '%s'. Replace with either 'true' or 'false'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
14: aload 3
aastore
dup
iconst_1
aload 2
aastore
15: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.warn:(Ljava/lang/String;)V
16: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/mongodb/ConnectionString;
0 17 1 input Ljava/lang/String;
0 17 2 key Ljava/lang/String;
1 17 3 trimmedInput Ljava/lang/String;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
input final
key final
private int parseInteger(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid value for '%s'. '%s' is not a valid integer"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 2
aastore
dup
iconst_1
aload 1
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/ConnectionString;
0 6 1 input Ljava/lang/String;
0 6 2 key Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
input final
key final
private java.util.List<java.lang.String> parseHosts(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "The connection string must contain at least one host"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 27
StackMap locals: com.mongodb.ConnectionString java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
invokevirtual java.lang.String.length:()I
ifne 7
6: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an empty host '%s'. "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: com.mongodb.ConnectionString java.util.List java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 3
ldc ".sock"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
8: aload 0
aload 3
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;)Ljava/lang/String;
astore 3
9: goto 26
StackMap locals:
StackMap stack:
10: aload 3
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
11: aload 3
ldc "]"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 15
12: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid host '%s'. IPv6 address literals must be enclosed in '[' and ']' according to RFC 2732"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 3
aastore
14: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
ldc "]:"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 16: iload 5
iconst_m1
if_icmpeq 26
17: aload 0
aload 3
aload 3
iload 5
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual com.mongodb.ConnectionString.validatePort:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 18: goto 26
19: StackMap locals:
StackMap stack:
aload 0
aload 3
ldc ":"
invokevirtual com.mongodb.ConnectionString.countOccurrences:(Ljava/lang/String;Ljava/lang/String;)I
istore 5
start local 5 20: iload 5
iconst_1
if_icmple 24
21: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid host '%s'. Reserved characters such as ':' must be escaped according RFC 2396. Any IPv6 address literal must be enclosed in '[' and ']' according to RFC 2732."
iconst_1
anewarray java.lang.Object
dup
iconst_0
22: aload 3
aastore
23: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals: int
StackMap stack:
iload 5
iconst_1
if_icmpne 26
25: aload 0
aload 3
aload 3
aload 3
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual com.mongodb.ConnectionString.validatePort:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 26: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 27: StackMap locals: com.mongodb.ConnectionString java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
28: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
29: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/mongodb/ConnectionString;
0 30 1 rawHosts Ljava/util/List<Ljava/lang/String;>;
3 30 2 hosts Ljava/util/List<Ljava/lang/String;>;
5 27 3 host Ljava/lang/String;
16 18 5 idx I
20 26 5 colonCount I
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
rawHosts final
private void validatePort(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 2: iload 4
ifle 3
iload 4
ldc 65535
if_icmple 7
3: StackMap locals: int int
StackMap stack:
iconst_1
istore 3
end local 4 4: goto 7
StackMap locals: com.mongodb.ConnectionString java.lang.String java.lang.String int
StackMap stack: java.lang.NumberFormatException
5: pop
6: iconst_1
istore 3
7: StackMap locals:
StackMap stack:
iload 3
ifeq 11
8: new java.lang.IllegalArgumentException
dup
ldc "The connection string contains an invalid host '%s'. The port '%s' is not a valid, it must be an integer between 0 and 65535"
iconst_2
anewarray java.lang.Object
dup
iconst_0
9: aload 1
aastore
dup
iconst_1
aload 2
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/ConnectionString;
0 12 1 host Ljava/lang/String;
0 12 2 port Ljava/lang/String;
1 12 3 invalidPort Z
2 4 4 portInt I
Exception table:
from to target type
1 4 5 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
host final
port final
private int countOccurrences(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.length:()I
aload 1
aload 2
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.String.length:()I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
0 1 1 haystack Ljava/lang/String;
0 1 2 needle Ljava/lang/String;
MethodParameters:
Name Flags
haystack final
needle final
private java.lang.String urldecode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual com.mongodb.ConnectionString.urldecode:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
0 1 1 input Ljava/lang/String;
MethodParameters:
Name Flags
input final
private java.lang.String urldecode(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 3: iload 2
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "The connection string contained unsupported characters in the password."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.UnsupportedEncodingException
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "The connection string contained unsupported characters: '%s'.Decoding produced the following error: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: aload 1
aastore
dup
iconst_1
aload 3
invokevirtual java.io.UnsupportedEncodingException.getMessage:()Ljava/lang/String;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/ConnectionString;
0 8 1 input Ljava/lang/String;
0 8 2 password Z
3 8 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
input final
password final
public java.lang.String getUsername();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 1
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getUserName:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public char[] getPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 1
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.getPassword:()[C
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: char[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public boolean isSrvProtocol();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.isSrvProtocol:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
public java.util.List<java.lang.String> getHosts();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.hosts:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.lang.String getDatabase();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.String getCollection();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.String getURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.ConnectionString.getConnectionString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String getConnectionString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.connectionString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
public java.util.List<com.mongodb.MongoCredential> getCredentialList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 1
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ConnectionString;
Signature: ()Ljava/util/List<Lcom/mongodb/MongoCredential;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public com.mongodb.MongoCredential getCredential();
descriptor: ()Lcom/mongodb/MongoCredential;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.ReadPreference getReadPreference();
descriptor: ()Lcom/mongodb/ReadPreference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.ReadConcern getReadConcern();
descriptor: ()Lcom/mongodb/ReadConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.readConcern:Lcom/mongodb/ReadConcern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.WriteConcern getWriteConcern();
descriptor: ()Lcom/mongodb/WriteConcern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public boolean getRetryWrites();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.retryWrites:Ljava/lang/Boolean;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.mongodb.ConnectionString.retryWrites:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.Boolean getRetryWritesValue();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.retryWrites:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
public java.lang.Boolean getRetryReads();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.retryReads:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
public java.lang.Integer getMinConnectionPoolSize();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getMaxConnectionPoolSize();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getThreadsAllowedToBlockForConnectionMultiplier();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getMaxWaitTime();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getMaxConnectionIdleTime();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getMaxConnectionLifeTime();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getConnectTimeout();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getSocketTimeout();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Boolean getSslEnabled();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.String getStreamType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.streamType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
com.mongodb.lang.Nullable()
public java.lang.Boolean getSslInvalidHostnameAllowed();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.sslInvalidHostnameAllowed:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.String getRequiredReplicaSetName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getServerSelectionTimeout();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.serverSelectionTimeout:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getLocalThreshold();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.localThreshold:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.Integer getHeartbeatFrequency();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.heartbeatFrequency:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.lang.String getApplicationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public java.util.List<com.mongodb.MongoCompressor> getCompressorList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.compressorList:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
Signature: ()Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ConnectionString.connectionString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ConnectionString;
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
instanceof com.mongodb.ConnectionString
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.ConnectionString
astore 2
start local 2 5: aload 0
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
ifnull 6
aload 0
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
aload 2
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
StackMap locals: com.mongodb.ConnectionString
StackMap stack:
6: aload 2
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
ifnull 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
ifnull 9
aload 0
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 11
goto 10
StackMap locals:
StackMap stack:
9: aload 2
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
ifnull 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 12
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
aload 2
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
12: aload 2
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 15
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
aload 2
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 16
StackMap locals:
StackMap stack:
15: aload 2
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 17
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.hosts:Ljava/util/List;
aload 2
getfield com.mongodb.ConnectionString.hosts:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 19
18: iconst_0
ireturn
19: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
ifnull 20
aload 0
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 22
goto 21
20: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
ifnull 22
21: StackMap locals:
StackMap stack:
iconst_0
ireturn
22: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
ifnull 23
aload 0
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 25
goto 24
23: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
ifnull 25
24: StackMap locals:
StackMap stack:
iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
ifnull 26
aload 0
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 28
goto 27
26: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
ifnull 28
27: StackMap locals:
StackMap stack:
iconst_0
ireturn
28: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
ifnull 29
aload 0
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 31
goto 30
StackMap locals:
StackMap stack:
29: aload 2
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
ifnull 31
30: StackMap locals:
StackMap stack:
iconst_0
ireturn
31: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
ifnull 32
aload 0
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 34
goto 33
32: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
ifnull 34
33: StackMap locals:
StackMap stack:
iconst_0
ireturn
34: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
ifnull 35
aload 0
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
aload 2
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 37
goto 36
StackMap locals:
StackMap stack:
35: aload 2
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
ifnull 37
36: StackMap locals:
StackMap stack:
iconst_0
ireturn
37: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
ifnull 38
aload 0
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
aload 2
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
goto 39
38: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
ifnull 40
39: StackMap locals:
StackMap stack:
iconst_0
ireturn
40: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
ifnull 41
aload 0
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 43
goto 42
StackMap locals:
StackMap stack:
41: aload 2
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
ifnull 43
42: StackMap locals:
StackMap stack:
iconst_0
ireturn
43: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
ifnull 44
aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
aload 2
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifne 46
goto 45
StackMap locals:
StackMap stack:
44: aload 2
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
ifnull 46
45: StackMap locals:
StackMap stack:
iconst_0
ireturn
46: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
ifnull 48
47: aload 0
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
aload 2
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
invokevirtual java.lang.Integer.equals:(Ljava/lang/Object;)Z
ifne 50
goto 49
48: StackMap locals:
StackMap stack:
aload 2
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
ifnull 50
49: StackMap locals:
StackMap stack:
iconst_0
ireturn
50: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
ifnull 51
aload 0
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
aload 2
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
invokevirtual com.mongodb.WriteConcern.equals:(Ljava/lang/Object;)Z
ifne 53
goto 52
StackMap locals:
StackMap stack:
51: aload 2
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
ifnull 53
52: StackMap locals:
StackMap stack:
iconst_0
ireturn
53: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
ifnull 54
aload 0
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
aload 2
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 56
goto 55
StackMap locals:
StackMap stack:
54: aload 2
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
ifnull 56
55: StackMap locals:
StackMap stack:
iconst_0
ireturn
56: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.ConnectionString.compressorList:Ljava/util/List;
aload 2
getfield com.mongodb.ConnectionString.compressorList:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 58
57: iconst_0
ireturn
58: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lcom/mongodb/ConnectionString;
0 59 1 o Ljava/lang/Object;
5 59 2 that Lcom/mongodb/ConnectionString;
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.ConnectionString.credential:Lcom/mongodb/MongoCredential;
ifnull 1
aload 0
getfield com.mongodb.ConnectionString.credential:Lcom/mongodb/MongoCredential;
invokevirtual com.mongodb.MongoCredential.hashCode:()I
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.ConnectionString.hosts:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
ifnull 5
aload 0
getfield com.mongodb.ConnectionString.database:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 6
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int
5: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
6: iadd
istore 1
7: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
ifnull 8
aload 0
getfield com.mongodb.ConnectionString.collection:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 9
StackMap locals:
StackMap stack: int
8: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
9: iadd
istore 1
10: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
ifnull 11
aload 0
getfield com.mongodb.ConnectionString.readPreference:Lcom/mongodb/ReadPreference;
invokevirtual java.lang.Object.hashCode:()I
goto 12
StackMap locals:
StackMap stack: int
11: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
12: iadd
istore 1
13: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
ifnull 14
aload 0
getfield com.mongodb.ConnectionString.writeConcern:Lcom/mongodb/WriteConcern;
invokevirtual com.mongodb.WriteConcern.hashCode:()I
goto 15
StackMap locals:
StackMap stack: int
14: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
15: iadd
istore 1
16: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
ifnull 17
aload 0
getfield com.mongodb.ConnectionString.minConnectionPoolSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 18
StackMap locals:
StackMap stack: int
17: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
18: iadd
istore 1
19: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
ifnull 20
aload 0
getfield com.mongodb.ConnectionString.maxConnectionPoolSize:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 21
StackMap locals:
StackMap stack: int
20: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
21: iadd
istore 1
22: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
ifnull 24
23: aload 0
getfield com.mongodb.ConnectionString.threadsAllowedToBlockForConnectionMultiplier:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 25
24: StackMap locals:
StackMap stack: int
iconst_0
25: StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
iadd
istore 1
26: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
ifnull 27
aload 0
getfield com.mongodb.ConnectionString.maxWaitTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 28
StackMap locals:
StackMap stack: int
27: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
28: iadd
istore 1
29: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
ifnull 30
aload 0
getfield com.mongodb.ConnectionString.maxConnectionIdleTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 31
StackMap locals:
StackMap stack: int
30: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
31: iadd
istore 1
32: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
ifnull 33
aload 0
getfield com.mongodb.ConnectionString.maxConnectionLifeTime:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 34
StackMap locals:
StackMap stack: int
33: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
34: iadd
istore 1
35: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
ifnull 36
aload 0
getfield com.mongodb.ConnectionString.connectTimeout:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 37
StackMap locals:
StackMap stack: int
36: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
37: iadd
istore 1
38: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
ifnull 39
aload 0
getfield com.mongodb.ConnectionString.socketTimeout:Ljava/lang/Integer;
invokevirtual java.lang.Integer.hashCode:()I
goto 40
StackMap locals:
StackMap stack: int
39: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
40: iadd
istore 1
41: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
ifnull 42
aload 0
getfield com.mongodb.ConnectionString.sslEnabled:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.hashCode:()I
goto 43
StackMap locals:
StackMap stack: int
42: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
43: iadd
istore 1
44: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
ifnull 45
aload 0
getfield com.mongodb.ConnectionString.requiredReplicaSetName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 46
StackMap locals:
StackMap stack: int
45: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
46: iadd
istore 1
47: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
ifnull 48
aload 0
getfield com.mongodb.ConnectionString.applicationName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 49
StackMap locals:
StackMap stack: int
48: iconst_0
StackMap locals: com.mongodb.ConnectionString int
StackMap stack: int int
49: iadd
istore 1
50: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.ConnectionString.compressorList:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
51: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lcom/mongodb/ConnectionString;
3 52 1 result I
static int[] $SWITCH_TABLE$com$mongodb$AuthenticationMechanism();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.mongodb.ConnectionString.$SWITCH_TABLE$com$mongodb$AuthenticationMechanism:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.mongodb.AuthenticationMechanism.values:()[Lcom/mongodb/AuthenticationMechanism;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.mongodb.AuthenticationMechanism.GSSAPI:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.mongodb.AuthenticationMechanism.MONGODB_CR:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.mongodb.AuthenticationMechanism.MONGODB_X509:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.mongodb.AuthenticationMechanism.PLAIN:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_1:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.mongodb.AuthenticationMechanism.SCRAM_SHA_256:Lcom/mongodb/AuthenticationMechanism;
invokevirtual com.mongodb.AuthenticationMechanism.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic com.mongodb.ConnectionString.$SWITCH_TABLE$com$mongodb$AuthenticationMechanism:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "ConnectionString.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map