final class io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser implements org.xnio.ChannelListener<org.xnio.channels.StreamSourceChannel>, io.undertow.server.handlers.form.FormDataParser
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser
super_class: java.lang.Object
{
private final io.undertow.server.HttpServerExchange exchange;
descriptor: Lio/undertow/server/HttpServerExchange;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.undertow.server.handlers.form.FormData data;
descriptor: Lio/undertow/server/handlers/form/FormData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StringBuilder builder;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String charset;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private io.undertow.server.HttpHandler handler;
descriptor: Lio/undertow/server/HttpHandler;
flags: (0x0002) ACC_PRIVATE
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(java.lang.String, io.undertow.server.HttpServerExchange);
descriptor: (Ljava/lang/String;Lio/undertow/server/HttpServerExchange;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
2: aload 0
aconst_null
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
3: aload 0
iconst_0
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
4: aload 0
aload 2
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
5: aload 0
aload 1
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
6: aload 0
new io.undertow.server.handlers.form.FormData
dup
aload 2
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
invokespecial io.undertow.server.handlers.form.FormData.<init>:(I)V
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
0 8 1 charset Ljava/lang/String;
0 8 2 exchange Lio/undertow/server/HttpServerExchange;
MethodParameters:
Name Flags
charset final
exchange final
public void handleEvent(org.xnio.channels.StreamSourceChannel);
descriptor: (Lorg/xnio/channels/StreamSourceChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.doParse:(Lorg/xnio/channels/StreamSourceChannel;)V
1: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_4
if_icmpne 8
2: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
getstatic io.undertow.util.SameThreadExecutor.INSTANCE:Ljava/util/concurrent/Executor;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.handler:Lio/undertow/server/HttpHandler;
invokevirtual io.undertow.server.HttpServerExchange.dispatch:(Ljava/util/concurrent/Executor;Lio/undertow/server/HttpHandler;)Lio/undertow/server/HttpServerExchange;
pop
3: goto 8
StackMap locals:
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: aload 1
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
6: getstatic io.undertow.UndertowLogger.REQUEST_IO_LOGGER:Lio/undertow/UndertowLogger;
aload 2
invokeinterface io.undertow.UndertowLogger.ioExceptionReadingFromChannel:(Ljava/io/IOException;)V
7: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.endExchange:()Lio/undertow/server/HttpServerExchange;
pop
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
0 9 1 channel Lorg/xnio/channels/StreamSourceChannel;
5 8 2 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
MethodParameters:
Name Flags
channel final
private void doParse(org.xnio.channels.StreamSourceChannel);
descriptor: (Lorg/xnio/channels/StreamSourceChannel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getConnection:()Lio/undertow/server/ServerConnection;
invokevirtual io.undertow.server.ServerConnection.getByteBufferPool:()Lio/undertow/connector/ByteBufferPool;
invokeinterface io.undertow.connector.ByteBufferPool.allocate:()Lio/undertow/connector/PooledByteBuffer;
astore 3
start local 3 2: aload 3
invokeinterface io.undertow.connector.PooledByteBuffer.getBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 3: StackMap locals: int io.undertow.connector.PooledByteBuffer java.nio.ByteBuffer
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
4: aload 1
aload 4
invokeinterface org.xnio.channels.StreamSourceChannel.read:(Ljava/nio/ByteBuffer;)I
istore 2
5: iload 2
ifle 56
6: aload 4
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
7: goto 55
8: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.get:()B
istore 5
start local 5 9: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
tableswitch { // 0 - 3
0: 10
1: 26
2: 38
3: 49
default: 55
}
10: StackMap locals: int
StackMap stack:
iload 5
bipush 61
if_icmpne 15
11: aload 0
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
12: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
13: aload 0
iconst_2
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
14: goto 55
StackMap locals:
StackMap stack:
15: iload 5
bipush 38
if_icmpne 20
16: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc ""
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
17: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
18: aload 0
iconst_0
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
19: goto 55
StackMap locals:
StackMap stack:
20: iload 5
bipush 37
if_icmpeq 21
iload 5
bipush 43
if_icmpne 24
21: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
22: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: goto 55
24: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: goto 55
26: StackMap locals:
StackMap stack:
iload 5
bipush 61
if_icmpne 31
27: aload 0
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Ljava/lang/String;
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
28: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
29: aload 0
iconst_2
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
30: goto 55
StackMap locals:
StackMap stack:
31: iload 5
bipush 38
if_icmpne 36
32: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Ljava/lang/String;
ldc ""
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
33: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
34: aload 0
iconst_0
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
35: goto 55
36: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
37: goto 55
38: StackMap locals:
StackMap stack:
iload 5
bipush 38
if_icmpne 43
39: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
40: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
41: aload 0
iconst_0
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
42: goto 55
StackMap locals:
StackMap stack:
43: iload 5
bipush 37
if_icmpeq 44
iload 5
bipush 43
if_icmpne 47
44: StackMap locals:
StackMap stack:
aload 0
iconst_3
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
45: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
46: goto 55
47: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
48: goto 55
49: StackMap locals:
StackMap stack:
iload 5
bipush 38
if_icmpne 54
50: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Ljava/lang/String;
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
51: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
52: aload 0
iconst_0
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
53: goto 55
54: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 55: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 8
56: StackMap locals:
StackMap stack:
iload 2
57: ifgt 3
58: iload 2
iconst_m1
if_icmpne 76
59: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_2
if_icmpne 62
60: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
61: goto 70
StackMap locals:
StackMap stack:
62: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_3
if_icmpne 65
63: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.name:Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Ljava/lang/String;
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
64: goto 70
StackMap locals:
StackMap stack:
65: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 70
66: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_1
if_icmpne 69
67: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
invokestatic io.undertow.util.URLUtils.decode:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/StringBuilder;)Ljava/lang/String;
ldc ""
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
68: goto 70
69: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.builder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc ""
invokevirtual io.undertow.server.handlers.form.FormData.add:(Ljava/lang/String;Ljava/lang/String;)V
70: StackMap locals:
StackMap stack:
aload 0
iconst_4
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
71: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
getstatic io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.FORM_DATA:Lio/undertow/util/AttachmentKey;
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
invokevirtual io.undertow.server.HttpServerExchange.putAttachment:(Lio/undertow/util/AttachmentKey;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 72: goto 76
StackMap locals: io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser org.xnio.channels.StreamSourceChannel int io.undertow.connector.PooledByteBuffer
StackMap stack: java.lang.Throwable
73: astore 6
74: aload 3
invokeinterface io.undertow.connector.PooledByteBuffer.close:()V
75: aload 6
athrow
76: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.undertow.connector.PooledByteBuffer.close:()V
77: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 78 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
0 78 1 channel Lorg/xnio/channels/StreamSourceChannel;
1 78 2 c I
2 78 3 pooled Lio/undertow/connector/PooledByteBuffer;
3 72 4 buffer Ljava/nio/ByteBuffer;
9 55 5 n B
Exception table:
from to target type
2 73 73 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel final
public void parse(io.undertow.server.HttpHandler);
descriptor: (Lio/undertow/server/HttpHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
getstatic io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.FORM_DATA:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
ifnull 3
1: aload 1
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
invokeinterface io.undertow.server.HttpHandler.handleRequest:(Lio/undertow/server/HttpServerExchange;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.handler:Lio/undertow/server/HttpHandler;
4: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getRequestChannel:()Lorg/xnio/channels/StreamSourceChannel;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: new java.io.IOException
dup
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.requestChannelAlreadyProvided:()Ljava/lang/IllegalStateException;
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
7: StackMap locals: org.xnio.channels.StreamSourceChannel
StackMap stack:
aload 0
aload 2
invokevirtual io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.doParse:(Lorg/xnio/channels/StreamSourceChannel;)V
8: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_4
if_icmpeq 12
9: aload 2
invokeinterface org.xnio.channels.StreamSourceChannel.getReadSetter:()Lorg/xnio/ChannelListener$Setter;
aload 0
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
10: aload 2
invokeinterface org.xnio.channels.StreamSourceChannel.resumeReads:()V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
getstatic io.undertow.util.SameThreadExecutor.INSTANCE:Ljava/util/concurrent/Executor;
aload 1
invokevirtual io.undertow.server.HttpServerExchange.dispatch:(Ljava/util/concurrent/Executor;Lio/undertow/server/HttpHandler;)Lio/undertow/server/HttpServerExchange;
pop
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
0 14 1 handler Lio/undertow/server/HttpHandler;
5 14 2 channel Lorg/xnio/channels/StreamSourceChannel;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
handler
public io.undertow.server.handlers.form.FormData parseBlocking();
descriptor: ()Lio/undertow/server/handlers/form/FormData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
getstatic io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.FORM_DATA:Lio/undertow/util/AttachmentKey;
invokevirtual io.undertow.server.HttpServerExchange.getAttachment:(Lio/undertow/util/AttachmentKey;)Ljava/lang/Object;
checkcast io.undertow.server.handlers.form.FormData
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: io.undertow.server.handlers.form.FormData
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.exchange:Lio/undertow/server/HttpServerExchange;
invokevirtual io.undertow.server.HttpServerExchange.getRequestChannel:()Lorg/xnio/channels/StreamSourceChannel;
astore 2
start local 2 4: aload 2
ifnonnull 9
5: new java.io.IOException
dup
getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
invokeinterface io.undertow.UndertowMessages.requestChannelAlreadyProvided:()Ljava/lang/IllegalStateException;
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
6: StackMap locals: org.xnio.channels.StreamSourceChannel
StackMap stack:
aload 0
aload 2
invokevirtual io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.doParse:(Lorg/xnio/channels/StreamSourceChannel;)V
7: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_4
if_icmpeq 9
8: aload 2
invokeinterface org.xnio.channels.StreamSourceChannel.awaitReadable:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.state:I
iconst_4
if_icmpne 6
10: aload 0
getfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.data:Lio/undertow/server/handlers/form/FormData;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
1 11 1 existing Lio/undertow/server/handlers/form/FormData;
4 11 2 channel Lorg/xnio/channels/StreamSourceChannel;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
Exceptions:
throws java.io.IOException
public void setCharacterEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.charset:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/undertow/server/handlers/form/FormEncodedDataDefinition$FormEncodedDataParser;
0 2 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding final
public void handleEvent(java.nio.channels.Channel);
descriptor: (Ljava/nio/channels/Channel;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.xnio.channels.StreamSourceChannel
invokevirtual io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.handleEvent:(Lorg/xnio/channels/StreamSourceChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<Lorg/xnio/channels/StreamSourceChannel;>;Lio/undertow/server/handlers/form/FormDataParser;
SourceFile: "FormEncodedDataDefinition.java"
NestHost: io.undertow.server.handlers.form.FormEncodedDataDefinition
InnerClasses:
private final FormEncodedDataParser = io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser of io.undertow.server.handlers.form.FormEncodedDataDefinition
public abstract Setter = org.xnio.ChannelListener$Setter of org.xnio.ChannelListener