public final class io.vertx.core.http.impl.HttpUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.http.impl.HttpUtils
super_class: java.lang.Object
{
static final int SC_SWITCHING_PROTOCOLS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 101
static final int SC_BAD_GATEWAY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 502
static final io.vertx.core.spi.tracing.TagExtractor<io.vertx.core.http.HttpServerRequest> ;
descriptor: Lio/vertx/core/spi/tracing/TagExtractor;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/core/spi/tracing/TagExtractor<Lio/vertx/core/http/HttpServerRequest;>;
static final io.vertx.core.spi.tracing.TagExtractor<io.vertx.core.http.HttpServerResponse> ;
descriptor: Lio/vertx/core/spi/tracing/TagExtractor;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/core/spi/tracing/TagExtractor<Lio/vertx/core/http/HttpServerResponse;>;
static final io.vertx.core.spi.tracing.TagExtractor<io.vertx.core.http.impl.HttpRequestHead> ;
descriptor: Lio/vertx/core/spi/tracing/TagExtractor;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/core/spi/tracing/TagExtractor<Lio/vertx/core/http/impl/HttpRequestHead;>;
static final io.vertx.core.spi.tracing.TagExtractor<io.vertx.core.http.impl.HttpResponseHead> ;
descriptor: Lio/vertx/core/spi/tracing/TagExtractor;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/core/spi/tracing/TagExtractor<Lio/vertx/core/http/impl/HttpResponseHead;>;
static final io.vertx.core.http.StreamPriority DEFAULT_STREAM_PRIORITY;
descriptor: Lio/vertx/core/http/StreamPriority;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final io.vertx.core.http.impl.HttpUtils$CustomCompressor compressor;
descriptor: Lio/vertx/core/http/impl/HttpUtils$CustomCompressor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.util.AsciiString TIMEOUT_EQ;
descriptor: Lio/netty/util/AsciiString;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.function.Consumer<java.lang.CharSequence> ;
descriptor: Ljava/util/function/Consumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljava/lang/CharSequence;>;
private static final int HIGHEST_INVALID_VALUE_CHAR_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -16
private static volatile int[] $SWITCH_TABLE$io$netty$handler$codec$compression$ZlibWrapper;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$io$vertx$core$http$HttpVersion;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.vertx.core.http.impl.HttpUtils$1
dup
invokespecial io.vertx.core.http.impl.HttpUtils$1.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.SERVER_REQUEST_TAG_EXTRACTOR:Lio/vertx/core/spi/tracing/TagExtractor;
1: new io.vertx.core.http.impl.HttpUtils$2
dup
invokespecial io.vertx.core.http.impl.HttpUtils$2.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.SERVER_RESPONSE_TAG_EXTRACTOR:Lio/vertx/core/spi/tracing/TagExtractor;
2: new io.vertx.core.http.impl.HttpUtils$3
dup
invokespecial io.vertx.core.http.impl.HttpUtils$3.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.CLIENT_HTTP_REQUEST_TAG_EXTRACTOR:Lio/vertx/core/spi/tracing/TagExtractor;
3: new io.vertx.core.http.impl.HttpUtils$4
dup
invokespecial io.vertx.core.http.impl.HttpUtils$4.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.CLIENT_RESPONSE_TAG_EXTRACTOR:Lio/vertx/core/spi/tracing/TagExtractor;
4: new io.vertx.core.http.impl.HttpUtils$5
dup
invokespecial io.vertx.core.http.impl.HttpUtils$5.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.DEFAULT_STREAM_PRIORITY:Lio/vertx/core/http/StreamPriority;
5: new io.vertx.core.http.impl.HttpUtils$CustomCompressor
dup
invokespecial io.vertx.core.http.impl.HttpUtils$CustomCompressor.<init>:()V
putstatic io.vertx.core.http.impl.HttpUtils.compressor:Lio/vertx/core/http/impl/HttpUtils$CustomCompressor;
6: ldc "timeout="
invokestatic io.netty.util.AsciiString.of:(Ljava/lang/CharSequence;)Lio/netty/util/AsciiString;
putstatic io.vertx.core.http.impl.HttpUtils.TIMEOUT_EQ:Lio/netty/util/AsciiString;
7: invokedynamic accept()Ljava/util/function/Consumer;
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;)V
io/vertx/core/http/impl/HttpUtils.validateHeaderValue(Ljava/lang/CharSequence;)V (6)
(Ljava/lang/CharSequence;)V
putstatic io.vertx.core.http.impl.HttpUtils.HEADER_VALUE_VALIDATOR:Ljava/util/function/Consumer;
8: 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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpUtils;
private static int indexOfSlash(java.lang.CharSequence, int);
descriptor: (Ljava/lang/CharSequence;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 47
if_icmpne 4
3: iload 2
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 2
end local 2 6: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 str Ljava/lang/CharSequence;
0 7 1 start I
1 6 2 i I
MethodParameters:
Name Flags
str
start
private static boolean matches(java.lang.CharSequence, int, java.lang.String);
descriptor: (Ljava/lang/CharSequence;ILjava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_0
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/CharSequence;
0 1 1 start I
0 1 2 what Ljava/lang/String;
MethodParameters:
Name Flags
path
start
what
private static boolean matches(java.lang.CharSequence, int, java.lang.String, boolean);
descriptor: (Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 3
1: aload 0
invokeinterface java.lang.CharSequence.length:()I
iload 1
isub
aload 2
invokevirtual java.lang.String.length:()I
if_icmpeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.CharSequence.length:()I
iload 1
isub
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 11
4: iconst_0
istore 4
start local 4 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 4
iadd
invokeinterface java.lang.CharSequence.charAt:(I)C
aload 2
iload 4
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 4 10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 path Ljava/lang/CharSequence;
0 12 1 start I
0 12 2 what Ljava/lang/String;
0 12 3 exact Z
5 10 4 i I
MethodParameters:
Name Flags
path
start
what
exact
public static java.lang.String normalizePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 4
3: ldc "/"
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 5: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 7
6: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: iconst_0
istore 2
start local 2 9: goto 13
10: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 37
if_icmpne 12
11: aload 1
iload 2
invokestatic io.vertx.core.http.impl.HttpUtils.decodeUnreserved:(Ljava/lang/StringBuilder;I)V
12: StackMap locals:
StackMap stack:
iinc 2 1
13: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual java.lang.StringBuilder.length:()I
if_icmplt 10
14: aload 1
invokestatic io.vertx.core.http.impl.HttpUtils.removeDots:(Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 pathname Ljava/lang/String;
5 15 1 ibuf Ljava/lang/StringBuilder;
9 15 2 i I
MethodParameters:
Name Flags
pathname
private static void decodeUnreserved(java.lang.StringBuilder, int);
descriptor: (Ljava/lang/StringBuilder;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 1
iconst_3
iadd
aload 0
invokevirtual java.lang.StringBuilder.length:()I
if_icmpgt 17
1: aload 0
iload 1
iconst_1
iadd
iload 1
iconst_3
iadd
invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
astore 2
start local 2 2: aload 2
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 3
start local 3 3: iload 3
ifge 7
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid escape sequence: %"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 5: StackMap locals: java.lang.StringBuilder int java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid escape sequence: %"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 3 7: StackMap locals: int
StackMap stack:
iload 3
bipush 65
if_icmplt 8
iload 3
bipush 90
if_icmple 14
8: StackMap locals:
StackMap stack:
iload 3
bipush 97
if_icmplt 9
iload 3
bipush 122
if_icmple 14
9: StackMap locals:
StackMap stack:
iload 3
bipush 48
if_icmplt 10
iload 3
bipush 57
if_icmple 14
10: StackMap locals:
StackMap stack:
iload 3
bipush 45
if_icmpeq 14
11: iload 3
bipush 46
if_icmpeq 14
12: iload 3
bipush 95
if_icmpeq 14
13: iload 3
bipush 126
if_icmpne 18
14: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 3
i2c
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
15: aload 0
iload 1
iconst_1
iadd
iload 1
iconst_3
iadd
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
end local 3 end local 2 16: goto 18
17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid position for escape character: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 path Ljava/lang/StringBuilder;
0 19 1 start I
2 16 2 escapeSequence Ljava/lang/String;
3 5 3 unescaped I
7 16 3 unescaped I
Exception table:
from to target type
2 5 5 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
path
start
public static java.lang.String removeDots(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokeinterface java.lang.CharSequence.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 44
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
ldc "./"
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;)Z
ifeq 8
6: iinc 2 2
7: goto 44
StackMap locals:
StackMap stack:
8: aload 0
iload 2
ldc "../"
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;)Z
ifeq 11
9: iinc 2 3
10: goto 44
StackMap locals:
StackMap stack:
11: aload 0
iload 2
ldc "/./"
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;)Z
ifeq 14
12: iinc 2 2
13: goto 44
StackMap locals:
StackMap stack:
14: aload 0
iload 2
ldc "/."
iconst_1
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
ifeq 18
15: ldc "/"
astore 0
16: iconst_0
istore 2
17: goto 44
StackMap locals:
StackMap stack:
18: aload 0
iload 2
ldc "/../"
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;)Z
ifeq 24
19: iinc 2 3
20: aload 1
ldc "/"
invokevirtual java.lang.StringBuilder.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 21: iload 3
iconst_m1
if_icmpeq 44
22: aload 1
iload 3
aload 1
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
end local 3 23: goto 44
StackMap locals:
StackMap stack:
24: aload 0
iload 2
ldc "/.."
iconst_1
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
ifeq 31
25: ldc "/"
astore 0
26: iconst_0
istore 2
27: aload 1
ldc "/"
invokevirtual java.lang.StringBuilder.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 28: iload 3
iconst_m1
if_icmpeq 44
29: aload 1
iload 3
aload 1
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
end local 3 30: goto 44
StackMap locals:
StackMap stack:
31: aload 0
iload 2
ldc "."
iconst_1
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
ifne 45
aload 0
iload 2
ldc ".."
iconst_1
invokestatic io.vertx.core.http.impl.HttpUtils.matches:(Ljava/lang/CharSequence;ILjava/lang/String;Z)Z
ifeq 33
32: goto 45
33: StackMap locals:
StackMap stack:
aload 0
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 47
if_icmpne 37
34: iinc 2 1
35: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifeq 36
aload 1
aload 1
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 47
if_icmpeq 37
36: StackMap locals:
StackMap stack:
aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
37: StackMap locals:
StackMap stack:
aload 0
iload 2
invokestatic io.vertx.core.http.impl.HttpUtils.indexOfSlash:(Ljava/lang/CharSequence;I)I
istore 3
start local 3 38: iload 3
iconst_m1
if_icmpeq 42
39: aload 1
aload 0
iload 2
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
40: iload 3
istore 2
41: goto 44
42: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 2
aload 0
invokeinterface java.lang.CharSequence.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
43: goto 45
end local 3 44: StackMap locals:
StackMap stack:
iload 2
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 5
45: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 path Ljava/lang/CharSequence;
3 46 1 obuf Ljava/lang/StringBuilder;
4 46 2 i I
21 23 3 pos I
28 30 3 pos I
38 44 3 pos I
MethodParameters:
Name Flags
path
public static java.net.URI resolveURIReference(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
aload 1
invokestatic io.vertx.core.http.impl.HttpUtils.resolveURIReference:(Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 base Ljava/lang/String;
0 1 1 ref Ljava/lang/String;
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
base
ref
public static java.net.URI resolveURIReference(java.net.URI, java.lang.String);
descriptor: (Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
astore 2
start local 2 1: aload 2
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnull 7
2: aload 2
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
astore 4
start local 4 4: aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
invokestatic io.vertx.core.http.impl.HttpUtils.removeDots:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 5: aload 2
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 6: goto 35
end local 6 end local 5 end local 4 end local 3 7: StackMap locals: java.net.URI
StackMap stack:
aload 2
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
ifnull 12
8: aload 2
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
astore 4
start local 4 9: aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 5
start local 5 10: aload 2
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 11: goto 34
end local 6 end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 19
13: aload 0
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 5
start local 5 14: aload 2
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
ifnull 17
15: aload 2
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 16: goto 33
end local 6 17: StackMap locals: java.net.URI java.lang.String java.net.URI top top java.lang.String
StackMap stack:
aload 0
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 18: goto 33
end local 6 end local 5 19: StackMap locals: java.net.URI java.lang.String java.net.URI
StackMap stack:
aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
20: aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
invokestatic io.vertx.core.http.impl.HttpUtils.removeDots:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 21: goto 32
end local 5 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 8
start local 8 23: aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
ifnull 26
aload 8
invokevirtual java.lang.String.length:()I
ifne 26
24: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 25: goto 31
end local 7 26: StackMap locals: java.net.URI java.lang.String java.net.URI top top top top top java.lang.String
StackMap stack:
aload 8
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 27: iload 9
iconst_m1
if_icmple 30
28: new java.lang.StringBuilder
dup
aload 8
iconst_0
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 29: goto 31
end local 7 30: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 7
end local 9 start local 7 31: StackMap locals: java.net.URI java.lang.String java.net.URI top top top top java.lang.String java.lang.String
StackMap stack:
aload 7
invokestatic io.vertx.core.http.impl.HttpUtils.removeDots:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
end local 8 end local 7 start local 5 32: StackMap locals: java.net.URI java.lang.String java.net.URI top top java.lang.String
StackMap stack:
aload 2
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 33: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
astore 4
start local 4 34: StackMap locals: java.net.URI java.lang.String java.net.URI top java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 3
start local 3 35: StackMap locals: java.net.URI java.lang.String java.net.URI java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
new java.net.URI
dup
aload 3
aload 4
aload 5
aload 6
aload 2
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 base Ljava/net/URI;
0 36 1 ref Ljava/lang/String;
1 36 2 _ref Ljava/net/URI;
3 7 3 scheme Ljava/lang/String;
35 36 3 scheme Ljava/lang/String;
4 7 4 authority Ljava/lang/String;
9 12 4 authority Ljava/lang/String;
34 36 4 authority Ljava/lang/String;
5 7 5 path Ljava/lang/String;
10 12 5 path Ljava/lang/String;
14 19 5 path Ljava/lang/String;
21 22 5 path Ljava/lang/String;
32 36 5 path Ljava/lang/String;
6 7 6 query Ljava/lang/String;
11 12 6 query Ljava/lang/String;
16 17 6 query Ljava/lang/String;
18 19 6 query Ljava/lang/String;
33 36 6 query Ljava/lang/String;
25 26 7 mergedPath Ljava/lang/String;
29 30 7 mergedPath Ljava/lang/String;
31 32 7 mergedPath Ljava/lang/String;
23 32 8 basePath Ljava/lang/String;
27 31 9 index I
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
base
ref
static java.lang.String parsePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 5
3: iconst_0
istore 1
start local 1 4: goto 12
end local 1 5: StackMap locals:
StackMap stack:
aload 0
ldc "://"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 6: iload 1
iconst_m1
if_icmpne 9
7: iconst_0
istore 1
8: goto 12
9: StackMap locals: int
StackMap stack:
aload 0
bipush 47
iload 1
iconst_3
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 1
10: iload 1
iconst_m1
if_icmpne 12
11: ldc "/"
areturn
12: StackMap locals:
StackMap stack:
aload 0
bipush 63
iload 1
invokevirtual java.lang.String.indexOf:(II)I
istore 2
start local 2 13: iload 2
iconst_m1
if_icmpne 15
14: aload 0
invokevirtual java.lang.String.length:()I
istore 2
15: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 uri Ljava/lang/String;
4 5 1 i I
6 16 1 i I
13 16 2 queryStart I
MethodParameters:
Name Flags
uri
static java.lang.String parseQuery(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
iadd
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 uri Ljava/lang/String;
1 4 1 i I
MethodParameters:
Name Flags
uri
static java.lang.String absoluteURI(java.lang.String, io.vertx.core.http.HttpServerRequest);
descriptor: (Ljava/lang/String;Lio/vertx/core/http/HttpServerRequest;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.net.URI
dup
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.uri:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnull 5
aload 4
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
aload 4
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: StackMap locals: java.lang.String io.vertx.core.http.HttpServerRequest top java.net.URI java.lang.String
StackMap stack:
aload 3
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 2
start local 2 4: goto 10
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.host:()Ljava/lang/String;
astore 5
start local 5 6: aload 5
ifnull 9
7: new java.lang.StringBuilder
dup
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.scheme:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 8: goto 10
end local 2 9: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 5 start local 2 10: StackMap locals: java.lang.String io.vertx.core.http.HttpServerRequest java.lang.String java.net.URI java.lang.String
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 serverOrigin Ljava/lang/String;
0 11 1 req Lio/vertx/core/http/HttpServerRequest;
4 5 2 absoluteURI Ljava/lang/String;
8 9 2 absoluteURI Ljava/lang/String;
10 11 2 absoluteURI Ljava/lang/String;
1 11 3 uri Ljava/net/URI;
2 11 4 scheme Ljava/lang/String;
6 10 5 host Ljava/lang/String;
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
serverOrigin
req
static io.vertx.core.MultiMap params(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/MultiMap;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: new io.netty.handler.codec.http.QueryStringDecoder
dup
aload 0
invokespecial io.netty.handler.codec.http.QueryStringDecoder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual io.netty.handler.codec.http.QueryStringDecoder.parameters:()Ljava/util/Map;
astore 2
start local 2 2: invokestatic io.vertx.core.MultiMap.caseInsensitiveMultiMap:()Lio/vertx/core/MultiMap;
astore 3
start local 3 3: aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifne 8
4: aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: java.lang.String io.netty.handler.codec.http.QueryStringDecoder java.util.Map io.vertx.core.MultiMap top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 6: aload 3
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Iterable
invokeinterface io.vertx.core.MultiMap.add:(Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/MultiMap;
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: java.lang.String io.netty.handler.codec.http.QueryStringDecoder java.util.Map io.vertx.core.MultiMap
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 uri Ljava/lang/String;
1 9 1 queryStringDecoder Lio/netty/handler/codec/http/QueryStringDecoder;
2 9 2 prms Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
3 9 3 params Lio/vertx/core/MultiMap;
6 7 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
uri
public static void fromVertxInitialSettings(boolean, io.vertx.core.http.Http2Settings, io.netty.handler.codec.http2.Http2Settings);
descriptor: (ZLio/vertx/core/http/Http2Settings;Lio/netty/handler/codec/http2/Http2Settings;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 16
1: iload 0
ifne 3
aload 1
invokevirtual io.vertx.core.http.Http2Settings.isPushEnabled:()Z
ifne 3
2: aload 2
aload 1
invokevirtual io.vertx.core.http.Http2Settings.isPushEnabled:()Z
invokevirtual io.netty.handler.codec.http2.Http2Settings.pushEnabled:(Z)Lio/netty/handler/codec/http2/Http2Settings;
pop
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getHeaderTableSize:()J
ldc 4096
lcmp
ifeq 5
4: aload 2
iconst_1
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getHeaderTableSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.netty.handler.codec.http2.Http2Settings.put:(CLjava/lang/Long;)Ljava/lang/Long;
pop
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getInitialWindowSize:()I
ldc 65535
if_icmpeq 7
6: aload 2
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getInitialWindowSize:()I
invokevirtual io.netty.handler.codec.http2.Http2Settings.initialWindowSize:(I)Lio/netty/handler/codec/http2/Http2Settings;
pop
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxConcurrentStreams:()J
ldc 4294967295
lcmp
ifeq 9
8: aload 2
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxConcurrentStreams:()J
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxConcurrentStreams:(J)Lio/netty/handler/codec/http2/Http2Settings;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxFrameSize:()I
sipush 16384
if_icmpeq 11
10: aload 2
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxFrameSize:()I
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxFrameSize:(I)Lio/netty/handler/codec/http2/Http2Settings;
pop
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxHeaderListSize:()J
ldc 2147483647
lcmp
ifeq 13
12: aload 2
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getMaxHeaderListSize:()J
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxHeaderListSize:(J)Lio/netty/handler/codec/http2/Http2Settings;
pop
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.vertx.core.http.Http2Settings.getExtraSettings:()Ljava/util/Map;
astore 3
start local 3 14: aload 3
ifnull 16
15: aload 3
aload 2
invokedynamic accept(Lio/netty/handler/codec/http2/Http2Settings;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpUtils.lambda$1(Lio/netty/handler/codec/http2/Http2Settings;Ljava/lang/Integer;Ljava/lang/Long;)V (6)
(Ljava/lang/Integer;Ljava/lang/Long;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 server Z
0 17 1 vertxSettings Lio/vertx/core/http/Http2Settings;
0 17 2 nettySettings Lio/netty/handler/codec/http2/Http2Settings;
14 16 3 extraSettings Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Long;>;
MethodParameters:
Name Flags
server
vertxSettings
nettySettings
public static io.netty.handler.codec.http2.Http2Settings fromVertxSettings(io.vertx.core.http.Http2Settings);
descriptor: (Lio/vertx/core/http/Http2Settings;)Lio/netty/handler/codec/http2/Http2Settings;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.netty.handler.codec.http2.Http2Settings
dup
invokespecial io.netty.handler.codec.http2.Http2Settings.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.isPushEnabled:()Z
invokevirtual io.netty.handler.codec.http2.Http2Settings.pushEnabled:(Z)Lio/netty/handler/codec/http2/Http2Settings;
pop
2: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.getMaxFrameSize:()I
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxFrameSize:(I)Lio/netty/handler/codec/http2/Http2Settings;
pop
3: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.getInitialWindowSize:()I
invokevirtual io.netty.handler.codec.http2.Http2Settings.initialWindowSize:(I)Lio/netty/handler/codec/http2/Http2Settings;
pop
4: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.getHeaderTableSize:()J
invokevirtual io.netty.handler.codec.http2.Http2Settings.headerTableSize:(J)Lio/netty/handler/codec/http2/Http2Settings;
pop
5: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.getMaxConcurrentStreams:()J
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxConcurrentStreams:(J)Lio/netty/handler/codec/http2/Http2Settings;
pop
6: aload 1
aload 0
invokevirtual io.vertx.core.http.Http2Settings.getMaxHeaderListSize:()J
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxHeaderListSize:(J)Lio/netty/handler/codec/http2/Http2Settings;
pop
7: aload 0
invokevirtual io.vertx.core.http.Http2Settings.getExtraSettings:()Ljava/util/Map;
ifnull 9
8: aload 0
invokevirtual io.vertx.core.http.Http2Settings.getExtraSettings:()Ljava/util/Map;
aload 1
invokedynamic accept(Lio/netty/handler/codec/http2/Http2Settings;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpUtils.lambda$2(Lio/netty/handler/codec/http2/Http2Settings;Ljava/lang/Integer;Ljava/lang/Long;)V (6)
(Ljava/lang/Integer;Ljava/lang/Long;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
9: StackMap locals: io.netty.handler.codec.http2.Http2Settings
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 settings Lio/vertx/core/http/Http2Settings;
1 10 1 converted Lio/netty/handler/codec/http2/Http2Settings;
MethodParameters:
Name Flags
settings
public static io.vertx.core.http.Http2Settings toVertxSettings(io.netty.handler.codec.http2.Http2Settings);
descriptor: (Lio/netty/handler/codec/http2/Http2Settings;)Lio/vertx/core/http/Http2Settings;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: new io.vertx.core.http.Http2Settings
dup
invokespecial io.vertx.core.http.Http2Settings.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.pushEnabled:()Ljava/lang/Boolean;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 1
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual io.vertx.core.http.Http2Settings.setPushEnabled:(Z)Lio/vertx/core/http/Http2Settings;
pop
4: StackMap locals: io.vertx.core.http.Http2Settings java.lang.Boolean
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxConcurrentStreams:()Ljava/lang/Long;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 1
aload 3
invokevirtual java.lang.Long.longValue:()J
invokevirtual io.vertx.core.http.Http2Settings.setMaxConcurrentStreams:(J)Lio/vertx/core/http/Http2Settings;
pop
7: StackMap locals: java.lang.Long
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxHeaderListSize:()Ljava/lang/Long;
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 1
aload 4
invokevirtual java.lang.Long.longValue:()J
invokevirtual io.vertx.core.http.Http2Settings.setMaxHeaderListSize:(J)Lio/vertx/core/http/Http2Settings;
pop
10: StackMap locals: java.lang.Long
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.maxFrameSize:()Ljava/lang/Integer;
astore 5
start local 5 11: aload 5
ifnull 13
12: aload 1
aload 5
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.vertx.core.http.Http2Settings.setMaxFrameSize:(I)Lio/vertx/core/http/Http2Settings;
pop
13: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.initialWindowSize:()Ljava/lang/Integer;
astore 6
start local 6 14: aload 6
ifnull 16
15: aload 1
aload 6
invokevirtual java.lang.Integer.intValue:()I
invokevirtual io.vertx.core.http.Http2Settings.setInitialWindowSize:(I)Lio/vertx/core/http/Http2Settings;
pop
16: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2Settings.headerTableSize:()Ljava/lang/Long;
astore 7
start local 7 17: aload 7
ifnull 19
18: aload 1
aload 7
invokevirtual java.lang.Long.longValue:()J
invokevirtual io.vertx.core.http.Http2Settings.setHeaderTableSize:(J)Lio/vertx/core/http/Http2Settings;
pop
19: StackMap locals: java.lang.Long
StackMap stack:
aload 0
aload 1
invokedynamic accept(Lio/vertx/core/http/Http2Settings;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpUtils.lambda$3(Lio/vertx/core/http/Http2Settings;Ljava/lang/Character;Ljava/lang/Long;)V (6)
(Ljava/lang/Character;Ljava/lang/Long;)V
invokevirtual io.netty.handler.codec.http2.Http2Settings.forEach:(Ljava/util/function/BiConsumer;)V
20: aload 1
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 settings Lio/netty/handler/codec/http2/Http2Settings;
1 21 1 converted Lio/vertx/core/http/Http2Settings;
2 21 2 pushEnabled Ljava/lang/Boolean;
5 21 3 maxConcurrentStreams Ljava/lang/Long;
8 21 4 maxHeaderListSize Ljava/lang/Long;
11 21 5 maxFrameSize Ljava/lang/Integer;
14 21 6 initialWindowSize Ljava/lang/Integer;
17 21 7 headerTableSize Ljava/lang/Long;
MethodParameters:
Name Flags
settings
static io.netty.handler.codec.http2.Http2Settings decodeSettings(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/netty/handler/codec/http2/Http2Settings;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new io.netty.handler.codec.http2.Http2Settings
dup
invokespecial io.netty.handler.codec.http2.Http2Settings.<init>:()V
astore 1
start local 1 1: invokestatic java.util.Base64.getUrlDecoder:()Ljava/util/Base64$Decoder;
aload 0
invokevirtual java.util.Base64$Decoder.decode:(Ljava/lang/String;)[B
invokestatic io.vertx.core.buffer.Buffer.buffer:([B)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 2
invokeinterface io.vertx.core.buffer.Buffer.length:()I
istore 4
start local 4 4: goto 10
5: StackMap locals: java.lang.String io.netty.handler.codec.http2.Http2Settings io.vertx.core.buffer.Buffer int int
StackMap stack:
aload 2
iload 3
invokeinterface io.vertx.core.buffer.Buffer.getUnsignedShort:(I)I
istore 5
start local 5 6: iinc 3 2
7: aload 2
iload 3
invokeinterface io.vertx.core.buffer.Buffer.getUnsignedInt:(I)J
lstore 6
start local 6 8: iinc 3 4
9: aload 1
iload 5
i2c
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.netty.handler.codec.http2.Http2Settings.put:(CLjava/lang/Long;)Ljava/lang/Long;
pop
end local 6 end local 5 10: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 5
11: aload 1
12: areturn
end local 4 end local 3 end local 2 end local 1 13: StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
pop
14: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 base64Settings Ljava/lang/String;
1 13 1 settings Lio/netty/handler/codec/http2/Http2Settings;
2 13 2 buffer Lio/vertx/core/buffer/Buffer;
3 13 3 pos I
4 13 4 len I
6 10 5 i I
8 10 6 j J
Exception table:
from to target type
0 12 13 Class java.lang.Exception
MethodParameters:
Name Flags
base64Settings
public static java.lang.String encodeSettings(io.vertx.core.http.Http2Settings);
descriptor: (Lio/vertx/core/http/Http2Settings;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 1
start local 1 1: aload 0
invokestatic io.vertx.core.http.impl.HttpUtils.fromVertxSettings:(Lio/vertx/core/http/Http2Settings;)Lio/netty/handler/codec/http2/Http2Settings;
aload 1
invokedynamic accept(Lio/vertx/core/buffer/Buffer;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpUtils.lambda$4(Lio/vertx/core/buffer/Buffer;Ljava/lang/Character;Ljava/lang/Long;)V (6)
(Ljava/lang/Character;Ljava/lang/Long;)V
invokevirtual io.netty.handler.codec.http2.Http2Settings.forEach:(Ljava/util/function/BiConsumer;)V
2: invokestatic java.util.Base64.getUrlEncoder:()Ljava/util/Base64$Encoder;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 settings Lio/vertx/core/http/Http2Settings;
1 3 1 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
settings
public static io.netty.buffer.ByteBuf generateWSCloseFrameByteBuf(short, java.lang.String);
descriptor: (SLjava/lang/String;)Lio/netty/buffer/ByteBuf;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
1: iconst_2
anewarray io.netty.buffer.ByteBuf
dup
iconst_0
2: iload 0
invokestatic io.netty.buffer.Unpooled.copyShort:(I)Lio/netty/buffer/ByteBuf;
aastore
dup
iconst_1
3: aload 1
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
aastore
4: invokestatic io.netty.buffer.Unpooled.copiedBuffer:([Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
areturn
5: StackMap locals:
StackMap stack:
iload 0
invokestatic io.netty.buffer.Unpooled.copyShort:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 statusCode S
0 6 1 reason Ljava/lang/String;
MethodParameters:
Name Flags
statusCode
reason
static void sendError(io.netty.channel.Channel, io.netty.handler.codec.http.HttpResponseStatus);
descriptor: (Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponseStatus;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.reasonPhrase:()Ljava/lang/String;
invokestatic io.vertx.core.http.impl.HttpUtils.sendError:(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponseStatus;Ljava/lang/CharSequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch Lio/netty/channel/Channel;
0 2 1 status Lio/netty/handler/codec/http/HttpResponseStatus;
MethodParameters:
Name Flags
ch
status
static void sendError(io.netty.channel.Channel, io.netty.handler.codec.http.HttpResponseStatus, java.lang.CharSequence);
descriptor: (Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponseStatus;Ljava/lang/CharSequence;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
aload 1
invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;)V
astore 3
start local 3 1: aload 1
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
getstatic io.netty.handler.codec.http.HttpResponseStatus.METHOD_NOT_ALLOWED:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
if_icmpne 3
2: aload 3
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.ALLOW:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.GET:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
3: StackMap locals: io.netty.handler.codec.http.FullHttpResponse
StackMap stack:
aload 2
ifnull 7
4: aload 3
invokeinterface io.netty.handler.codec.http.FullHttpResponse.content:()Lio/netty/buffer/ByteBuf;
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
5: aload 3
aload 2
invokeinterface java.lang.CharSequence.length:()I
i2l
invokestatic io.netty.handler.codec.http.HttpUtil.setContentLength:(Lio/netty/handler/codec/http/HttpMessage;J)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 3
lconst_0
invokestatic io.netty.handler.codec.http.HttpUtil.setContentLength:(Lio/netty/handler/codec/http/HttpMessage;J)V
8: StackMap locals:
StackMap stack:
aload 0
aload 3
invokeinterface io.netty.channel.Channel.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 ch Lio/netty/channel/Channel;
0 10 1 status Lio/netty/handler/codec/http/HttpResponseStatus;
0 10 2 err Ljava/lang/CharSequence;
1 10 3 resp Lio/netty/handler/codec/http/FullHttpResponse;
MethodParameters:
Name Flags
ch
status
err
static java.lang.String getWebSocketLocation(io.vertx.core.http.HttpServerRequest, boolean);
descriptor: (Lio/vertx/core/http/HttpServerRequest;Z)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: iload 1
ifeq 3
1: ldc "ws://"
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
ldc "wss://"
astore 2
start local 2 4: StackMap locals: java.lang.String
StackMap stack:
new java.net.URI
dup
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.uri:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
invokevirtual java.net.URI.getRawPath:()Ljava/lang/String;
astore 4
start local 4 6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.headers:()Lio/vertx/core/MultiMap;
getstatic io.netty.handler.codec.http.HttpHeaderNames.HOST:Lio/netty/util/AsciiString;
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 7: aload 3
invokevirtual java.net.URI.getRawQuery:()Ljava/lang/String;
astore 6
start local 6 8: aload 6
ifnull 10
9: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
10: StackMap locals: io.vertx.core.http.HttpServerRequest int java.lang.String java.net.URI java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 req Lio/vertx/core/http/HttpServerRequest;
0 11 1 ssl Z
2 3 2 prefix Ljava/lang/String;
4 11 2 prefix Ljava/lang/String;
5 11 3 uri Ljava/net/URI;
6 11 4 path Ljava/lang/String;
7 11 5 loc Ljava/lang/String;
8 11 6 query Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
req
ssl
public static java.lang.CharSequence toLowerCase(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 65
if_icmplt 9
iload 4
bipush 90
if_icmpgt 9
6: aload 1
ifnonnull 8
7: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/CharSequence;)V
astore 1
8: StackMap locals: int
StackMap stack:
aload 1
iload 3
iload 4
bipush 32
iadd
i2c
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 4
end local 3 11: aload 1
ifnull 13
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 sequence Ljava/lang/CharSequence;
1 14 1 buffer Ljava/lang/StringBuilder;
2 14 2 len I
3 11 3 index I
5 9 4 c C
MethodParameters:
Name Flags
sequence
static java.lang.String determineContentEncoding(io.netty.handler.codec.http2.Http2Headers);
descriptor: (Lio/netty/handler/codec/http2/Http2Headers;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.http.HttpHeaderNames.ACCEPT_ENCODING:Lio/netty/util/AsciiString;
invokeinterface io.netty.handler.codec.http2.Http2Headers.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
aload 0
getstatic io.netty.handler.codec.http.HttpHeaderNames.ACCEPT_ENCODING:Lio/netty/util/AsciiString;
invokeinterface io.netty.handler.codec.http2.Http2Headers.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.CharSequence
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: astore 1
start local 1 3: aload 1
ifnull 9
4: getstatic io.vertx.core.http.impl.HttpUtils.compressor:Lio/vertx/core/http/impl/HttpUtils$CustomCompressor;
aload 1
invokevirtual io.vertx.core.http.impl.HttpUtils$CustomCompressor.determineWrapper:(Ljava/lang/String;)Lio/netty/handler/codec/compression/ZlibWrapper;
astore 2
start local 2 5: aload 2
ifnull 9
6: invokestatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$netty$handler$codec$compression$ZlibWrapper:()[I
aload 2
invokevirtual io.netty.handler.codec.compression.ZlibWrapper.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 8
2: 7
default: 9
}
7: StackMap locals: java.lang.String io.netty.handler.codec.compression.ZlibWrapper
StackMap stack:
ldc "gzip"
areturn
8: StackMap locals:
StackMap stack:
ldc "deflate"
areturn
end local 2 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 headers Lio/netty/handler/codec/http2/Http2Headers;
3 10 1 acceptEncoding Ljava/lang/String;
5 9 2 wrapper Lio/netty/handler/codec/compression/ZlibWrapper;
MethodParameters:
Name Flags
headers
static io.netty.handler.codec.http.HttpVersion toNettyHttpVersion(io.vertx.core.http.HttpVersion);
descriptor: (Lio/vertx/core/http/HttpVersion;)Lio/netty/handler/codec/http/HttpVersion;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$vertx$core$http$HttpVersion:()[I
aload 0
invokevirtual io.vertx.core.http.HttpVersion.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 1
2: 2
default: 3
}
1: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_0:Lio/netty/handler/codec/http/HttpVersion;
areturn
2: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported HTTP version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 version Lio/vertx/core/http/HttpVersion;
MethodParameters:
Name Flags
version
static io.vertx.core.http.HttpMethod toVertxMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/HttpMethod;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.core.http.HttpMethod.valueOf:(Ljava/lang/String;)Lio/vertx/core/http/HttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Ljava/lang/String;
MethodParameters:
Name Flags
method
public static int (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 31
3: StackMap locals: int int
StackMap stack:
aload 0
bipush 44
iload 2
invokestatic io.netty.util.AsciiString.indexOf:(Ljava/lang/CharSequence;CI)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpne 8
5: iload 1
dup
istore 4
start local 4 6: istore 3
7: goto 11
end local 4 8: StackMap locals: int
StackMap stack:
iload 3
iconst_1
iadd
istore 4
start local 4 9: goto 11
10: StackMap locals: int
StackMap stack:
iinc 2 1
11: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmpge 12
aload 0
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 32
if_icmpeq 10
12: StackMap locals:
StackMap stack:
iload 3
istore 5
start local 5 13: goto 15
14: StackMap locals: int
StackMap stack:
iinc 5 -1
15: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmple 16
aload 0
iload 5
iconst_1
isub
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 32
if_icmpeq 14
16: StackMap locals:
StackMap stack:
aload 0
iconst_1
iload 2
getstatic io.vertx.core.http.impl.HttpUtils.TIMEOUT_EQ:Lio/netty/util/AsciiString;
iconst_0
getstatic io.vertx.core.http.impl.HttpUtils.TIMEOUT_EQ:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.length:()I
invokestatic io.netty.util.AsciiString.regionMatches:(Ljava/lang/CharSequence;ZILjava/lang/CharSequence;II)Z
ifeq 30
17: iload 2
getstatic io.vertx.core.http.impl.HttpUtils.TIMEOUT_EQ:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.length:()I
iadd
istore 2
18: iload 2
iload 5
if_icmpge 30
19: iconst_0
istore 6
start local 6 20: goto 27
21: StackMap locals: int
StackMap stack:
aload 0
iload 2
iinc 2 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 7
start local 7 22: iload 7
bipush 48
if_icmplt 25
iload 7
bipush 57
if_icmpge 25
23: iload 6
bipush 10
imul
iload 7
bipush 48
isub
iadd
istore 6
24: goto 27
25: StackMap locals: int
StackMap stack:
iconst_m1
istore 6
26: goto 28
end local 7 27: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmplt 21
28: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmple 30
29: iload 6
ireturn
end local 6 30: StackMap locals:
StackMap stack:
iload 4
istore 2
end local 5 end local 4 end local 3 31: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmplt 3
32: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 value Ljava/lang/CharSequence;
1 33 1 len I
2 33 2 pos I
4 31 3 idx I
6 8 4 next I
9 31 4 next I
13 31 5 to I
20 30 6 ret I
22 27 7 ch I
MethodParameters:
Name Flags
value
public static void (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.vertx.core.http.impl.HttpUtils.validateHeaderName:(Ljava/lang/CharSequence;)V
1: aload 1
ifnull 3
2: aload 1
invokestatic io.vertx.core.http.impl.HttpUtils.validateHeaderValue:(Ljava/lang/CharSequence;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/CharSequence;
0 4 1 value Ljava/lang/CharSequence;
MethodParameters:
Name Flags
name
value
public static void validateHeader(java.lang.CharSequence, java.lang.Iterable<? extends java.lang.CharSequence>);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/Iterable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.vertx.core.http.impl.HttpUtils.validateHeaderName:(Ljava/lang/CharSequence;)V
1: aload 1
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
io/vertx/core/http/impl/HttpUtils.lambda$5(Ljava/lang/CharSequence;)V (6)
(Ljava/lang/CharSequence;)V
invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/CharSequence;
0 3 1 values Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;
Signature: (Ljava/lang/CharSequence;Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;)V
MethodParameters:
Name Flags
name
values
public static void (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
iload 1
aload 0
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
invokestatic io.vertx.core.http.impl.HttpUtils.validateValueChar:(Ljava/lang/CharSequence;IC)I
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 3
end local 2 6: iload 1
ifeq 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value must not end with '\\r' or '\\n':"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 seq Ljava/lang/CharSequence;
1 9 1 state I
2 6 2 index I
MethodParameters:
Name Flags
seq
private static int validateValueChar(java.lang.CharSequence, int, char);
descriptor: (Ljava/lang/CharSequence;IC)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush -16
iand
ifne 5
1: iload 2
lookupswitch { // 3
0: 2
11: 3
12: 4
default: 5
}
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\u0000': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\\v': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\\f': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 0 - 2
0: 6
1: 10
2: 13
default: 16
}
6: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 10 - 13
10: 8
11: 9
12: 9
13: 7
default: 9
}
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_2
ireturn
9: StackMap locals:
StackMap stack:
goto 16
10: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 10 - 10
10: 11
default: 12
}
11: StackMap locals:
StackMap stack:
iconst_2
ireturn
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "only '\\n' is allowed after '\\r': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iload 2
lookupswitch { // 2
9: 14
32: 14
default: 15
}
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "only ' ' and '\\t' are allowed after '\\n': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 seq Ljava/lang/CharSequence;
0 17 1 state I
0 17 2 character C
MethodParameters:
Name Flags
seq
state
character
public static void (java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 14
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 2
start local 2 3: iload 2
lookupswitch { // 11
0: 4
9: 4
10: 4
11: 4
12: 4
13: 4
32: 4
44: 4
58: 4
59: 4
61: 4
default: 9
}
4: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "a header name cannot contain the following prohibited characters: =,;: \\t\\r\\n\\v\\f: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iload 2
bipush 127
if_icmple 13
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header name cannot contain non-ASCII character: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
14: iload 1
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 2
end local 1 15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 value Ljava/lang/CharSequence;
1 15 1 i I
3 13 2 c C
MethodParameters:
Name Flags
value
public static boolean isValidMultipartContentType(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic io.netty.handler.codec.http.HttpHeaderValues.MULTIPART_FORM_DATA:Lio/netty/util/AsciiString;
iconst_1
iconst_0
aload 0
iconst_0
getstatic io.netty.handler.codec.http.HttpHeaderValues.MULTIPART_FORM_DATA:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.length:()I
invokevirtual io.netty.util.AsciiString.regionMatches:(ZILjava/lang/CharSequence;II)Z
ifne 3
1: getstatic io.netty.handler.codec.http.HttpHeaderValues.APPLICATION_X_WWW_FORM_URLENCODED:Lio/netty/util/AsciiString;
iconst_1
iconst_0
aload 0
iconst_0
getstatic io.netty.handler.codec.http.HttpHeaderValues.APPLICATION_X_WWW_FORM_URLENCODED:Lio/netty/util/AsciiString;
invokevirtual io.netty.util.AsciiString.length:()I
invokevirtual io.netty.util.AsciiString.regionMatches:(ZILjava/lang/CharSequence;II)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 contentType Ljava/lang/String;
MethodParameters:
Name Flags
contentType
public static boolean isValidMultipartMethod(io.netty.handler.codec.http.HttpMethod);
descriptor: (Lio/netty/handler/codec/http/HttpMethod;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.http.HttpMethod.POST:Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifne 3
aload 0
getstatic io.netty.handler.codec.http.HttpMethod.PUT:Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifne 3
aload 0
getstatic io.netty.handler.codec.http.HttpMethod.PATCH:Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 0
getstatic io.netty.handler.codec.http.HttpMethod.DELETE:Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 method Lio/netty/handler/codec/http/HttpMethod;
MethodParameters:
Name Flags
method
static void resolveFile(io.vertx.core.impl.VertxInternal, java.lang.String, long, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.file.AsyncFile>>);
descriptor: (Lio/vertx/core/impl/VertxInternal;Ljava/lang/String;JJLio/vertx/core/Handler;)V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.resolveFile:(Ljava/lang/String;)Ljava/io/File;
astore 7
start local 7 1: aload 7
invokevirtual java.io.File.exists:()Z
ifne 4
2: aload 6
new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: return
4: StackMap locals: java.io.File
StackMap stack:
aconst_null
astore 8
aconst_null
astore 9
5: new java.io.RandomAccessFile
dup
aload 7
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 10
start local 10 6: aload 0
invokeinterface io.vertx.core.impl.VertxInternal.fileSystem:()Lio/vertx/core/file/FileSystem;
astore 11
start local 11 7: aload 11
aload 1
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
iconst_0
invokevirtual io.vertx.core.file.OpenOptions.setCreate:(Z)Lio/vertx/core/file/OpenOptions;
iconst_0
invokevirtual io.vertx.core.file.OpenOptions.setWrite:(Z)Lio/vertx/core/file/OpenOptions;
lload 4
aload 7
lload 2
aload 6
invokedynamic handle(JLjava/io/File;JLio/vertx/core/Handler;)Lio/vertx/core/Handler;
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;)V
io/vertx/core/http/impl/HttpUtils.lambda$6(JLjava/io/File;JLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
pop
end local 11 8: aload 10
ifnull 16
aload 10
invokevirtual java.io.RandomAccessFile.close:()V
goto 16
StackMap locals: io.vertx.core.impl.VertxInternal java.lang.String long long io.vertx.core.Handler java.io.File java.lang.Throwable java.lang.Throwable java.io.RandomAccessFile
StackMap stack: java.lang.Throwable
9: astore 8
aload 10
ifnull 10
aload 10
invokevirtual java.io.RandomAccessFile.close:()V
end local 10 StackMap locals:
StackMap stack:
10: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 9
aload 8
ifnonnull 12
aload 9
astore 8
goto 13
StackMap locals:
StackMap stack:
12: aload 8
aload 9
if_acmpeq 13
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 8
athrow
StackMap locals: io.vertx.core.impl.VertxInternal java.lang.String long long io.vertx.core.Handler java.io.File
StackMap stack: java.io.IOException
14: astore 8
start local 8 15: aload 6
aload 8
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 8 16: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 vertx Lio/vertx/core/impl/VertxInternal;
0 17 1 filename Ljava/lang/String;
0 17 2 offset J
0 17 4 length J
0 17 6 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;>;
1 17 7 file_ Ljava/io/File;
6 10 10 raf Ljava/io/RandomAccessFile;
7 8 11 fs Lio/vertx/core/file/FileSystem;
15 16 8 e Ljava/io/IOException;
Exception table:
from to target type
6 8 9 any
5 11 11 any
4 14 14 Class java.io.IOException
Signature: (Lio/vertx/core/impl/VertxInternal;Ljava/lang/String;JJLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;>;)V
MethodParameters:
Name Flags
vertx
filename
offset
length
resultHandler
static int[] $SWITCH_TABLE$io$netty$handler$codec$compression$ZlibWrapper();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$netty$handler$codec$compression$ZlibWrapper:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.netty.handler.codec.compression.ZlibWrapper.values:()[Lio/netty/handler/codec/compression/ZlibWrapper;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.netty.handler.codec.compression.ZlibWrapper.GZIP:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.compression.ZlibWrapper.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.netty.handler.codec.compression.ZlibWrapper.NONE:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.compression.ZlibWrapper.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.netty.handler.codec.compression.ZlibWrapper.ZLIB:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.compression.ZlibWrapper.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.netty.handler.codec.compression.ZlibWrapper.ZLIB_OR_NONE:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.compression.ZlibWrapper.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$netty$handler$codec$compression$ZlibWrapper:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$io$vertx$core$http$HttpVersion();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$vertx$core$http$HttpVersion:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.core.http.HttpVersion.values:()[Lio/vertx/core/http/HttpVersion;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.core.http.HttpVersion.HTTP_1_0:Lio/vertx/core/http/HttpVersion;
invokevirtual io.vertx.core.http.HttpVersion.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.core.http.HttpVersion.HTTP_1_1:Lio/vertx/core/http/HttpVersion;
invokevirtual io.vertx.core.http.HttpVersion.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.core.http.HttpVersion.HTTP_2:Lio/vertx/core/http/HttpVersion;
invokevirtual io.vertx.core.http.HttpVersion.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.vertx.core.http.impl.HttpUtils.$SWITCH_TABLE$io$vertx$core$http$HttpVersion:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static void lambda$1(io.netty.handler.codec.http2.Http2Settings, java.lang.Integer, java.lang.Long);
descriptor: (Lio/netty/handler/codec/http2/Http2Settings;Ljava/lang/Integer;Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Integer.intValue:()I
i2c
aload 2
invokevirtual io.netty.handler.codec.http2.Http2Settings.put:(CLjava/lang/Long;)Ljava/lang/Long;
pop
1: return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 code Ljava/lang/Integer;
0 2 2 setting Ljava/lang/Long;
private static void lambda$2(io.netty.handler.codec.http2.Http2Settings, java.lang.Integer, java.lang.Long);
descriptor: (Lio/netty/handler/codec/http2/Http2Settings;Ljava/lang/Integer;Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Integer.intValue:()I
i2c
aload 2
invokevirtual io.netty.handler.codec.http2.Http2Settings.put:(CLjava/lang/Long;)Ljava/lang/Long;
pop
1: return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 key Ljava/lang/Integer;
0 2 2 value Ljava/lang/Long;
private static void lambda$3(io.vertx.core.http.Http2Settings, java.lang.Character, java.lang.Long);
descriptor: (Lio/vertx/core/http/Http2Settings;Ljava/lang/Character;Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 1 start local 2 0: aload 1
invokevirtual java.lang.Character.charValue:()C
bipush 6
if_icmple 2
1: aload 0
aload 1
invokevirtual java.lang.Character.charValue:()C
aload 2
invokevirtual java.lang.Long.longValue:()J
invokevirtual io.vertx.core.http.Http2Settings.set:(IJ)Lio/vertx/core/http/Http2Settings;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 key Ljava/lang/Character;
0 3 2 value Ljava/lang/Long;
private static void lambda$4(io.vertx.core.buffer.Buffer, java.lang.Character, java.lang.Long);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/Character;Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.Character.charValue:()C
invokeinterface io.vertx.core.buffer.Buffer.appendUnsignedShort:(I)Lio/vertx/core/buffer/Buffer;
pop
1: aload 0
aload 2
invokevirtual java.lang.Long.longValue:()J
invokeinterface io.vertx.core.buffer.Buffer.appendUnsignedInt:(J)Lio/vertx/core/buffer/Buffer;
pop
2: return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 c Ljava/lang/Character;
0 3 2 l Ljava/lang/Long;
private static void lambda$5(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: getstatic io.vertx.core.http.impl.HttpUtils.HEADER_VALUE_VALIDATOR:Ljava/util/function/Consumer;
aload 0
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/CharSequence;
private static void lambda$6(long, java.io.File, long, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (JLjava/io/File;JLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=10, args_size=5
start local 6 0: aload 6
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 6
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.file.AsyncFile
astore 7
start local 7 2: lload 0
aload 2
invokevirtual java.io.File.length:()J
lload 3
lsub
invokestatic java.lang.Math.min:(JJ)J
lstore 8
start local 8 3: aload 7
lload 3
invokeinterface io.vertx.core.file.AsyncFile.setReadPos:(J)Lio/vertx/core/file/AsyncFile;
pop
4: aload 7
lload 8
invokeinterface io.vertx.core.file.AsyncFile.setReadLength:(J)Lio/vertx/core/file/AsyncFile;
pop
end local 8 end local 7 5: StackMap locals:
StackMap stack:
aload 5
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: return
end local 6 LocalVariableTable:
Start End Slot Name Signature
0 7 6 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;
2 5 7 file Lio/vertx/core/file/AsyncFile;
3 5 8 contentLength J
}
SourceFile: "HttpUtils.java"
NestMembers:
io.vertx.core.http.impl.HttpUtils$1 io.vertx.core.http.impl.HttpUtils$2 io.vertx.core.http.impl.HttpUtils$3 io.vertx.core.http.impl.HttpUtils$4 io.vertx.core.http.impl.HttpUtils$5 io.vertx.core.http.impl.HttpUtils$CustomCompressor
InnerClasses:
io.vertx.core.http.impl.HttpUtils$1
io.vertx.core.http.impl.HttpUtils$2
io.vertx.core.http.impl.HttpUtils$3
io.vertx.core.http.impl.HttpUtils$4
io.vertx.core.http.impl.HttpUtils$5
private CustomCompressor = io.vertx.core.http.impl.HttpUtils$CustomCompressor of io.vertx.core.http.impl.HttpUtils
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Decoder = java.util.Base64$Decoder of java.util.Base64
public Encoder = java.util.Base64$Encoder of java.util.Base64
public abstract Entry = java.util.Map$Entry of java.util.Map