final class org.glassfish.grizzly.http.util.IntermediateInputStream extends java.io.InputStream
{
org.glassfish.grizzly.http.util.ByteChunk bc;
boolean initialized;
public void <init>()
{
org.glassfish.grizzly.http.util.IntermediateInputStream v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
specialinvoke v.<java.io.InputStream: void <init>()>();
v.<org.glassfish.grizzly.http.util.IntermediateInputStream: org.glassfish.grizzly.http.util.ByteChunk bc> = null;
v.<org.glassfish.grizzly.http.util.IntermediateInputStream: boolean initialized> = 0;
return;
}
public void close() throws java.io.IOException
{
java.io.IOException v;
org.glassfish.grizzly.http.util.IntermediateInputStream v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("close() called - shouldn\'t happen ");
throw v;
}
public int read(byte[], int, int) throws java.io.IOException
{
byte[] v;
org.glassfish.grizzly.http.util.ByteChunk v;
org.glassfish.grizzly.http.util.IntermediateInputStream v;
int v, v, v, v;
boolean v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: boolean initialized>;
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: org.glassfish.grizzly.http.util.ByteChunk bc>;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.ByteChunk: int substract(byte[],int,int)>(v, v, v);
return v;
}
public int read() throws java.io.IOException
{
org.glassfish.grizzly.http.util.ByteChunk v;
int v, v;
boolean v;
org.glassfish.grizzly.http.util.IntermediateInputStream v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: boolean initialized>;
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: org.glassfish.grizzly.http.util.ByteChunk bc>;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.ByteChunk: int substract()>();
return v;
}
public int available() throws java.io.IOException
{
org.glassfish.grizzly.http.util.ByteChunk v;
int v;
boolean v;
org.glassfish.grizzly.http.util.IntermediateInputStream v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: boolean initialized>;
if v != 0 goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.IntermediateInputStream: org.glassfish.grizzly.http.util.ByteChunk bc>;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.ByteChunk: int getLength()>();
return v;
}
void setByteChunk(org.glassfish.grizzly.http.util.ByteChunk)
{
org.glassfish.grizzly.http.util.ByteChunk v;
boolean v;
org.glassfish.grizzly.http.util.IntermediateInputStream v;
v := @this: org.glassfish.grizzly.http.util.IntermediateInputStream;
v := @parameter: org.glassfish.grizzly.http.util.ByteChunk;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v.<org.glassfish.grizzly.http.util.IntermediateInputStream: boolean initialized> = v;
v.<org.glassfish.grizzly.http.util.IntermediateInputStream: org.glassfish.grizzly.http.util.ByteChunk bc> = v;
return;
}
}