class org.eclipse.jetty.server.BlockingContentProducer implements org.eclipse.jetty.server.ContentProducer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.BlockingContentProducer
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.Semaphore _semaphore;
descriptor: Ljava/util/concurrent/Semaphore;
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/BlockingContentProducer;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.eclipse.jetty.server.AsyncContentProducer);
descriptor: (Lorg/eclipse/jetty/server/AsyncContentProducer;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.Semaphore
dup
iconst_0
invokespecial java.util.concurrent.Semaphore.<init>:(I)V
putfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
2: aload 0
aload 1
putfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
0 4 1 delegate Lorg/eclipse/jetty/server/AsyncContentProducer;
MethodParameters:
Name Flags
delegate
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.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "recycling {}"
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.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.recycle:()V
3: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.drainPermits:()I
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.available:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public boolean hasContent();
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.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.hasContent:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public boolean isError();
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.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.isError:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public void checkMinDataRate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.checkMinDataRate:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public long getRawContentArrived();
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.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.getRawContentArrived:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
public boolean consumeAll(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
aload 1
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.consumeAll:(Ljava/lang/Throwable;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
0 1 1 x Ljava/lang/Throwable;
MethodParameters:
Name Flags
x
public org.eclipse.jetty.server.HttpInput$Content nextContent();
descriptor: ()Lorg/eclipse/jetty/server/HttpInput$Content;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.nextContent:()Lorg/eclipse/jetty/server/HttpInput$Content;
astore 1
start local 1 1: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "nextContent async producer returned {}"
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
3: StackMap locals: org.eclipse.jetty.server.HttpInput$Content
StackMap stack:
aload 1
ifnull 5
4: aload 1
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.isReady:()Z
ifeq 9
6: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 0
7: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "nextContent async producer is ready, retrying"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
8: goto 0
9: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 11
10: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "nextContent async producer is not ready, waiting on semaphore {}"
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.acquire:()V
12: goto 0
13: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 2
start local 2 14: new org.eclipse.jetty.server.HttpInput$ErrorContent
dup
aload 2
invokespecial org.eclipse.jetty.server.HttpInput$ErrorContent.<init>:(Ljava/lang/Throwable;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
1 15 1 content Lorg/eclipse/jetty/server/HttpInput$Content;
14 15 2 e Ljava/lang/InterruptedException;
Exception table:
from to target type
11 12 13 Class java.lang.InterruptedException
public void reclaim(org.eclipse.jetty.server.HttpInput$Content);
descriptor: (Lorg/eclipse/jetty/server/HttpInput$Content;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
aload 1
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.reclaim:(Lorg/eclipse/jetty/server/HttpInput$Content;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
0 2 1 content Lorg/eclipse/jetty/server/HttpInput$Content;
MethodParameters:
Name Flags
content
public boolean isReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.server.BlockingContentProducer.available:()I
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 5
4: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "isReady = {}"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
3 6 1 ready Z
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.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.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/BlockingContentProducer;
public void setInterceptor(org.eclipse.jetty.server.HttpInput$Interceptor);
descriptor: (Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._asyncContentProducer:Lorg/eclipse/jetty/server/AsyncContentProducer;
aload 1
invokevirtual org.eclipse.jetty.server.AsyncContentProducer.setInterceptor:(Lorg/eclipse/jetty/server/HttpInput$Interceptor;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
0 2 1 interceptor Lorg/eclipse/jetty/server/HttpInput$Interceptor;
MethodParameters:
Name Flags
interceptor
public boolean onContentProducible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.BlockingContentProducer.LOG:Lorg/slf4j/Logger;
ldc "onContentProducible releasing semaphore {}"
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.BlockingContentProducer._semaphore:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.release:()V
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/BlockingContentProducer;
}
SourceFile: "BlockingContentProducer.java"
InnerClasses:
public Content = org.eclipse.jetty.server.HttpInput$Content 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