public class org.eclipse.jetty.server.HttpInput extends jakarta.servlet.ServletInputStream implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.HttpInput
super_class: jakarta.servlet.ServletInputStream
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[] _oneByteBuffer;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.BlockingContentProducer _blockingContentProducer;
descriptor: Lorg/eclipse/jetty/server/BlockingContentProducer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.AsyncContentProducer _asyncContentProducer;
descriptor: Lorg/eclipse/jetty/server/AsyncContentProducer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.HttpChannelState _channelState;
descriptor: Lorg/eclipse/jetty/server/HttpChannelState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.eclipse.jetty.server.ContentProducer _contentProducer;
descriptor: Lorg/eclipse/jetty/server/ContentProducer;
flags: (0x0002) ACC_PRIVATE
private boolean _consumedEof;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jakarta.servlet.ReadListener _readListener;
descriptor: Ljakarta/servlet/ReadListener;
flags: (0x0002) ACC_PRIVATE
private long _contentConsumed;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/HttpInput;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.eclipse.jetty.server.HttpChannelState);
descriptor: (Lorg/eclipse/jetty/server/HttpChannelState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jakarta.servlet.ServletInputStream.<init>:()V
1: aload 0
iconst_1
newarray 8
putfield org.eclipse.jetty.server.HttpInput._oneByteBuffer:[B
2: aload 0
aload 1
putfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
3: aload 0
new org.eclipse.jetty.server.AsyncContentProducer
dup
aload 1
invokevirtual org.eclipse.jetty.server.HttpChannelState.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokespecial org.eclipse.jetty.server.AsyncContentProducer.<init>:(Lorg/eclipse/jetty/server/HttpChannel;)V
putfield org.eclipse.jetty.server.HttpInput._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
4: aload 0
new org.eclipse.jetty.server.BlockingContentProducer
dup
aload 0
getfield org.eclipse.jetty.server.HttpInput._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokespecial org.eclipse.jetty.server.BlockingContentProducer.<init>:(Lorg/eclipse/jetty/server/AsyncContentProducer;)V
putfield org.eclipse.jetty.server.HttpInput._blockingContentProducer:Lorg/eclipse/jetty/server/BlockingContentProducer;
5: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpInput._blockingContentProducer:Lorg/eclipse/jetty/server/BlockingContentProducer;
putfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/HttpInput;
0 7 1 state Lorg/eclipse/jetty/server/HttpChannelState;
MethodParameters:
Name Flags
state
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "recycle {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._blockingContentProducer:Lorg/eclipse/jetty/server/BlockingContentProducer;
invokevirtual org.eclipse.jetty.server.BlockingContentProducer.recycle:()V
3: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpInput._blockingContentProducer:Lorg/eclipse/jetty/server/BlockingContentProducer;
putfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
4: aload 0
iconst_0
putfield org.eclipse.jetty.server.HttpInput._consumedEof:Z
5: aload 0
aconst_null
putfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
6: aload 0
lconst_0
putfield org.eclipse.jetty.server.HttpInput._contentConsumed:J
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/server/HttpInput;
public org.eclipse.jetty.server.HttpInput$Interceptor getInterceptor();
descriptor: ()Lorg/eclipse/jetty/server/HttpInput$Interceptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.getInterceptor:()Lorg/eclipse/jetty/server/HttpInput$Interceptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpInput;
public void setInterceptor(org.eclipse.jetty.server.HttpInput$Interceptor);
descriptor: (Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "setting interceptor to {} on {}"
aload 1
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
aload 1
invokeinterface org.eclipse.jetty.server.ContentProducer.setInterceptor:(Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
0 4 1 interceptor Lorg/eclipse/jetty/server/HttpInput$Interceptor;
MethodParameters:
Name Flags
interceptor
public void addInterceptor(org.eclipse.jetty.server.HttpInput$Interceptor);
descriptor: (Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.getInterceptor:()Lorg/eclipse/jetty/server/HttpInput$Interceptor;
astore 2
start local 2 1: aload 2
ifnonnull 6
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 4
3: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "adding single interceptor: {} on {}"
aload 1
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: StackMap locals: org.eclipse.jetty.server.HttpInput$Interceptor
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
aload 1
invokeinterface org.eclipse.jetty.server.ContentProducer.setInterceptor:(Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
5: goto 10
6: StackMap locals:
StackMap stack:
new org.eclipse.jetty.server.HttpInput$ChainedInterceptor
dup
aload 2
aload 1
invokespecial org.eclipse.jetty.server.HttpInput$ChainedInterceptor.<init>:(Lorg/eclipse/jetty/server/HttpInput$Interceptor;Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
astore 3
start local 3 7: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 9
8: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "adding chained interceptor: {} on {}"
aload 3
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
9: StackMap locals: org.eclipse.jetty.server.HttpInput$ChainedInterceptor
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
aload 3
invokeinterface org.eclipse.jetty.server.ContentProducer.setInterceptor:(Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/HttpInput;
0 11 1 interceptor Lorg/eclipse/jetty/server/HttpInput$Interceptor;
1 11 2 currentInterceptor Lorg/eclipse/jetty/server/HttpInput$Interceptor;
7 10 3 chainedInterceptor Lorg/eclipse/jetty/server/HttpInput$ChainedInterceptor;
MethodParameters:
Name Flags
interceptor
public int get(org.eclipse.jetty.server.HttpInput$Content, byte[], int, int);
descriptor: (Lorg/eclipse/jetty/server/HttpInput$Content;[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
iload 3
iload 4
invokevirtual org.eclipse.jetty.server.HttpInput$Content.get:([BII)I
istore 5
start local 5 1: aload 0
dup
getfield org.eclipse.jetty.server.HttpInput._contentConsumed:J
iload 5
i2l
ladd
putfield org.eclipse.jetty.server.HttpInput._contentConsumed:J
2: iload 5
ireturn
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 3 0 this Lorg/eclipse/jetty/server/HttpInput;
0 3 1 content Lorg/eclipse/jetty/server/HttpInput$Content;
0 3 2 bytes [B
0 3 3 offset I
0 3 4 length I
1 3 5 consumed I
MethodParameters:
Name Flags
content
bytes
offset
length
public long getContentConsumed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentConsumed:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpInput;
public long getContentReceived();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.getRawContentArrived:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpInput;
public boolean consumeAll();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "Unconsumed content"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "consumeAll {}"
aload 0
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: java.io.IOException
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
aload 1
invokeinterface org.eclipse.jetty.server.ContentProducer.consumeAll:(Ljava/lang/Throwable;)Z
istore 2
start local 2 4: iload 2
ifeq 6
5: aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpInput._consumedEof:Z
6: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.isFinished:()Z
ifeq 10
7: aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.isError:()Z
ifeq 8
iconst_0
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/HttpInput;
1 11 1 failure Ljava/io/IOException;
4 11 2 atEof Z
public boolean isError();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.isError:()Z
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "isError={} {}"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
1 4 1 error Z
public boolean isAsync();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "isAsync read listener {} {}"
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
ifnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
public boolean isFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._consumedEof:Z
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "isFinished={} {}"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
1 4 1 finished Z
public boolean isReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.isReady:()Z
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "isReady={} {}"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
1 4 1 ready Z
public void setReadListener(jakarta.servlet.ReadListener);
descriptor: (Ljakarta/servlet/ReadListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "setting read listener to {} {}"
aload 1
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
ifnull 4
3: new java.lang.IllegalStateException
dup
ldc "ReadListener already set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jakarta.servlet.ReadListener
putfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
5: aload 0
getfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual org.eclipse.jetty.server.HttpChannelState.isAsyncStarted:()Z
ifne 7
6: new java.lang.IllegalStateException
dup
ldc "Async not started"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.HttpInput._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
putfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
8: aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.isReady:()Z
ifeq 10
aload 0
getfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual org.eclipse.jetty.server.HttpChannelState.onReadEof:()Z
ifeq 10
9: aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.scheduleReadListenerNotification:()V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/HttpInput;
0 11 1 readListener Ljakarta/servlet/ReadListener;
MethodParameters:
Name Flags
readListener
public boolean onContentProducible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.onContentProducible:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/HttpInput;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield org.eclipse.jetty.server.HttpInput._oneByteBuffer:[B
iconst_0
iconst_1
invokevirtual org.eclipse.jetty.server.HttpInput.read:([BII)I
istore 1
start local 1 1: iload 1
ifne 3
2: new java.io.IOException
dup
ldc "unready read=0"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
ifge 4
iconst_m1
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield org.eclipse.jetty.server.HttpInput._oneByteBuffer:[B
iconst_0
baload
sipush 255
iand
StackMap locals:
StackMap stack: int
5: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/HttpInput;
1 6 1 read I
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.checkMinDataRate:()V
1: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.nextContent:()Lorg/eclipse/jetty/server/HttpInput$Content;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "read on unready input"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.eclipse.jetty.server.HttpInput$Content
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.HttpInput$Content.isSpecial:()Z
ifne 11
5: aload 0
aload 4
aload 1
iload 2
iload 3
invokevirtual org.eclipse.jetty.server.HttpInput.get:(Lorg/eclipse/jetty/server/HttpInput$Content;[BII)I
istore 5
start local 5 6: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "read produced {} byte(s) {}"
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
8: StackMap locals: int
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.HttpInput$Content.isEmpty:()Z
ifeq 10
9: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
aload 4
invokeinterface org.eclipse.jetty.server.ContentProducer.reclaim:(Lorg/eclipse/jetty/server/HttpInput$Content;)V
10: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.HttpInput$Content.getError:()Ljava/lang/Throwable;
astore 5
start local 5 12: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 14
13: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "read error={} {}"
aload 5
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
ifnull 18
15: aload 5
instanceof java.io.IOException
ifeq 17
16: aload 5
checkcast java.io.IOException
athrow
17: StackMap locals:
StackMap stack:
new java.io.IOException
dup
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
18: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.eclipse.jetty.server.HttpInput$Content.isEof:()Z
ifeq 25
19: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 21
20: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "read at EOF, setting consumed EOF to true {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.server.HttpInput._consumedEof:Z
22: aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.onContentProducible:()Z
ifeq 24
23: aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.scheduleReadListenerNotification:()V
24: StackMap locals:
StackMap stack:
iconst_m1
ireturn
25: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "no data, no error and not EOF"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
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 26 0 this Lorg/eclipse/jetty/server/HttpInput;
0 26 1 b [B
0 26 2 off I
0 26 3 len I
2 26 4 content Lorg/eclipse/jetty/server/HttpInput$Content;
6 11 5 read I
12 26 5 error Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
private void scheduleReadListenerNotification();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual org.eclipse.jetty.server.HttpChannelState.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
astore 1
start local 1 1: aload 1
aload 1
invokevirtual org.eclipse.jetty.server.HttpChannel.execute:(Ljava/lang/Runnable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/HttpInput;
1 3 1 channel Lorg/eclipse/jetty/server/HttpChannel;
public boolean hasContent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.hasContent:()Z
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "hasContent={} {}"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
1 4 1 hasContent Z
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.available:()I
istore 1
start local 1 1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "available={} {}"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/HttpInput;
1 4 1 available I
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.isReady:()Z
ifne 4
1: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running but not ready {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokeinterface org.eclipse.jetty.server.ContentProducer.nextContent:()Lorg/eclipse/jetty/server/HttpInput$Content;
astore 1
start local 1 5: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 7
6: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running on content {} {}"
aload 1
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: StackMap locals: org.eclipse.jetty.server.HttpInput$Content
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
ifnonnull 12
8: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 10
9: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running without a read listener {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.HttpInput.onContentProducible:()Z
pop
11: return
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.server.HttpInput$Content.isSpecial:()Z
ifeq 30
13: aload 1
invokevirtual org.eclipse.jetty.server.HttpInput$Content.getError:()Ljava/lang/Throwable;
astore 2
start local 2 14: aload 2
ifnull 20
15: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 17
16: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running error={} {}"
aload 2
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
17: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual org.eclipse.jetty.server.HttpChannelState.getHttpChannel:()Lorg/eclipse/jetty/server/HttpChannel;
invokevirtual org.eclipse.jetty.server.HttpChannel.getResponse:()Lorg/eclipse/jetty/server/Response;
invokevirtual org.eclipse.jetty.server.Response.getHttpFields:()Lorg/eclipse/jetty/http/HttpFields$Mutable;
getstatic org.eclipse.jetty.server.HttpConnection.CONNECTION_CLOSE:Lorg/eclipse/jetty/http/HttpField;
invokevirtual org.eclipse.jetty.http.HttpFields$Mutable.add:(Lorg/eclipse/jetty/http/HttpField;)Lorg/eclipse/jetty/http/HttpFields$Mutable;
pop
18: aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
aload 2
invokeinterface jakarta.servlet.ReadListener.onError:(Ljava/lang/Throwable;)V
19: goto 38
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.eclipse.jetty.server.HttpInput$Content.isEof:()Z
ifeq 38
21: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 23
22: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running at EOF {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
invokeinterface jakarta.servlet.ReadListener.onAllDataRead:()V
24: goto 38
25: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 26: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 28
27: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running failed onAllDataRead {}"
aload 0
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
28: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
aload 3
invokeinterface jakarta.servlet.ReadListener.onError:(Ljava/lang/Throwable;)V
end local 3 end local 2 29: goto 38
30: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 32
31: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running has content {}"
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
32: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
invokeinterface jakarta.servlet.ReadListener.onDataAvailable:()V
33: goto 38
34: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 35: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 37
36: getstatic org.eclipse.jetty.server.HttpInput.LOG:Lorg/slf4j/Logger;
ldc "running failed onDataAvailable {}"
aload 0
aload 2
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
37: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.HttpInput._readListener:Ljakarta/servlet/ReadListener;
aload 2
invokeinterface jakarta.servlet.ReadListener.onError:(Ljava/lang/Throwable;)V
end local 2 38: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/eclipse/jetty/server/HttpInput;
5 39 1 content Lorg/eclipse/jetty/server/HttpInput$Content;
14 29 2 error Ljava/lang/Throwable;
26 29 3 x Ljava/lang/Throwable;
35 38 2 x Ljava/lang/Throwable;
Exception table:
from to target type
21 24 25 Class java.lang.Throwable
32 33 34 Class java.lang.Throwable
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()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 0
invokevirtual java.lang.Object.hashCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " cs="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.HttpInput._channelState:Lorg/eclipse/jetty/server/HttpChannelState;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc " cp="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.HttpInput._contentProducer:Lorg/eclipse/jetty/server/ContentProducer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc " eof="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.HttpInput._consumedEof:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/HttpInput;
}
SourceFile: "HttpInput.java"
NestMembers:
org.eclipse.jetty.server.HttpInput$ChainedInterceptor org.eclipse.jetty.server.HttpInput$Content org.eclipse.jetty.server.HttpInput$EofContent org.eclipse.jetty.server.HttpInput$ErrorContent org.eclipse.jetty.server.HttpInput$Interceptor org.eclipse.jetty.server.HttpInput$SpecialContent org.eclipse.jetty.server.HttpInput$WrappingContent
InnerClasses:
public Mutable = org.eclipse.jetty.http.HttpFields$Mutable of org.eclipse.jetty.http.HttpFields
private ChainedInterceptor = org.eclipse.jetty.server.HttpInput$ChainedInterceptor of org.eclipse.jetty.server.HttpInput
public Content = org.eclipse.jetty.server.HttpInput$Content of org.eclipse.jetty.server.HttpInput
public final EofContent = org.eclipse.jetty.server.HttpInput$EofContent of org.eclipse.jetty.server.HttpInput
public final ErrorContent = org.eclipse.jetty.server.HttpInput$ErrorContent of org.eclipse.jetty.server.HttpInput
public abstract Interceptor = org.eclipse.jetty.server.HttpInput$Interceptor of org.eclipse.jetty.server.HttpInput
public abstract SpecialContent = org.eclipse.jetty.server.HttpInput$SpecialContent of org.eclipse.jetty.server.HttpInput
public WrappingContent = org.eclipse.jetty.server.HttpInput$WrappingContent of org.eclipse.jetty.server.HttpInput