public abstract class javax.net.ssl.HttpsURLConnection extends java.net.HttpURLConnection
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.net.ssl.HttpsURLConnection
super_class: java.net.HttpURLConnection
{
private static javax.net.ssl.HostnameVerifier defaultHostnameVerifier;
descriptor: Ljavax/net/ssl/HostnameVerifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected javax.net.ssl.HostnameVerifier hostnameVerifier;
descriptor: Ljavax/net/ssl/HostnameVerifier;
flags: (0x0004) ACC_PROTECTED
private static javax.net.ssl.SSLSocketFactory defaultSSLSocketFactory;
descriptor: Ljavax/net/ssl/SSLSocketFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private javax.net.ssl.SSLSocketFactory sslSocketFactory;
descriptor: Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.net.ssl.HttpsURLConnection$DefaultHostnameVerifier
dup
invokespecial javax.net.ssl.HttpsURLConnection$DefaultHostnameVerifier.<init>:()V
1: putstatic javax.net.ssl.HttpsURLConnection.defaultHostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
2: aconst_null
putstatic javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.net.HttpURLConnection.<init>:(Ljava/net/URL;)V
1: aload 0
getstatic javax.net.ssl.HttpsURLConnection.defaultHostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
putfield javax.net.ssl.HttpsURLConnection.hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
2: aload 0
invokestatic javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
putfield javax.net.ssl.HttpsURLConnection.sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/net/ssl/HttpsURLConnection;
0 4 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public abstract java.lang.String getCipherSuite();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.security.cert.Certificate[] getLocalCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.security.cert.Certificate[] getServerCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.net.ssl.SSLPeerUnverifiedException
public java.security.Principal getPeerPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.net.ssl.HttpsURLConnection.getServerCertificates:()[Ljava/security/cert/Certificate;
astore 1
start local 1 1: aload 1
iconst_0
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/net/ssl/HttpsURLConnection;
1 3 1 certs [Ljava/security/cert/Certificate;
Exceptions:
throws javax.net.ssl.SSLPeerUnverifiedException
public java.security.Principal getLocalPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.net.ssl.HttpsURLConnection.getLocalCertificates:()[Ljava/security/cert/Certificate;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
iconst_0
aaload
checkcast java.security.cert.X509Certificate
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
3: areturn
4: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/net/ssl/HttpsURLConnection;
1 5 1 certs [Ljava/security/cert/Certificate;
public static void setDefaultHostnameVerifier(javax.net.ssl.HostnameVerifier);
descriptor: (Ljavax/net/ssl/HostnameVerifier;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "no default HostnameVerifier specified"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 5: aload 1
ifnull 7
6: aload 1
new javax.net.ssl.SSLPermission
dup
ldc "setHostnameVerifier"
invokespecial javax.net.ssl.SSLPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
7: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic javax.net.ssl.HttpsURLConnection.defaultHostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 v Ljavax/net/ssl/HostnameVerifier;
5 9 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
v
public static javax.net.ssl.HostnameVerifier getDefaultHostnameVerifier();
descriptor: ()Ljavax/net/ssl/HostnameVerifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.net.ssl.HttpsURLConnection.defaultHostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void setHostnameVerifier(javax.net.ssl.HostnameVerifier);
descriptor: (Ljavax/net/ssl/HostnameVerifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "no HostnameVerifier specified"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.net.ssl.HttpsURLConnection.hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/net/ssl/HttpsURLConnection;
0 6 1 v Ljavax/net/ssl/HostnameVerifier;
MethodParameters:
Name Flags
v
public javax.net.ssl.HostnameVerifier getHostnameVerifier();
descriptor: ()Ljavax/net/ssl/HostnameVerifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.HttpsURLConnection.hostnameVerifier:Ljavax/net/ssl/HostnameVerifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/HttpsURLConnection;
public static void setDefaultSSLSocketFactory(javax.net.ssl.SSLSocketFactory);
descriptor: (Ljavax/net/ssl/SSLSocketFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "no default SSLSocketFactory specified"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 5: aload 1
ifnull 7
6: aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
7: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 sf Ljavax/net/ssl/SSLSocketFactory;
5 9 1 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
sf
public static javax.net.ssl.SSLSocketFactory getDefaultSSLSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
ifnonnull 3
1: invokestatic javax.net.ssl.SSLSocketFactory.getDefault:()Ljavax/net/SocketFactory;
checkcast javax.net.ssl.SSLSocketFactory
2: putstatic javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
3: StackMap locals:
StackMap stack:
getstatic javax.net.ssl.HttpsURLConnection.defaultSSLSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory);
descriptor: (Ljavax/net/ssl/SSLSocketFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "no SSLSocketFactory specified"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
7: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
aload 1
putfield javax.net.ssl.HttpsURLConnection.sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/net/ssl/HttpsURLConnection;
0 9 1 sf Ljavax/net/ssl/SSLSocketFactory;
5 9 2 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
sf
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.net.ssl.HttpsURLConnection.sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/ssl/HttpsURLConnection;
}
SourceFile: "HttpsURLConnection.java"
NestMembers:
javax.net.ssl.HttpsURLConnection$DefaultHostnameVerifier
InnerClasses:
private DefaultHostnameVerifier = javax.net.ssl.HttpsURLConnection$DefaultHostnameVerifier of javax.net.ssl.HttpsURLConnection