public class io.undertow.server.Connectors
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.server.Connectors
super_class: java.lang.Object
{
private static final boolean[] ALLOWED_TOKEN_CHARACTERS;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: sipush 256
newarray 4
putstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
1: iconst_0
istore 0
start local 0 2: goto 13
3: StackMap locals: int
StackMap stack:
iload 0
bipush 48
if_icmplt 4
iload 0
bipush 57
if_icmple 6
4: StackMap locals:
StackMap stack:
iload 0
bipush 97
if_icmplt 5
iload 0
bipush 122
if_icmple 6
5: StackMap locals:
StackMap stack:
iload 0
bipush 65
if_icmplt 8
iload 0
bipush 90
if_icmpgt 8
6: StackMap locals:
StackMap stack:
getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
iload 0
iconst_1
bastore
7: goto 12
8: StackMap locals:
StackMap stack:
iload 0
lookupswitch { // 15
33: 9
35: 9
36: 9
37: 9
38: 9
39: 9
42: 9
43: 9
45: 9
46: 9
94: 9
95: 9
96: 9
124: 9
126: 9
default: 11
}
9: StackMap locals:
StackMap stack:
getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
iload 0
iconst_1
bastore
10: goto 12
11: StackMap locals:
StackMap stack:
getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
iload 0
iconst_0
bastore
12: StackMap locals:
StackMap stack:
iinc 0 1
StackMap locals:
StackMap stack:
13: iload 0
getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
arraylength
if_icmplt 3
end local 0 14: return
LocalVariableTable:
Start End Slot Name Signature
2 14 0 i I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lio/undertow/server/Connectors;
public static void flattenCookies(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.getResponseCookiesInternal:()Ljava/util/Map;
astore 1
start local 1 1: aload 0
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getUndertowOptions:()Lorg/xnio/OptionMap;
getstatic io.undertow.UndertowOptions.ENABLE_RFC6265_COOKIE_VALIDATION:Lorg/xnio/Option;
iconst_0
invokevirtual org.xnio.OptionMap.get:(Lorg/xnio/Option;Z)Z
istore 2
start local 2 2: aload 1
ifnull 7
3: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: io.undertow.server.HttpServerExchange java.util.Map int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 0
invokevirtual io.undertow.server.HttpServerExchange.getResponseHeaders:()Lio/undertow/util/HeaderMap;
getstatic io.undertow.util.Headers.SET_COOKIE:Lio/undertow/util/HttpString;
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.undertow.server.handlers.Cookie
iload 2
invokestatic io.undertow.server.Connectors.getCookieString:(Lio/undertow/server/handlers/Cookie;Z)Ljava/lang/String;
invokevirtual io.undertow.util.HeaderMap.add:(Lio/undertow/util/HttpString;Ljava/lang/String;)Lio/undertow/util/HeaderMap;
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: StackMap locals: io.undertow.server.HttpServerExchange java.util.Map int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 exchange Lio/undertow/server/HttpServerExchange;
1 8 1 cookies Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
2 8 2 enableRfc6265Validation Z
5 6 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
MethodParameters:
Name Flags
exchange final
public static void ungetRequestBytes(io.undertow.server.HttpServerExchange, io.undertow.connector.PooledByteBuffer[]);
descriptor: (Lio/undertow/server/HttpServerExchange;[Lio/undertow/connector/PooledByteBuffer;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.undertow.server.HttpServerExchange.BUFFERED_REQUEST_DATA:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
checkcast io.undertow.connector.PooledByteBuffer[]
astore 2
start local 2 1: aload 2
ifnonnull 5
2: aload 1
arraylength
anewarray io.undertow.connector.PooledByteBuffer
astore 3
start local 3 3: aload 1
iconst_0
aload 3
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: goto 8
end local 3 5: StackMap locals: io.undertow.connector.PooledByteBuffer[]
StackMap stack:
aload 2
arraylength
aload 1
arraylength
iadd
anewarray io.undertow.connector.PooledByteBuffer
astore 3
start local 3 6: aload 2
iconst_0
aload 3
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 1
iconst_0
aload 3
aload 2
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: StackMap locals: io.undertow.connector.PooledByteBuffer[]
StackMap stack:
aload 0
getstatic io.undertow.server.HttpServerExchange.BUFFERED_REQUEST_DATA:Lio/undertow/util/AttachmentKey;
aload 3
invokevirtual io.undertow.server.HttpServerExchange.putAttachment:(Lio/undertow/util/AttachmentKey;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
new io.undertow.server.Connectors$1
dup
invokespecial io.undertow.server.Connectors$1.<init>:()V
invokevirtual io.undertow.server.HttpServerExchange.addExchangeCompleteListener:(Lio/undertow/server/ExchangeCompletionListener;)Lio/undertow/server/HttpServerExchange;
pop
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 exchange Lio/undertow/server/HttpServerExchange;
0 11 1 buffers [Lio/undertow/connector/PooledByteBuffer;
1 11 2 existing [Lio/undertow/connector/PooledByteBuffer;
3 5 3 newArray [Lio/undertow/connector/PooledByteBuffer;
6 11 3 newArray [Lio/undertow/connector/PooledByteBuffer;
MethodParameters:
Name Flags
exchange final
buffers
public static void terminateRequest(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.terminateRequest:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange final
public static void terminateResponse(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.terminateResponse:()Lio/undertow/server/HttpServerExchange;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange final
public static void resetRequestChannel(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.resetRequestChannel:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange final
private static java.lang.String getCookieString(io.undertow.server.handlers.Cookie, boolean);
descriptor: (Lio/undertow/server/handlers/Cookie;Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: aload 0
invokestatic io.undertow.server.Connectors.addRfc6265ResponseCookieToExchange:(Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.undertow.util.LegacyCookieSupport.adjustedCookieVersion:(Lio/undertow/server/handlers/Cookie;)I
tableswitch { // 0 - 1
0: 3
1: 4
default: 4
}
3: StackMap locals:
StackMap stack:
aload 0
invokestatic io.undertow.server.Connectors.addVersion0ResponseCookieToExchange:(Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic io.undertow.server.Connectors.addVersion1ResponseCookieToExchange:(Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cookie Lio/undertow/server/handlers/Cookie;
0 5 1 enableRfc6265Validation Z
MethodParameters:
Name Flags
cookie final
enableRfc6265Validation
public static void setRequestStartTime(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.nanoTime:()J
invokevirtual io.undertow.server.HttpServerExchange.setRequestStartTime:(J)Lio/undertow/server/HttpServerExchange;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange
public static void setRequestStartTime(io.undertow.server.HttpServerExchange, io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual io.undertow.server.HttpServerExchange.getRequestStartTime:()J
invokevirtual io.undertow.server.HttpServerExchange.setRequestStartTime:(J)Lio/undertow/server/HttpServerExchange;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 existing Lio/undertow/server/HttpServerExchange;
0 2 1 newExchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
existing
newExchange
private static java.lang.String addRfc6265ResponseCookieToExchange(io.undertow.server.handlers.Cookie);
descriptor: (Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
ifnull 4
3: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
ifnull 7
5: aload 1
ldc "; Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
ifnull 10
8: aload 1
ldc "; Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isDiscard:()Z
ifeq 12
11: aload 1
ldc "; Discard"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSecure:()Z
ifeq 14
13: aload 1
ldc "; Secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isHttpOnly:()Z
ifeq 16
15: aload 1
ldc "; HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
ifnull 32
17: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iflt 20
18: aload 1
ldc "; Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
ifnonnull 32
21: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifne 27
22: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 23: aload 2
lconst_0
invokevirtual java.util.Date.setTime:(J)V
24: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 26: goto 32
StackMap locals:
StackMap stack:
27: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifle 32
28: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 29: aload 2
aload 2
invokevirtual java.util.Date.getTime:()J
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
i2l
ldc 1000
lmul
ladd
invokevirtual java.util.Date.setTime:(J)V
30: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 32: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
ifnull 35
33: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
34: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
invokestatic io.undertow.util.DateUtils.toDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
ifnull 38
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 38
36: aload 1
ldc "; Comment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSameSite:()Z
ifeq 44
39: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
ifnull 43
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 43
40: aload 1
ldc "; SameSite="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: goto 44
43: StackMap locals:
StackMap stack:
aload 1
ldc "; SameSite"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 cookie Lio/undertow/server/handlers/Cookie;
1 45 1 header Ljava/lang/StringBuilder;
23 26 2 expires Ljava/util/Date;
29 32 2 expires Ljava/util/Date;
MethodParameters:
Name Flags
cookie final
private static java.lang.String addVersion0ResponseCookieToExchange(io.undertow.server.handlers.Cookie);
descriptor: (Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
ifnull 4
3: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
ifnull 7
5: aload 1
ldc "; path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
ifnull 10
8: aload 1
ldc "; domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSecure:()Z
ifeq 12
11: aload 1
ldc "; secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isHttpOnly:()Z
ifeq 14
13: aload 1
ldc "; HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
ifnull 18
15: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 33
StackMap locals:
StackMap stack:
18: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
ifnull 33
19: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iflt 22
20: aload 1
ldc "; Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
22: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifne 28
23: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 24: aload 2
lconst_0
invokevirtual java.util.Date.setTime:(J)V
25: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 27: goto 33
StackMap locals:
StackMap stack:
28: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifle 33
29: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 30: aload 2
aload 2
invokevirtual java.util.Date.getTime:()J
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
i2l
ldc 1000
lmul
ladd
invokevirtual java.util.Date.setTime:(J)V
31: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 33: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSameSite:()Z
ifeq 39
34: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
ifnull 38
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 38
35: aload 1
ldc "; SameSite="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: goto 39
38: StackMap locals:
StackMap stack:
aload 1
ldc "; SameSite"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 cookie Lio/undertow/server/handlers/Cookie;
1 40 1 header Ljava/lang/StringBuilder;
24 27 2 expires Ljava/util/Date;
30 33 2 expires Ljava/util/Date;
MethodParameters:
Name Flags
cookie final
private static java.lang.String addVersion1ResponseCookieToExchange(io.undertow.server.handlers.Cookie);
descriptor: (Lio/undertow/server/handlers/Cookie;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
ifnull 4
3: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getValue:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "; Version=1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
ifnull 8
6: aload 1
ldc "; Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getPath:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
ifnull 11
9: aload 1
ldc "; Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getDomain:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isDiscard:()Z
ifeq 13
12: aload 1
ldc "; Discard"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSecure:()Z
ifeq 15
14: aload 1
ldc "; Secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isHttpOnly:()Z
ifeq 17
16: aload 1
ldc "; HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
ifnull 33
18: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
iflt 21
19: aload 1
ldc "; Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
ifnonnull 33
22: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifne 28
23: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 24: aload 2
lconst_0
invokevirtual java.util.Date.setTime:(J)V
25: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 27: goto 33
StackMap locals:
StackMap stack:
28: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ifle 33
29: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 30: aload 2
aload 2
invokevirtual java.util.Date.getTime:()J
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getMaxAge:()Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
i2l
ldc 1000
lmul
ladd
invokevirtual java.util.Date.setTime:(J)V
31: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: aload 1
aload 2
invokestatic io.undertow.util.DateUtils.toOldCookieDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 33: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
ifnull 36
34: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getExpires:()Ljava/util/Date;
invokestatic io.undertow.util.DateUtils.toDateString:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
ifnull 39
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 39
37: aload 1
ldc "; Comment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getComment:()Ljava/lang/String;
invokestatic io.undertow.util.LegacyCookieSupport.maybeQuote:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
39: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.undertow.server.handlers.Cookie.isSameSite:()Z
ifeq 45
40: aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
ifnull 44
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 44
41: aload 1
ldc "; SameSite="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: aload 1
aload 0
invokeinterface io.undertow.server.handlers.Cookie.getSameSiteMode:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
43: goto 45
44: StackMap locals:
StackMap stack:
aload 1
ldc "; SameSite"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 cookie Lio/undertow/server/handlers/Cookie;
1 46 1 header Ljava/lang/StringBuilder;
24 27 2 expires Ljava/util/Date;
30 33 2 expires Ljava/util/Date;
MethodParameters:
Name Flags
cookie final
public static void executeRootHandler(io.undertow.server.HttpHandler, io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpHandler;Lio/undertow/server/HttpServerExchange;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
invokevirtual io.undertow.server.HttpServerExchange.setInCall:(Z)Lio/undertow/server/HttpServerExchange;
pop
1: aload 0
aload 1
invokeinterface io.undertow.server.HttpHandler.handleRequest:(Lio/undertow/server/HttpServerExchange;)V
2: aload 1
iconst_0
invokevirtual io.undertow.server.HttpServerExchange.setInCall:(Z)Lio/undertow/server/HttpServerExchange;
pop
3: aload 1
invokevirtual io.undertow.server.HttpServerExchange.runResumeReadWrite:()Z
istore 2
start local 2 4: aload 1
invokevirtual io.undertow.server.HttpServerExchange.isDispatched:()Z
ifeq 25
5: iload 2
ifeq 10
6: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
invokeinterface io.undertow.UndertowLogger.resumedAndDispatched:()V
7: aload 1
sipush 500
invokevirtual io.undertow.server.HttpServerExchange.setStatusCode:(I)Lio/undertow/server/HttpServerExchange;
pop
8: aload 1
invokevirtual io.undertow.server.HttpServerExchange.endExchange:()Lio/undertow/server/HttpServerExchange;
pop
9: return
10: StackMap locals: int
StackMap stack:
aload 1
invokevirtual io.undertow.server.HttpServerExchange.getDispatchTask:()Ljava/lang/Runnable;
astore 3
start local 3 11: aload 1
invokevirtual io.undertow.server.HttpServerExchange.getDispatchExecutor:()Ljava/util/concurrent/Executor;
astore 4
start local 4 12: aload 1
aconst_null
invokevirtual io.undertow.server.HttpServerExchange.setDispatchExecutor:(Ljava/util/concurrent/Executor;)Lio/undertow/server/HttpServerExchange;
pop
13: aload 1
invokevirtual io.undertow.server.HttpServerExchange.unDispatch:()Lio/undertow/server/HttpServerExchange;
pop
14: aload 3
ifnull 38
15: aload 4
ifnonnull 16
aload 1
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getWorker:()Lorg/xnio/XnioWorker;
goto 17
StackMap locals: java.lang.Runnable java.util.concurrent.Executor
StackMap stack:
16: aload 4
StackMap locals:
StackMap stack: java.util.concurrent.Executor
17: astore 4
18: aload 4
aload 3
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
19: goto 38
StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
20: astore 5
start local 5 21: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
ldc "Failed to dispatch to worker"
aload 5
invokeinterface io.undertow.UndertowLogger.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
22: aload 1
sipush 500
invokevirtual io.undertow.server.HttpServerExchange.setStatusCode:(I)Lio/undertow/server/HttpServerExchange;
pop
23: aload 1
invokevirtual io.undertow.server.HttpServerExchange.endExchange:()Lio/undertow/server/HttpServerExchange;
pop
end local 5 end local 4 end local 3 24: goto 38
StackMap locals:
StackMap stack:
25: iload 2
ifne 38
26: aload 1
invokevirtual io.undertow.server.HttpServerExchange.endExchange:()Lio/undertow/server/HttpServerExchange;
pop
end local 2 27: goto 38
StackMap locals: io.undertow.server.HttpHandler io.undertow.server.HttpServerExchange
StackMap stack: java.lang.Throwable
28: astore 2
start local 2 29: aload 1
getstatic io.undertow.server.DefaultResponseListener.EXCEPTION:Lio/undertow/util/AttachmentKey;
aload 2
invokevirtual io.undertow.server.HttpServerExchange.putAttachment:(Lio/undertow/util/AttachmentKey;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 1
iconst_0
invokevirtual io.undertow.server.HttpServerExchange.setInCall:(Z)Lio/undertow/server/HttpServerExchange;
pop
31: aload 1
invokevirtual io.undertow.server.HttpServerExchange.isResponseStarted:()Z
ifne 33
32: aload 1
sipush 500
invokevirtual io.undertow.server.HttpServerExchange.setStatusCode:(I)Lio/undertow/server/HttpServerExchange;
pop
33: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
instanceof java.io.IOException
ifeq 36
34: getstatic io.undertow.UndertowLogger.REQUEST_IO_LOGGER:Lio/undertow/UndertowLogger;
aload 2
checkcast java.io.IOException
invokeinterface io.undertow.UndertowLogger.ioException:(Ljava/io/IOException;)V
35: goto 37
36: StackMap locals:
StackMap stack:
getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
aload 2
aload 1
invokeinterface io.undertow.UndertowLogger.undertowRequestFailed:(Ljava/lang/Throwable;Lio/undertow/server/HttpServerExchange;)V
37: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.undertow.server.HttpServerExchange.endExchange:()Lio/undertow/server/HttpServerExchange;
pop
end local 2 38: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 handler Lio/undertow/server/HttpHandler;
0 39 1 exchange Lio/undertow/server/HttpServerExchange;
4 27 2 resumed Z
11 24 3 dispatchTask Ljava/lang/Runnable;
12 24 4 executor Ljava/util/concurrent/Executor;
21 24 5 e Ljava/util/concurrent/RejectedExecutionException;
29 38 2 t Ljava/lang/Throwable;
Exception table:
from to target type
18 19 20 Class java.util.concurrent.RejectedExecutionException
0 9 28 Class java.lang.Throwable
10 27 28 Class java.lang.Throwable
MethodParameters:
Name Flags
handler final
exchange final
public static void setExchangeRequestPath(io.undertow.server.HttpServerExchange, java.lang.String, java.lang.String, boolean, boolean, java.lang.StringBuilder);
descriptor: (Lio/undertow/server/HttpServerExchange;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
iload 4
aload 5
aload 0
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getUndertowOptions:()Lorg/xnio/OptionMap;
getstatic io.undertow.UndertowOptions.MAX_PARAMETERS:Lorg/xnio/Option;
sipush 1000
invokevirtual org.xnio.OptionMap.get:(Lorg/xnio/Option;I)I
invokestatic io.undertow.server.Connectors.setExchangeRequestPath:(Lio/undertow/server/HttpServerExchange;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;I)V
1: goto 4
StackMap locals:
StackMap stack: io.undertow.util.ParameterLimitException
2: astore 6
start local 6 3: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 4: StackMap locals:
StackMap stack:
return
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 5 0 exchange Lio/undertow/server/HttpServerExchange;
0 5 1 encodedPath Ljava/lang/String;
0 5 2 charset Ljava/lang/String;
0 5 3 decode Z
0 5 4 allowEncodedSlash Z
0 5 5 decodeBuffer Ljava/lang/StringBuilder;
3 4 6 e Lio/undertow/util/ParameterLimitException;
Exception table:
from to target type
0 1 2 Class io.undertow.util.ParameterLimitException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exchange final
encodedPath final
charset final
decode
allowEncodedSlash final
decodeBuffer
public static void setExchangeRequestPath(io.undertow.server.HttpServerExchange, java.lang.String, java.lang.String, boolean, boolean, java.lang.StringBuilder, int);
descriptor: (Lio/undertow/server/HttpServerExchange;Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iconst_0
istore 7
start local 7 1: iconst_0
istore 8
start local 8 2: goto 43
3: StackMap locals: int int
StackMap stack:
aload 1
iload 8
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 4: iload 9
bipush 63
if_icmpne 17
5: aload 1
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 6: iload 7
ifeq 9
7: aload 11
aload 2
iload 4
iconst_0
aload 5
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;)Ljava/lang/String;
astore 10
start local 10 8: goto 10
end local 10 9: StackMap locals: io.undertow.server.HttpServerExchange java.lang.String java.lang.String int int java.lang.StringBuilder int int int int top java.lang.String
StackMap stack:
aload 11
astore 10
start local 10 10: StackMap locals: io.undertow.server.HttpServerExchange java.lang.String java.lang.String int int java.lang.StringBuilder int int int int java.lang.String java.lang.String
StackMap stack:
aload 0
aload 10
invokevirtual io.undertow.server.HttpServerExchange.setRequestPath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
11: aload 0
aload 10
invokevirtual io.undertow.server.HttpServerExchange.setRelativePath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
12: aload 0
aload 11
invokevirtual io.undertow.server.HttpServerExchange.setRequestURI:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
13: aload 1
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 12
start local 12 14: aload 0
aload 12
invokevirtual io.undertow.server.HttpServerExchange.setQueryString:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
15: aload 12
aload 0
aload 2
iload 3
iload 6
invokestatic io.undertow.util.URLUtils.parseQueryString:(Ljava/lang/String;Lio/undertow/server/HttpServerExchange;Ljava/lang/String;ZI)V
16: return
end local 12 end local 11 end local 10 17: StackMap locals:
StackMap stack:
iload 9
bipush 59
if_icmpne 40
18: aload 1
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 19: iload 7
ifeq 22
20: aload 11
aload 2
iload 4
iconst_0
aload 5
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;)Ljava/lang/String;
astore 10
start local 10 21: goto 23
end local 10 22: StackMap locals: io.undertow.server.HttpServerExchange java.lang.String java.lang.String int int java.lang.StringBuilder int int int int top java.lang.String
StackMap stack:
aload 11
astore 10
start local 10 23: StackMap locals: io.undertow.server.HttpServerExchange java.lang.String java.lang.String int int java.lang.StringBuilder int int int int java.lang.String java.lang.String
StackMap stack:
aload 0
aload 10
invokevirtual io.undertow.server.HttpServerExchange.setRequestPath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
24: aload 0
aload 10
invokevirtual io.undertow.server.HttpServerExchange.setRelativePath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
25: iload 8
istore 12
start local 12 26: goto 36
27: StackMap locals: int
StackMap stack:
aload 1
iload 12
invokevirtual java.lang.String.charAt:(I)C
bipush 63
if_icmpne 35
28: aload 0
aload 1
iconst_0
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual io.undertow.server.HttpServerExchange.setRequestURI:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
29: aload 1
iload 8
iconst_1
iadd
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 13
start local 13 30: aload 13
aload 0
aload 2
iload 3
iload 6
invokestatic io.undertow.util.URLUtils.parsePathParams:(Ljava/lang/String;Lio/undertow/server/HttpServerExchange;Ljava/lang/String;ZI)V
31: aload 1
iload 12
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 14
start local 14 32: aload 0
aload 14
invokevirtual io.undertow.server.HttpServerExchange.setQueryString:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
33: aload 14
aload 0
aload 2
iload 3
iload 6
invokestatic io.undertow.util.URLUtils.parseQueryString:(Ljava/lang/String;Lio/undertow/server/HttpServerExchange;Ljava/lang/String;ZI)V
34: return
end local 14 end local 13 35: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
36: iload 12
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 27
end local 12 37: aload 0
aload 1
invokevirtual io.undertow.server.HttpServerExchange.setRequestURI:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
38: aload 1
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 0
aload 2
iload 3
iload 6
invokestatic io.undertow.util.URLUtils.parsePathParams:(Ljava/lang/String;Lio/undertow/server/HttpServerExchange;Ljava/lang/String;ZI)V
39: return
end local 11 end local 10 40: StackMap locals:
StackMap stack:
iload 9
bipush 37
if_icmpeq 41
iload 9
bipush 43
if_icmpne 42
41: StackMap locals:
StackMap stack:
iconst_1
istore 7
end local 9 42: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
43: iload 8
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 8 44: iload 7
ifeq 47
45: aload 1
aload 2
iload 4
iconst_0
aload 5
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/StringBuilder;)Ljava/lang/String;
astore 8
start local 8 46: goto 48
end local 8 47: StackMap locals:
StackMap stack:
aload 1
astore 8
start local 8 48: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 8
invokevirtual io.undertow.server.HttpServerExchange.setRequestPath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
49: aload 0
aload 8
invokevirtual io.undertow.server.HttpServerExchange.setRelativePath:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
50: aload 0
aload 1
invokevirtual io.undertow.server.HttpServerExchange.setRequestURI:(Ljava/lang/String;)Lio/undertow/server/HttpServerExchange;
pop
51: return
end local 8 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 52 0 exchange Lio/undertow/server/HttpServerExchange;
0 52 1 encodedPath Ljava/lang/String;
0 52 2 charset Ljava/lang/String;
0 52 3 decode Z
0 52 4 allowEncodedSlash Z
0 52 5 decodeBuffer Ljava/lang/StringBuilder;
0 52 6 maxParameters I
1 52 7 requiresDecode Z
2 44 8 i I
4 42 9 c C
8 9 10 part Ljava/lang/String;
10 17 10 part Ljava/lang/String;
6 17 11 encodedPart Ljava/lang/String;
14 17 12 qs Ljava/lang/String;
21 22 10 part Ljava/lang/String;
23 40 10 part Ljava/lang/String;
19 40 11 encodedPart Ljava/lang/String;
26 37 12 j I
30 35 13 pathParams Ljava/lang/String;
32 35 14 qs Ljava/lang/String;
46 47 8 part Ljava/lang/String;
48 52 8 part Ljava/lang/String;
Exceptions:
throws io.undertow.util.ParameterLimitException
MethodParameters:
Name Flags
exchange final
encodedPath final
charset final
decode
allowEncodedSlash final
decodeBuffer
maxParameters
public static org.xnio.channels.StreamSourceChannel getExistingRequestChannel(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Lorg/xnio/channels/StreamSourceChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.HttpServerExchange.requestChannel:Lio/undertow/server/HttpServerExchange$ReadDispatchChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange final
public static boolean isEntityBodyAllowed(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.getStatusCode:()I
istore 1
start local 1 1: iload 1
invokestatic io.undertow.server.Connectors.isEntityBodyAllowed:(I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
1 2 1 code I
MethodParameters:
Name Flags
exchange
public static boolean isEntityBodyAllowed(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 100
if_icmplt 2
iload 0
sipush 200
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 0
sipush 204
if_icmpeq 3
iload 0
sipush 304
if_icmpne 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 code I
MethodParameters:
Name Flags
code
public static void updateResponseBytesSent(io.undertow.server.HttpServerExchange, long);
descriptor: (Lio/undertow/server/HttpServerExchange;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual io.undertow.server.HttpServerExchange.updateBytesSent:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exchange Lio/undertow/server/HttpServerExchange;
0 2 1 bytes J
MethodParameters:
Name Flags
exchange
bytes
public static org.xnio.conduits.ConduitStreamSinkChannel getConduitSinkChannel(io.undertow.server.HttpServerExchange);
descriptor: (Lio/undertow/server/HttpServerExchange;)Lorg/xnio/conduits/ConduitStreamSinkChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getSinkChannel:()Lorg/xnio/conduits/ConduitStreamSinkChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
exchange
public static void verifyToken(io.undertow.util.HttpString);
descriptor: (Lio/undertow/util/HttpString;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual io.undertow.util.HttpString.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual io.undertow.util.HttpString.byteAt:(I)B
istore 3
start local 3 4: getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
iload 3
baload
ifne 6
5: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 3
invokeinterface io.undertow.UndertowMessages.invalidToken:(B)Ljava/lang/IllegalArgumentException;
athrow
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 3
end local 2 8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 header Lio/undertow/util/HttpString;
1 9 1 length I
2 8 2 i I
4 6 3 c B
MethodParameters:
Name Flags
header
public static boolean isValidTokenCharacter(byte);
descriptor: (B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic io.undertow.server.Connectors.ALLOWED_TOKEN_CHARACTERS:[Z
iload 0
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c B
MethodParameters:
Name Flags
c
public static boolean (io.undertow.util.HeaderMap);
descriptor: (Lio/undertow/util/HeaderMap;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getstatic io.undertow.util.Headers.TRANSFER_ENCODING:Lio/undertow/util/HttpString;
invokevirtual io.undertow.util.HeaderMap.get:(Lio/undertow/util/HttpString;)Lio/undertow/util/HeaderValues;
astore 1
start local 1 1: aload 0
getstatic io.undertow.util.Headers.CONTENT_LENGTH:Lio/undertow/util/HttpString;
invokevirtual io.undertow.util.HeaderMap.get:(Lio/undertow/util/HttpString;)Lio/undertow/util/HeaderValues;
astore 2
start local 2 2: aload 1
ifnull 4
aload 2
ifnull 4
3: iconst_0
ireturn
4: StackMap locals: io.undertow.util.HeaderValues io.undertow.util.HeaderValues
StackMap stack:
aload 1
ifnull 6
aload 1
invokevirtual io.undertow.util.HeaderValues.size:()I
iconst_1
if_icmple 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
ifnull 8
aload 2
invokevirtual io.undertow.util.HeaderValues.size:()I
iconst_1
if_icmple 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 headers Lio/undertow/util/HeaderMap;
1 9 1 te Lio/undertow/util/HeaderValues;
2 9 2 cl Lio/undertow/util/HeaderValues;
MethodParameters:
Name Flags
headers
}
SourceFile: "Connectors.java"
NestMembers:
io.undertow.server.Connectors$1
InnerClasses:
io.undertow.server.Connectors$1
public abstract Entry = java.util.Map$Entry of java.util.Map