public abstract class javax.net.SocketFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.net.SocketFactory
super_class: java.lang.Object
{
private static javax.net.SocketFactory theFactory;
descriptor: Ljavax/net/SocketFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/net/SocketFactory;
public static javax.net.SocketFactory getDefault();
descriptor: ()Ljavax/net/SocketFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc Ljavax/net/SocketFactory;
dup
astore 0
monitorenter
1: getstatic javax.net.SocketFactory.theFactory:Ljavax/net/SocketFactory;
ifnonnull 3
2: new javax.net.DefaultSocketFactory
dup
invokespecial javax.net.DefaultSocketFactory.<init>:()V
putstatic javax.net.SocketFactory.theFactory:Ljavax/net/SocketFactory;
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 0
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
getstatic javax.net.SocketFactory.theFactory:Ljavax/net/SocketFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 4 5 any
5 6 5 any
public java.net.Socket createSocket();
descriptor: ()Ljava/net/Socket;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
1: invokespecial java.lang.UnsupportedOperationException.<init>:()V
astore 1
start local 1 2: new java.net.SocketException
dup
3: ldc "Unconnected sockets not implemented"
4: invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: aload 2
aload 1
invokevirtual java.net.SocketException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
6: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/net/SocketFactory;
2 7 1 uop Ljava/lang/UnsupportedOperationException;
5 7 2 se Ljava/net/SocketException;
Exceptions:
throws java.io.IOException
public abstract java.net.Socket createSocket(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/net/Socket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, java.net.UnknownHostException
MethodParameters:
Name Flags
host
port
public abstract java.net.Socket createSocket(java.lang.String, int, java.net.InetAddress, int);
descriptor: (Ljava/lang/String;ILjava/net/InetAddress;I)Ljava/net/Socket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, java.net.UnknownHostException
MethodParameters:
Name Flags
host
port
localHost
localPort
public abstract java.net.Socket createSocket(java.net.InetAddress, int);
descriptor: (Ljava/net/InetAddress;I)Ljava/net/Socket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
host
port
public abstract java.net.Socket createSocket(java.net.InetAddress, int, java.net.InetAddress, int);
descriptor: (Ljava/net/InetAddress;ILjava/net/InetAddress;I)Ljava/net/Socket;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
address
port
localAddress
localPort
}
SourceFile: "SocketFactory.java"