final class javax.net.ssl.SNIHostName$SNIHostNameMatcher extends javax.net.ssl.SNIMatcher
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.net.ssl.SNIHostName$SNIHostNameMatcher
super_class: javax.net.ssl.SNIMatcher
{
private final java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokespecial javax.net.ssl.SNIMatcher.<init>:(I)V
1: aload 0
aload 1
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield javax.net.ssl.SNIHostName$SNIHostNameMatcher.pattern:Ljava/util/regex/Pattern;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/net/ssl/SNIHostName$SNIHostNameMatcher;
0 3 1 regex Ljava/lang/String;
MethodParameters:
Name Flags
regex
public boolean matches(javax.net.ssl.SNIServerName);
descriptor: (Ljavax/net/ssl/SNIServerName;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "The SNIServerName argument cannot be null"
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.net.ssl.SNIHostName
ifne 13
5: aload 1
invokevirtual javax.net.ssl.SNIServerName.getType:()I
ifeq 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "The server name type is not host_name"
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
new javax.net.ssl.SNIHostName
dup
aload 1
invokevirtual javax.net.ssl.SNIServerName.getEncoded:()[B
invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
astore 2
start local 2 10: goto 14
end local 2 StackMap locals:
StackMap stack: java.lang.RuntimeException
11: pop
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 1
checkcast javax.net.ssl.SNIHostName
astore 2
start local 2 14: StackMap locals: javax.net.ssl.SNIHostName
StackMap stack:
aload 2
invokevirtual javax.net.ssl.SNIHostName.getAsciiName:()Ljava/lang/String;
astore 3
start local 3 15: aload 0
getfield javax.net.ssl.SNIHostName$SNIHostNameMatcher.pattern:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 17
16: iconst_1
ireturn
17: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield javax.net.ssl.SNIHostName$SNIHostNameMatcher.pattern:Ljava/util/regex/Pattern;
aload 3
invokestatic java.net.IDN.toUnicode:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/net/ssl/SNIHostName$SNIHostNameMatcher;
0 18 1 serverName Ljavax/net/ssl/SNIServerName;
10 11 2 hostname Ljavax/net/ssl/SNIHostName;
14 18 2 hostname Ljavax/net/ssl/SNIHostName;
15 18 3 asciiName Ljava/lang/String;
Exception table:
from to target type
9 10 11 Class java.lang.NullPointerException
9 10 11 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
serverName
}
SourceFile: "SNIHostName.java"
NestHost: javax.net.ssl.SNIHostName
InnerClasses:
private final SNIHostNameMatcher = javax.net.ssl.SNIHostName$SNIHostNameMatcher of javax.net.ssl.SNIHostName