public abstract class sun.net.ext.ExtendedSocketOptions
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.net.ext.ExtendedSocketOptions
super_class: java.lang.Object
{
public static final short SOCK_STREAM;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final short SOCK_DGRAM;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final java.util.Set<java.net.SocketOption<?>> options;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private final java.util.Set<java.net.SocketOption<?>> datagramOptions;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private final java.util.Set<java.net.SocketOption<?>> clientStreamOptions;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private final java.util.Set<java.net.SocketOption<?>> serverStreamOptions;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private static volatile sun.net.ext.ExtendedSocketOptions instance;
descriptor: Lsun/net/ext/ExtendedSocketOptions;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jdk.net.ExtendedSocketOptions"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
1: goto 4
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
2: pop
3: new sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions
dup
invokespecial sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions.<init>:()V
putstatic sun.net.ext.ExtendedSocketOptions.instance:Lsun/net/ext/ExtendedSocketOptions;
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
public final boolean isOptionSupported(java.net.SocketOption<?>);
descriptor: (Ljava/net/SocketOption;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.net.ext.ExtendedSocketOptions.options:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ext/ExtendedSocketOptions;
0 1 1 option Ljava/net/SocketOption<*>;
Signature: (Ljava/net/SocketOption<*>;)Z
MethodParameters:
Name Flags
option
public final java.util.Set<java.net.SocketOption<?>> options();
descriptor: ()Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.ext.ExtendedSocketOptions.options:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ext/ExtendedSocketOptions;
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
public static java.util.Set<java.net.SocketOption<?>> serverSocketOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic sun.net.ext.ExtendedSocketOptions.getInstance:()Lsun/net/ext/ExtendedSocketOptions;
iconst_1
iconst_1
invokevirtual sun.net.ext.ExtendedSocketOptions.options0:(SZ)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
public static java.util.Set<java.net.SocketOption<?>> clientSocketOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic sun.net.ext.ExtendedSocketOptions.getInstance:()Lsun/net/ext/ExtendedSocketOptions;
iconst_1
iconst_0
invokevirtual sun.net.ext.ExtendedSocketOptions.options0:(SZ)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
public static java.util.Set<java.net.SocketOption<?>> datagramSocketOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic sun.net.ext.ExtendedSocketOptions.getInstance:()Lsun/net/ext/ExtendedSocketOptions;
iconst_2
iconst_0
invokevirtual sun.net.ext.ExtendedSocketOptions.options0:(SZ)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private static boolean isDatagramOption(java.net.SocketOption<?>);
descriptor: (Ljava/net/SocketOption;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.net.SocketOption.name:()Ljava/lang/String;
ldc "TCP_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 option Ljava/net/SocketOption<*>;
Signature: (Ljava/net/SocketOption<*>;)Z
MethodParameters:
Name Flags
option
private static boolean isStreamOption(java.net.SocketOption<?>, );
descriptor: (Ljava/net/SocketOption;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
ldc "SO_FLOW_SLA"
aload 0
invokeinterface java.net.SocketOption.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.net.SocketOption.name:()Ljava/lang/String;
ldc "UDP_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 option Ljava/net/SocketOption<*>;
0 5 1 server Z
Signature: (Ljava/net/SocketOption<*>;Z)Z
MethodParameters:
Name Flags
option
server
private java.util.Set<java.net.SocketOption<?>> options0(short, boolean);
descriptor: (SZ)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 1 - 2
1: 2
2: 1
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.ext.ExtendedSocketOptions.datagramOptions:Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
iload 2
ifeq 4
3: aload 0
getfield sun.net.ext.ExtendedSocketOptions.serverStreamOptions:Ljava/util/Set;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.ext.ExtendedSocketOptions.clientStreamOptions:Ljava/util/Set;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid socket option type"
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 Lsun/net/ext/ExtendedSocketOptions;
0 6 1 type S
0 6 2 server Z
Signature: (SZ)Ljava/util/Set<Ljava/net/SocketOption<*>;>;
MethodParameters:
Name Flags
type
server
public abstract void setOption(java.io.FileDescriptor, java.net.SocketOption<?>, );
descriptor: (Ljava/io/FileDescriptor;Ljava/net/SocketOption;Ljava/lang/Object;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.net.SocketException
Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketOption<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
fd
option
value
public abstract getOption(java.io.FileDescriptor, java.net.SocketOption<?>);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/SocketOption;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.net.SocketException
Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketOption<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
fd
option
protected void <init>(java.util.Set<java.net.SocketOption<?>>);
descriptor: (Ljava/util/Set;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.net.ext.ExtendedSocketOptions.options:Ljava/util/Set;
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 4: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 5: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: sun.net.ext.ExtendedSocketOptions java.util.Set java.util.HashSet java.util.HashSet java.util.HashSet top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.SocketOption
astore 5
start local 5 7: aload 5
invokestatic sun.net.ext.ExtendedSocketOptions.isDatagramOption:(Ljava/net/SocketOption;)Z
ifeq 9
8: aload 2
aload 5
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals: sun.net.ext.ExtendedSocketOptions java.util.Set java.util.HashSet java.util.HashSet java.util.HashSet java.net.SocketOption java.util.Iterator
StackMap stack:
aload 5
iconst_1
invokestatic sun.net.ext.ExtendedSocketOptions.isStreamOption:(Ljava/net/SocketOption;Z)Z
ifeq 11
10: aload 3
aload 5
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
aload 5
iconst_0
invokestatic sun.net.ext.ExtendedSocketOptions.isStreamOption:(Ljava/net/SocketOption;Z)Z
ifeq 13
12: aload 4
aload 5
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 5 13: StackMap locals: sun.net.ext.ExtendedSocketOptions java.util.Set java.util.HashSet java.util.HashSet java.util.HashSet top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 0
aload 2
invokestatic java.util.Set.copyOf:(Ljava/util/Collection;)Ljava/util/Set;
putfield sun.net.ext.ExtendedSocketOptions.datagramOptions:Ljava/util/Set;
15: aload 0
aload 3
invokestatic java.util.Set.copyOf:(Ljava/util/Collection;)Ljava/util/Set;
putfield sun.net.ext.ExtendedSocketOptions.serverStreamOptions:Ljava/util/Set;
16: aload 0
aload 4
invokestatic java.util.Set.copyOf:(Ljava/util/Collection;)Ljava/util/Set;
putfield sun.net.ext.ExtendedSocketOptions.clientStreamOptions:Ljava/util/Set;
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/net/ext/ExtendedSocketOptions;
0 18 1 options Ljava/util/Set<Ljava/net/SocketOption<*>;>;
3 18 2 datagramOptions Ljava/util/HashSet<Ljava/net/SocketOption<*>;>;
4 18 3 serverStreamOptions Ljava/util/HashSet<Ljava/net/SocketOption<*>;>;
5 18 4 clientStreamOptions Ljava/util/HashSet<Ljava/net/SocketOption<*>;>;
7 13 5 option Ljava/net/SocketOption<*>;
Signature: (Ljava/util/Set<Ljava/net/SocketOption<*>;>;)V
MethodParameters:
Name Flags
options
public static final sun.net.ext.ExtendedSocketOptions getInstance();
descriptor: ()Lsun/net/ext/ExtendedSocketOptions;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.net.ext.ExtendedSocketOptions.instance:Lsun/net/ext/ExtendedSocketOptions;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static final void register(sun.net.ext.ExtendedSocketOptions);
descriptor: (Lsun/net/ext/ExtendedSocketOptions;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.net.ext.ExtendedSocketOptions.instance:Lsun/net/ext/ExtendedSocketOptions;
ifnull 2
1: new java.lang.InternalError
dup
ldc "Attempting to reregister extended options"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
putstatic sun.net.ext.ExtendedSocketOptions.instance:Lsun/net/ext/ExtendedSocketOptions;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 extOptions Lsun/net/ext/ExtendedSocketOptions;
MethodParameters:
Name Flags
extOptions
}
SourceFile: "ExtendedSocketOptions.java"
NestMembers:
sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions
InnerClasses:
final NoExtendedSocketOptions = sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions of sun.net.ext.ExtendedSocketOptions