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 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 boolean isDatagramOption(java.net.SocketOption<?>);
descriptor: (Ljava/net/SocketOption;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/ext/ExtendedSocketOptions;
0 3 1 option Ljava/net/SocketOption<*>;
Signature: (Ljava/net/SocketOption<*>;)Z
MethodParameters:
Name Flags
option
private boolean isStreamOption(java.net.SocketOption<?>, );
descriptor: (Ljava/net/SocketOption;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
ldc "SO_FLOW_SLA"
aload 1
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 1
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/ext/ExtendedSocketOptions;
0 5 1 option Ljava/net/SocketOption<*>;
0 5 2 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=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 1 - 2
1: 6
2: 1
default: 11
}
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.ext.ExtendedSocketOptions.options:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
2: aload 0
invokedynamic test(Lsun/net/ext/ExtendedSocketOptions;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
sun/net/ext/ExtendedSocketOptions.lambda$0(Ljava/net/SocketOption;)Z (7)
(Ljava/net/SocketOption;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.toUnmodifiableSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
4: astore 3
start local 3 5: goto 12
end local 3 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.ext.ExtendedSocketOptions.options:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
7: aload 0
iload 2
invokedynamic test(Lsun/net/ext/ExtendedSocketOptions;Z)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
sun/net/ext/ExtendedSocketOptions.lambda$1(ZLjava/net/SocketOption;)Z (7)
(Ljava/net/SocketOption;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
8: invokestatic java.util.stream.Collectors.toUnmodifiableSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
9: astore 3
start local 3 10: goto 12
end local 3 11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid socket option type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 3 12: StackMap locals: java.util.Set
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/ext/ExtendedSocketOptions;
0 13 1 type S
0 13 2 server Z
5 6 3 extOptions Ljava/util/Set<Ljava/net/SocketOption<*>;>;
10 11 3 extOptions Ljava/util/Set<Ljava/net/SocketOption<*>;>;
12 13 3 extOptions Ljava/util/Set<Ljava/net/SocketOption<*>;>;
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=2, 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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/ext/ExtendedSocketOptions;
0 3 1 options Ljava/util/Set<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
private boolean lambda$0(java.net.SocketOption);
descriptor: (Ljava/net/SocketOption;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.net.ext.ExtendedSocketOptions.isDatagramOption:(Ljava/net/SocketOption;)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<*>;
private boolean lambda$1(boolean, java.net.SocketOption);
descriptor: (ZLjava/net/SocketOption;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
iload 1
invokevirtual sun.net.ext.ExtendedSocketOptions.isStreamOption:(Ljava/net/SocketOption;Z)Z
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ext/ExtendedSocketOptions;
0 1 2 option Ljava/net/SocketOption<*>;
}
SourceFile: "ExtendedSocketOptions.java"
NestMembers:
sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final NoExtendedSocketOptions = sun.net.ext.ExtendedSocketOptions$NoExtendedSocketOptions of sun.net.ext.ExtendedSocketOptions