public final class jdk.net.ExtendedSocketOptions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.net.ExtendedSocketOptions
super_class: java.lang.Object
{
public static final java.net.SocketOption<jdk.net.SocketFlow> SO_FLOW_SLA;
descriptor: Ljava/net/SocketOption;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/net/SocketOption<Ljdk/net/SocketFlow;>;
public static final java.net.SocketOption<java.lang.Boolean> TCP_QUICKACK;
descriptor: Ljava/net/SocketOption;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/net/SocketOption<Ljava/lang/Boolean;>;
private static final jdk.net.ExtendedSocketOptions$PlatformSocketOptions platformSocketOptions;
descriptor: Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean flowSupported;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean quickAckSupported;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.net.SocketOption<?>> extendedOptions;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private static final jdk.internal.misc.JavaIOFileDescriptorAccess fdAccess;
descriptor: Ljdk/internal/misc/JavaIOFileDescriptorAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Ljdk/net/ExtendedSocketOptions;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.net.ExtendedSocketOptions.$assertionsDisabled:Z
3: new jdk.net.ExtendedSocketOptions$ExtSocketOption
dup
ldc "SO_FLOW_SLA"
ldc Ljdk/net/SocketFlow;
4: invokespecial jdk.net.ExtendedSocketOptions$ExtSocketOption.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
putstatic jdk.net.ExtendedSocketOptions.SO_FLOW_SLA:Ljava/net/SocketOption;
5: new jdk.net.ExtendedSocketOptions$ExtSocketOption
dup
ldc "TCP_QUICKACK"
ldc Ljava/lang/Boolean;
invokespecial jdk.net.ExtendedSocketOptions$ExtSocketOption.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
6: putstatic jdk.net.ExtendedSocketOptions.TCP_QUICKACK:Ljava/net/SocketOption;
7: invokestatic jdk.net.ExtendedSocketOptions$PlatformSocketOptions.get:()Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
8: putstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
9: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.flowSupported:()Z
10: putstatic jdk.net.ExtendedSocketOptions.flowSupported:Z
11: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.quickAckSupported:()Z
12: putstatic jdk.net.ExtendedSocketOptions.quickAckSupported:Z
13: invokestatic jdk.net.ExtendedSocketOptions.options:()Ljava/util/Set;
putstatic jdk.net.ExtendedSocketOptions.extendedOptions:Ljava/util/Set;
14: new jdk.net.ExtendedSocketOptions$1
dup
getstatic jdk.net.ExtendedSocketOptions.extendedOptions:Ljava/util/Set;
invokespecial jdk.net.ExtendedSocketOptions$1.<init>:(Ljava/util/Set;)V
15: invokestatic sun.net.ext.ExtendedSocketOptions.register:(Lsun/net/ext/ExtendedSocketOptions;)V
16: invokestatic jdk.internal.misc.SharedSecrets.getJavaIOFileDescriptorAccess:()Ljdk/internal/misc/JavaIOFileDescriptorAccess;
17: putstatic jdk.net.ExtendedSocketOptions.fdAccess:Ljdk/internal/misc/JavaIOFileDescriptorAccess;
18: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Ljdk/net/ExtendedSocketOptions;
static java.util.Set<java.net.SocketOption<?>> options();
descriptor: ()Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.net.ExtendedSocketOptions.flowSupported:Z
ifeq 4
1: getstatic jdk.net.ExtendedSocketOptions.quickAckSupported:Z
ifeq 3
2: getstatic jdk.net.ExtendedSocketOptions.SO_FLOW_SLA:Ljava/net/SocketOption;
getstatic jdk.net.ExtendedSocketOptions.TCP_QUICKACK:Ljava/net/SocketOption;
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.net.ExtendedSocketOptions.SO_FLOW_SLA:Ljava/net/SocketOption;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.net.ExtendedSocketOptions.quickAckSupported:Z
ifeq 6
5: getstatic jdk.net.ExtendedSocketOptions.TCP_QUICKACK:Ljava/net/SocketOption;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
areturn
6: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
private static <T> T checkValueType(, java.lang.Class<?>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
1: new java.lang.StringBuilder
dup
ldc "Found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", Expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 2: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value Ljava/lang/Object;
0 4 1 type Ljava/lang/Class<*>;
2 3 2 s Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
value
type
private static void setFlowOption(java.io.FileDescriptor, jdk.net.SocketFlow);
descriptor: (Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
getstatic jdk.net.ExtendedSocketOptions.fdAccess:Ljdk/internal/misc/JavaIOFileDescriptorAccess;
aload 0
invokeinterface jdk.internal.misc.JavaIOFileDescriptorAccess.get:(Ljava/io/FileDescriptor;)I
1: aload 1
invokevirtual jdk.net.SocketFlow.priority:()I
2: aload 1
invokevirtual jdk.net.SocketFlow.bandwidth:()J
3: invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.setFlowOption:(IIJ)I
istore 2
start local 2 4: aload 1
iload 2
invokevirtual jdk.net.SocketFlow.status:(I)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fd Ljava/io/FileDescriptor;
0 6 1 f Ljdk/net/SocketFlow;
4 6 2 status I
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
fd
f
private static void getFlowOption(java.io.FileDescriptor, jdk.net.SocketFlow);
descriptor: (Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
getstatic jdk.net.ExtendedSocketOptions.fdAccess:Ljdk/internal/misc/JavaIOFileDescriptorAccess;
aload 0
invokeinterface jdk.internal.misc.JavaIOFileDescriptorAccess.get:(Ljava/io/FileDescriptor;)I
aload 1
invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.getFlowOption:(ILjdk/net/SocketFlow;)I
istore 2
start local 2 1: aload 1
iload 2
invokevirtual jdk.net.SocketFlow.status:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fd Ljava/io/FileDescriptor;
0 3 1 f Ljdk/net/SocketFlow;
1 3 2 status I
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
fd
f
private static void setQuickAckOption(java.io.FileDescriptor, boolean);
descriptor: (Ljava/io/FileDescriptor;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
getstatic jdk.net.ExtendedSocketOptions.fdAccess:Ljdk/internal/misc/JavaIOFileDescriptorAccess;
aload 0
invokeinterface jdk.internal.misc.JavaIOFileDescriptorAccess.get:(Ljava/io/FileDescriptor;)I
iload 1
invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.setQuickAck:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 enable Z
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
fd
enable
private static java.lang.Object getQuickAckOption(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.net.ExtendedSocketOptions.platformSocketOptions:Ljdk/net/ExtendedSocketOptions$PlatformSocketOptions;
getstatic jdk.net.ExtendedSocketOptions.fdAccess:Ljdk/internal/misc/JavaIOFileDescriptorAccess;
aload 0
invokeinterface jdk.internal.misc.JavaIOFileDescriptorAccess.get:(Ljava/io/FileDescriptor;)I
invokevirtual jdk.net.ExtendedSocketOptions$PlatformSocketOptions.getQuickAck:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
fd
}
SourceFile: "ExtendedSocketOptions.java"
NestMembers:
jdk.net.ExtendedSocketOptions$1 jdk.net.ExtendedSocketOptions$ExtSocketOption jdk.net.ExtendedSocketOptions$PlatformSocketOptions jdk.net.ExtendedSocketOptions$PlatformSocketOptions$1
InnerClasses:
jdk.net.ExtendedSocketOptions$1
private ExtSocketOption = jdk.net.ExtendedSocketOptions$ExtSocketOption of jdk.net.ExtendedSocketOptions
PlatformSocketOptions = jdk.net.ExtendedSocketOptions$PlatformSocketOptions of jdk.net.ExtendedSocketOptions