public class org.glassfish.grizzly.streams.StreamDecodeCondition<E> implements org.glassfish.grizzly.utils.conditions.Condition
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.streams.StreamDecodeCondition
super_class: java.lang.Object
{
private final org.glassfish.grizzly.streams.StreamReader streamReader;
descriptor: Lorg/glassfish/grizzly/streams/StreamReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.Transformer<org.glassfish.grizzly.streams.Stream, E> decoder;
descriptor: Lorg/glassfish/grizzly/Transformer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;
private final org.glassfish.grizzly.utils.ResultAware<E> resultAware;
descriptor: Lorg/glassfish/grizzly/utils/ResultAware;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/utils/ResultAware<TE;>;
public void <init>(org.glassfish.grizzly.streams.StreamReader, org.glassfish.grizzly.Transformer<org.glassfish.grizzly.streams.Stream, E>, org.glassfish.grizzly.utils.ResultAware<E>);
descriptor: (Lorg/glassfish/grizzly/streams/StreamReader;Lorg/glassfish/grizzly/Transformer;Lorg/glassfish/grizzly/utils/ResultAware;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.streams.StreamDecodeCondition.streamReader:Lorg/glassfish/grizzly/streams/StreamReader;
2: aload 0
aload 2
putfield org.glassfish.grizzly.streams.StreamDecodeCondition.decoder:Lorg/glassfish/grizzly/Transformer;
3: aload 0
aload 3
putfield org.glassfish.grizzly.streams.StreamDecodeCondition.resultAware:Lorg/glassfish/grizzly/utils/ResultAware;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/streams/StreamDecodeCondition<TE;>;
0 5 1 streamReader Lorg/glassfish/grizzly/streams/StreamReader;
0 5 2 decoder Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;
0 5 3 resultAware Lorg/glassfish/grizzly/utils/ResultAware<TE;>;
Signature: (Lorg/glassfish/grizzly/streams/StreamReader;Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;Lorg/glassfish/grizzly/utils/ResultAware<TE;>;)V
MethodParameters:
Name Flags
streamReader
decoder
resultAware
public boolean check();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.StreamDecodeCondition.decoder:Lorg/glassfish/grizzly/Transformer;
aload 0
getfield org.glassfish.grizzly.streams.StreamDecodeCondition.streamReader:Lorg/glassfish/grizzly/streams/StreamReader;
invokeinterface org.glassfish.grizzly.streams.StreamReader.getConnection:()Lorg/glassfish/grizzly/Connection;
aload 0
getfield org.glassfish.grizzly.streams.StreamDecodeCondition.streamReader:Lorg/glassfish/grizzly/streams/StreamReader;
invokeinterface org.glassfish.grizzly.Transformer.transform:(Lorg/glassfish/grizzly/attributes/AttributeStorage;Ljava/lang/Object;)Lorg/glassfish/grizzly/TransformationResult;
astore 1
start local 1 1: aload 1
invokevirtual org.glassfish.grizzly.TransformationResult.getStatus:()Lorg/glassfish/grizzly/TransformationResult$Status;
astore 2
start local 2 2: aload 2
getstatic org.glassfish.grizzly.TransformationResult$Status.COMPLETE:Lorg/glassfish/grizzly/TransformationResult$Status;
if_acmpne 5
3: aload 0
getfield org.glassfish.grizzly.streams.StreamDecodeCondition.resultAware:Lorg/glassfish/grizzly/utils/ResultAware;
aload 1
invokevirtual org.glassfish.grizzly.TransformationResult.getMessage:()Ljava/lang/Object;
invokeinterface org.glassfish.grizzly.utils.ResultAware.setResult:(Ljava/lang/Object;)V
4: iconst_1
ireturn
5: StackMap locals: org.glassfish.grizzly.TransformationResult org.glassfish.grizzly.TransformationResult$Status
StackMap stack:
aload 2
getstatic org.glassfish.grizzly.TransformationResult$Status.INCOMPLETE:Lorg/glassfish/grizzly/TransformationResult$Status;
if_acmpne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.TransformationException
dup
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.glassfish.grizzly.TransformationResult.getErrorCode:()I
invokestatic java.lang.String.valueOf:(I)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 1
invokevirtual org.glassfish.grizzly.TransformationResult.getErrorDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.glassfish.grizzly.TransformationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/streams/StreamDecodeCondition<TE;>;
1 8 1 result Lorg/glassfish/grizzly/TransformationResult<Lorg/glassfish/grizzly/streams/Stream;TE;>;
2 8 2 status Lorg/glassfish/grizzly/TransformationResult$Status;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Lorg/glassfish/grizzly/utils/conditions/Condition;
SourceFile: "StreamDecodeCondition.java"
InnerClasses:
public final Status = org.glassfish.grizzly.TransformationResult$Status of org.glassfish.grizzly.TransformationResult