public class org.glassfish.grizzly.http.io.InputBuffer extends java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
private static final java.util.logging.Level LOGGER_LEVEL;
private org.glassfish.grizzly.http.HttpHeader httpHeader;
private org.glassfish.grizzly.filterchain.FilterChainContext ctx;
private boolean processingChars;
private boolean closed;
private org.glassfish.grizzly.Buffer inputContentBuffer;
private org.glassfish.grizzly.Connection connection;
private int markPos;
private int readAheadLimit;
private int readCount;
private java.lang.String encoding;
private java.nio.charset.CharsetDecoder decoder;
private final java.util.Map decoders;
private boolean contentRead;
private org.glassfish.grizzly.ReadHandler handler;
private int requestedSize;
private final java.nio.CharBuffer singleCharBuf;
private float averageCharsPerByte;
private boolean isWaitingDataAsynchronously;
protected java.util.Map trailers;
public void <init>()
{
java.nio.CharBuffer v, v;
int v, v;
java.util.HashMap v;
java.lang.String v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
specialinvoke v.<java.lang.Object: void <init>()>();
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
v = <org.glassfish.grizzly.http.util.Constants: java.lang.String DEFAULT_HTTP_CHARACTER_ENCODING>;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding> = v;
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map decoders> = v;
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer allocate(int)>(1);
v = virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer position(int)>(1);
v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: float averageCharsPerByte> = 1.0F;
return;
}
public void initialize(org.glassfish.grizzly.http.HttpHeader, org.glassfish.grizzly.filterchain.FilterChainContext)
{
java.lang.Object[] v;
org.glassfish.grizzly.Buffer v, v;
java.lang.IllegalArgumentException v;
java.util.logging.Logger v;
java.util.logging.Level v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.glassfish.grizzly.Connection v;
java.lang.Object v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v;
org.glassfish.grizzly.http.HttpHeader v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.http.HttpHeader;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("ctx cannot be null.");
throw v;
label:
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.filterchain.FilterChainContext ctx> = v;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Connection connection> = v;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: java.lang.Object getMessage()>();
v = v instanceof org.glassfish.grizzly.http.HttpContent;
if v == 0 goto label;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void checkHttpTrailer(org.glassfish.grizzly.http.HttpContent)>(v);
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: org.glassfish.grizzly.Buffer getContent()>();
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void updateInputContentBuffer(org.glassfish.grizzly.Buffer)>(v);
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: boolean isLast()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead> = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead>;
if v == 0 goto label;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void processTrailers()>();
label:
virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: void recycle()>();
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s initialize with ready content: %s", v);
label:
return;
}
public void setDefaultEncoding(java.lang.String)
{
java.lang.String v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: java.lang.String;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding> = v;
return;
}
public void recycle()
{
java.nio.CharBuffer v, v;
org.glassfish.grizzly.Buffer v;
int v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean tryDispose()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = null;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: int limit()>();
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer position(int)>(v);
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Connection connection> = null;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder> = null;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.filterchain.FilterChainContext ctx> = null;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = null;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers> = null;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars> = 0;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed> = 0;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead> = 0;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int requestedSize> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
v.<org.glassfish.grizzly.http.io.InputBuffer: float averageCharsPerByte> = 1.0F;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isWaitingDataAsynchronously> = 0;
v = <org.glassfish.grizzly.http.util.Constants: java.lang.String DEFAULT_HTTP_CHARACTER_ENCODING>;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding> = v;
return;
}
public void processingChars()
{
float v;
java.lang.String v;
java.nio.charset.CharsetDecoder v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
org.glassfish.grizzly.http.HttpHeader v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars> = 1;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: java.lang.String getCharacterEncoding()>();
if v == null goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding> = v;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder getDecoder()>();
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: float averageCharsPerByte()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: float averageCharsPerByte> = v;
label:
return;
}
public int readByte() throws java.io.IOException
{
java.lang.Object[] v;
java.util.logging.Level v;
short v;
byte v;
int v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v;
org.glassfish.grizzly.Buffer v, v, v;
java.io.IOException v;
java.util.logging.Logger v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s readByte. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(1);
v = (int) -1;
if v != v goto label;
v = (int) -1;
return v;
label:
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean checkMarkAfterRead(long)>(1L);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get()>();
v = v & 255;
return v;
}
public int read(byte[], int, int) throws java.io.IOException
{
byte[] v;
java.lang.Object[] v;
java.lang.Integer v;
java.util.logging.Level v;
int v, v, v, v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v;
org.glassfish.grizzly.Buffer v, v, v, v, v;
java.io.IOException v;
java.util.logging.Logger v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[3];
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[2] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s read byte array of len: %s. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
if v != 0 goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(1);
v = (int) -1;
if v != v goto label;
v = (int) -1;
return v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = staticinvoke <java.lang.Math: int min(int,int)>(v, v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer get(byte[],int,int)>(v, v, v);
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean checkMarkAfterRead(long)>(v);
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void shrink()>();
label:
return v;
}
public int readyData()
{
int v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v == 0 goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int availableChar()>();
goto label;
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int available()>();
label:
return v;
}
public int available()
{
int v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = 0;
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
label:
return v;
}
public org.glassfish.grizzly.Buffer getBuffer()
{
java.lang.Object[] v;
org.glassfish.grizzly.Buffer v, v, v;
java.util.logging.Logger v;
java.util.logging.Level v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s getBuffer. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer duplicate()>();
return v;
}
public org.glassfish.grizzly.Buffer readBuffer()
{
java.lang.Object[] v;
org.glassfish.grizzly.Buffer v, v, v;
java.util.logging.Logger v;
java.util.logging.Level v;
int v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s readBuffer. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer readBuffer(int)>(v);
return v;
}
public org.glassfish.grizzly.Buffer readBuffer(int)
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
java.lang.Integer v;
java.util.logging.Level v;
int v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
org.glassfish.grizzly.Buffer v, v, v, v, v, v, v;
java.util.logging.Logger v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[3];
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[2] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s readBuffer(size), size: %s. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
if v <= v goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Can not read more bytes than available");
throw v;
label:
if v != v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = <org.glassfish.grizzly.memory.Buffers: org.glassfish.grizzly.Buffer EMPTY_BUFFER>;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer split(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
label:
return v;
}
public org.glassfish.grizzly.ReadHandler getReadHandler()
{
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.ReadHandler v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
return v;
}
public int read(java.nio.CharBuffer) throws java.io.IOException
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
java.nio.CharBuffer v;
org.glassfish.grizzly.Buffer v;
java.io.IOException v;
java.lang.IllegalArgumentException v;
java.util.logging.Logger v;
java.util.logging.Level v;
int v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: java.nio.CharBuffer;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s read(CharBuffer). Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("target cannot be null.");
throw v;
label:
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fillChars(int,java.nio.CharBuffer)>(1, v);
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean checkMarkAfterRead(long)>(v);
return v;
}
public int readChar() throws java.io.IOException
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
java.util.logging.Level v;
int v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v;
java.nio.CharBuffer v, v, v, v;
org.glassfish.grizzly.Buffer v;
char v;
java.io.IOException v;
java.util.logging.Logger v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s readChar. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: boolean hasRemaining()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer clear()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int read(java.nio.CharBuffer)>(v);
v = (int) -1;
if v != v goto label;
v = (int) -1;
return v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: char get()>();
return v;
}
public int read(char[], int, int) throws java.io.IOException
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
java.lang.Integer v;
java.util.logging.Level v;
int v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v;
java.nio.CharBuffer v;
org.glassfish.grizzly.Buffer v;
java.io.IOException v;
java.util.logging.Logger v;
char[] v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: char[];
v := @parameter: int;
v := @parameter: int;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[3];
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[2] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s read char array, len: %s. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
if v != 0 goto label;
return 0;
label:
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer wrap(char[],int,int)>(v, v, v);
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int read(java.nio.CharBuffer)>(v);
return v;
}
public boolean ready()
{
java.lang.IllegalStateException v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v, v;
org.glassfish.grizzly.http.HttpHeader v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: boolean isExpectContent()>();
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void fillFully(int) throws java.io.IOException
{
java.lang.Object[] v;
org.glassfish.grizzly.Buffer v, v;
java.util.logging.Logger v;
java.lang.Integer v;
java.util.logging.Level v;
int v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[3];
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[2] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s fillFully, len: %s. Ready content: %s", v);
label:
if v != 0 goto label;
return;
label:
if v <= 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = v - v;
if v <= 0 goto label;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(v);
goto label;
label:
v = (int) -1;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(v);
label:
return;
}
public int availableChar()
{
java.nio.CharBuffer v, v, v, v, v, v;
org.glassfish.grizzly.Buffer v;
int v, v, v, v;
float v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: boolean hasRemaining()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer clear()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fillAvailableChars(int,java.nio.CharBuffer)>(1, v);
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: int limit()>();
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer position(int)>(v);
return 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: float averageCharsPerByte>;
v = v * v;
v = 1 + v;
return v;
}
public void mark(int)
{
int v, v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
if v <= 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit> = v;
label:
return;
}
public boolean markSupported()
{
java.lang.IllegalStateException v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v == 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>()>();
throw v;
label:
return 1;
}
public void reset() throws java.io.IOException
{
org.glassfish.grizzly.Buffer v;
java.io.IOException v, v;
int v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Already closed");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
v = (int) -1;
if v != v goto label;
v = new java.io.IOException;
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>("Mark not set");
throw v;
label:
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer position(int)>(v);
return;
}
public void close() throws java.io.IOException
{
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed> = 1;
return;
}
public long skip(long, boolean) throws java.io.IOException
{
long v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: long;
v := @parameter: boolean;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: long skip(long)>(v);
return v;
}
public long skip(long) throws java.io.IOException
{
byte v, v, v, v;
java.lang.Long v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v;
java.nio.CharBuffer v;
org.glassfish.grizzly.Buffer v, v, v, v, v, v, v;
java.util.logging.Logger v;
java.lang.Object[] v;
long v, v, v;
java.util.logging.Level v;
int v, v, v, v, v, v, v, v, v;
java.lang.IllegalArgumentException v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: long;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[3];
v[0] = v;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
v[1] = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v[2] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s skip %s bytes. Ready content: %s", v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean processingChars>;
if v != 0 goto label;
v = v cmp 0L;
if v > 0 goto label;
return 0L;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(v);
v = (int) -1;
if v != v goto label;
return -1L;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = v cmp v;
if v >= 0 goto label;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fill(int)>(v);
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v + v;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer position(int)>(v);
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean checkMarkAfterRead(long)>(v);
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void shrink()>();
label:
return v;
label:
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>()>();
throw v;
label:
v = v cmp 0L;
if v != 0 goto label;
return 0L;
label:
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer allocate(int)>(v);
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fillChars(int,java.nio.CharBuffer)>(v, v);
v = (int) -1;
if v != v goto label;
return 0L;
label:
v = virtualinvoke v.<java.nio.CharBuffer: int remaining()>();
v = staticinvoke <java.lang.Math: long min(long,long)>(v, v);
return v;
}
public java.util.Map getTrailers()
{
org.glassfish.grizzly.http.io.InputBuffer v;
java.util.Map v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers>;
return v;
}
public boolean areTrailersAvailable()
{
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
java.util.Map v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers>;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
protected void finished()
{
java.util.concurrent.Executor v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead>;
if v != 0 goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead> = 1;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void processTrailers()>();
if v == null goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = null;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.concurrent.Executor getThreadPool()>();
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void invokeHandlerAllRead(org.glassfish.grizzly.ReadHandler,java.util.concurrent.Executor)>(v, v);
label:
return;
}
private void finishedInTheCurrentThread(org.glassfish.grizzly.ReadHandler)
{
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.ReadHandler v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead>;
if v != 0 goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead> = 1;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void processTrailers()>();
if v == null goto label;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void invokeHandlerAllRead(org.glassfish.grizzly.ReadHandler,java.util.concurrent.Executor)>(v, null);
label:
return;
}
private void invokeHandlerAllRead(org.glassfish.grizzly.ReadHandler, java.util.concurrent.Executor)
{
java.lang.Throwable v;
java.util.concurrent.Executor v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.http.io.InputBuffer$1 v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v := @parameter: java.util.concurrent.Executor;
if v == null goto label;
v = new org.glassfish.grizzly.http.io.InputBuffer$1;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer$1: void <init>(org.glassfish.grizzly.http.io.InputBuffer,org.glassfish.grizzly.ReadHandler)>(v, v);
interfaceinvoke v.<java.util.concurrent.Executor: void execute(java.lang.Runnable)>(v);
goto label;
label:
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onAllDataRead()>();
label:
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
catch java.lang.Throwable from label to label with label;
}
private void processTrailers()
{
java.util.Iterator v;
org.glassfish.grizzly.http.util.MimeHeaders v;
java.util.HashMap v;
java.lang.Iterable v;
java.util.Map v, v, v;
int v;
java.lang.Object v;
java.lang.String v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
org.glassfish.grizzly.http.HttpHeader v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers>;
if v != null goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: org.glassfish.grizzly.http.util.MimeHeaders getHeaders()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: int trailerSize()>();
if v <= 0 goto label;
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>(int)>(v);
v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers> = v;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: java.lang.Iterable trailerNames()>();
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers>;
v = virtualinvoke v.<java.lang.String: java.lang.String toLowerCase()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: java.lang.String getHeader(java.lang.String)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = staticinvoke <java.util.Collections: java.util.Map emptyMap()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map trailers> = v;
label:
return;
}
public void replayPayload(org.glassfish.grizzly.Buffer)
{
java.lang.IllegalStateException v;
java.lang.Object[] v;
org.glassfish.grizzly.Buffer v;
java.util.logging.Logger v;
java.util.logging.Level v;
int v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.Buffer;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isFinished()>();
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Can\'t replay when InputBuffer is not closed");
throw v;
label:
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = newarray (java.lang.Object)[2];
v[0] = v;
v[1] = v;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void log(java.lang.String,java.lang.Object[])>("InputBuffer %s replayPayload to %s", v);
label:
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed> = 0;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
return;
}
public boolean isFinished()
{
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean contentRead>;
return v;
}
public boolean isClosed()
{
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
return v;
}
public void notifyAvailable(org.glassfish.grizzly.ReadHandler)
{
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.ReadHandler v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void notifyAvailable(org.glassfish.grizzly.ReadHandler,int)>(v, 1);
return;
}
public void notifyAvailable(org.glassfish.grizzly.ReadHandler, int)
{
java.lang.Throwable v, v;
java.lang.IllegalStateException v;
org.glassfish.grizzly.ReadHandler v, v;
java.lang.IllegalArgumentException v, v;
int v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v := @parameter: int;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("handler cannot be null.");
throw v;
label:
if v > 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("size should be positive integer");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
if v == null goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("Illegal attempt to register a new handler before the existing handler has been notified");
throw v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v != 0 goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isFinished()>();
if v == 0 goto label;
label:
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onAllDataRead()>();
label:
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int readyData()>();
v = staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: boolean shouldNotifyNow(int,int)>(v, v);
if v == 0 goto label;
label:
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onDataAvailable()>();
label:
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
label:
v.<org.glassfish.grizzly.http.io.InputBuffer: int requestedSize> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isWaitingDataAsynchronously>;
if v != 0 goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isWaitingDataAsynchronously> = 1;
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void initiateAsyncronousDataReceiving()>();
label:
return;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public boolean append(org.glassfish.grizzly.http.HttpContent) throws java.io.IOException
{
java.lang.Throwable v;
org.glassfish.grizzly.ReadHandler v, v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.HttpContent v;
int v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v, v, v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.http.HttpContent;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isWaitingDataAsynchronously> = 0;
v = staticinvoke <org.glassfish.grizzly.http.HttpContent: boolean isBroken(org.glassfish.grizzly.http.HttpContent)>(v);
if v != 0 goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: org.glassfish.grizzly.Buffer getContent()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v == 0 goto label;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void dispose()>();
return 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: boolean isLast()>();
if v != 0 goto label;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v;
v = 0;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v == 0 goto label;
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void updateInputContentBuffer(org.glassfish.grizzly.Buffer)>(v);
if v == null goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int readyData()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int requestedSize>;
if v < v goto label;
v = 1;
v = 0;
label:
if v == 0 goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: boolean isWaitingDataAsynchronously> = 1;
return 1;
label:
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = null;
if v == 0 goto label;
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void checkHttpTrailer(org.glassfish.grizzly.http.HttpContent)>(v);
label:
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void invokeHandlerOnProperThread(org.glassfish.grizzly.ReadHandler,boolean,boolean)>(v, v, v);
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = null;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpBrokenContent: java.lang.Throwable getException()>();
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void invokeErrorHandlerOnProperThread(org.glassfish.grizzly.ReadHandler,java.lang.Throwable)>(v, v);
label:
return 0;
}
public boolean isAsyncEnabled()
{
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
return 1;
}
public void setAsyncEnabled(boolean)
{
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: boolean;
return;
}
public void terminate()
{
java.util.concurrent.CancellationException v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.Connection v;
org.glassfish.grizzly.http.io.InputBuffer v;
java.io.EOFException v;
java.lang.Exception v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler>;
if v == null goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.ReadHandler handler> = null;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Connection connection>;
v = interfaceinvoke v.<org.glassfish.grizzly.Connection: boolean isOpen()>();
if v == 0 goto label;
v = new java.util.concurrent.CancellationException;
v = v;
specialinvoke v.<java.util.concurrent.CancellationException: void <init>()>();
goto label;
label:
v = new java.io.EOFException;
v = v;
specialinvoke v.<java.io.EOFException: void <init>()>();
label:
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
}
public void initiateAsyncronousDataReceiving()
{
org.glassfish.grizzly.filterchain.FilterChainContext v, v;
org.glassfish.grizzly.filterchain.NextAction v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.filterchain.FilterChainContext ctx>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.filterchain.FilterChainContext ctx>;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.filterchain.NextAction getStopAction()>();
virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: void fork(org.glassfish.grizzly.filterchain.NextAction)>(v);
return;
}
protected java.util.concurrent.Executor getThreadPool()
{
org.glassfish.grizzly.Transport v;
org.glassfish.grizzly.Connection v;
org.glassfish.grizzly.http.io.InputBuffer v;
java.util.concurrent.ExecutorService v, v;
boolean v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = staticinvoke <org.glassfish.grizzly.threadpool.Threads: boolean isService()>();
if v != 0 goto label;
return null;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Connection connection>;
v = interfaceinvoke v.<org.glassfish.grizzly.Connection: org.glassfish.grizzly.Transport getTransport()>();
v = interfaceinvoke v.<org.glassfish.grizzly.Transport: java.util.concurrent.ExecutorService getWorkerThreadPool()>();
if v == null goto label;
v = interfaceinvoke v.<java.util.concurrent.ExecutorService: boolean isShutdown()>();
if v != 0 goto label;
v = v;
goto label;
label:
v = null;
label:
return v;
}
private void invokeErrorHandlerOnProperThread(org.glassfish.grizzly.ReadHandler, java.lang.Throwable)
{
java.lang.Throwable v;
java.util.concurrent.Executor v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.http.io.InputBuffer$2 v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v := @parameter: java.lang.Throwable;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: boolean closed>;
if v != 0 goto label;
if v == null goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.concurrent.Executor getThreadPool()>();
if v == null goto label;
v = new org.glassfish.grizzly.http.io.InputBuffer$2;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer$2: void <init>(org.glassfish.grizzly.http.io.InputBuffer,org.glassfish.grizzly.ReadHandler,java.lang.Throwable)>(v, v, v);
interfaceinvoke v.<java.util.concurrent.Executor: void execute(java.lang.Runnable)>(v);
goto label;
label:
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
}
private void invokeHandlerOnProperThread(org.glassfish.grizzly.ReadHandler, boolean, boolean) throws java.io.IOException
{
org.glassfish.grizzly.http.io.InputBuffer$3 v;
java.util.concurrent.Executor v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v := @parameter: boolean;
v := @parameter: boolean;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.concurrent.Executor getThreadPool()>();
if v == null goto label;
v = new org.glassfish.grizzly.http.io.InputBuffer$3;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer$3: void <init>(org.glassfish.grizzly.http.io.InputBuffer,org.glassfish.grizzly.ReadHandler,boolean,boolean)>(v, v, v, v);
interfaceinvoke v.<java.util.concurrent.Executor: void execute(java.lang.Runnable)>(v);
goto label;
label:
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void invokeHandler(org.glassfish.grizzly.ReadHandler,boolean,boolean)>(v, v, v);
label:
return;
}
private void invokeHandler(org.glassfish.grizzly.ReadHandler, boolean, boolean)
{
java.lang.Throwable v;
org.glassfish.grizzly.ReadHandler v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.ReadHandler;
v := @parameter: boolean;
v := @parameter: boolean;
label:
if v == 0 goto label;
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onDataAvailable()>();
label:
if v == 0 goto label;
specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void finishedInTheCurrentThread(org.glassfish.grizzly.ReadHandler)>(v);
label:
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.glassfish.grizzly.ReadHandler: void onError(java.lang.Throwable)>(v);
label:
return;
catch java.lang.Throwable from label to label with label;
}
protected org.glassfish.grizzly.http.HttpContent blockingRead() throws java.io.IOException
{
org.glassfish.grizzly.filterchain.FilterChainContext v;
java.lang.Object v;
org.glassfish.grizzly.ReadResult v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.filterchain.FilterChainContext ctx>;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.ReadResult read()>();
v = virtualinvoke v.<org.glassfish.grizzly.ReadResult: java.lang.Object getMessage()>();
virtualinvoke v.<org.glassfish.grizzly.ReadResult: void recycle()>();
return v;
}
private int fill(int) throws java.io.IOException
{
java.lang.Throwable v, v;
org.glassfish.grizzly.Buffer v;
java.io.IOException v;
org.glassfish.grizzly.http.HttpContent v;
int v, v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
org.glassfish.grizzly.http.HttpBrokenContentException v;
boolean v, v;
org.glassfish.grizzly.http.HttpHeader v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
v = 0;
label:
v = (int) -1;
if v == v goto label;
if v >= v goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: boolean isExpectContent()>();
if v == 0 goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpContent blockingRead()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: boolean isLast()>();
staticinvoke <org.glassfish.grizzly.http.io.InputBuffer: void checkHttpTrailer(org.glassfish.grizzly.http.HttpContent)>(v);
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: org.glassfish.grizzly.Buffer getContent()>();
label:
goto label;
label:
v := @caughtexception;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpBrokenContentException: java.lang.Throwable getCause()>();
if v == null goto label;
v = v;
goto label;
label:
v = v;
label:
v = staticinvoke <org.glassfish.grizzly.utils.Exceptions: java.io.IOException makeIOException(java.lang.Throwable)>(v);
throw v;
label:
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = v + v;
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void updateInputContentBuffer(org.glassfish.grizzly.Buffer)>(v);
virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: void recycle()>();
if v == 0 goto label;
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void finished()>();
label:
if v > 0 goto label;
if v != 0 goto label;
label:
return v;
label:
v = (int) -1;
return v;
catch org.glassfish.grizzly.http.HttpBrokenContentException from label to label with label;
}
private int fillChars(int, java.nio.CharBuffer) throws java.io.IOException
{
java.nio.ByteBuffer v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v, v, v, v, v, v, v;
java.nio.CharBuffer v, v, v, v;
org.glassfish.grizzly.Buffer v, v, v, v, v, v, v;
java.nio.charset.CharsetDecoder v;
org.glassfish.grizzly.http.HttpHeader v, v;
java.nio.charset.CoderResult v, v;
org.glassfish.grizzly.http.HttpContent v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
char v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
v := @parameter: java.nio.CharBuffer;
v = 0;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
if v == v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: boolean hasRemaining()>();
if v == 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.CharBuffer singleCharBuf>;
v = virtualinvoke v.<java.nio.CharBuffer: char get()>();
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer put(char)>(v);
v = 1;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v == 0 goto label;
v = v - v;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: int fillAvailableChars(int,java.nio.CharBuffer)>(v, v);
v = v + v;
label:
if v < v goto label;
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
return v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: boolean isExpectContent()>();
if v != 0 goto label;
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
if v <= 0 goto label;
v = v;
goto label;
label:
v = (int) -1;
v = v;
label:
return v;
label:
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder getDecoder()>();
v = 0;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpHeader httpHeader>;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: boolean isExpectContent()>();
if v == 0 goto label;
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.http.HttpContent blockingRead()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: org.glassfish.grizzly.Buffer getContent()>();
virtualinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: void updateInputContentBuffer(org.glassfish.grizzly.Buffer)>(v);
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: boolean isLast()>();
virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: void recycle()>();
v = 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: java.nio.ByteBuffer toByteBuffer()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = virtualinvoke v.<java.nio.CharBuffer: int position()>();
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CoderResult decode(java.nio.ByteBuffer,java.nio.CharBuffer,boolean)>(v, v, 0);
v = virtualinvoke v.<java.nio.CharBuffer: int position()>();
v = v - v;
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = v - v;
v = v + v;
if v <= 0 goto label;
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer position(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v + v;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer position(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
v = (int) -1;
if v != v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void shrink()>();
goto label;
label:
v = 1;
label:
if v != 0 goto label;
v = <java.nio.charset.CoderResult: java.nio.charset.CoderResult OVERFLOW>;
if v != v goto label;
label:
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
if v == 0 goto label;
if v != 0 goto label;
v = (int) -1;
v = v;
label:
return v;
}
private int fillAvailableChars(int, java.nio.CharBuffer)
{
java.nio.ByteBuffer v;
java.nio.charset.CoderResult v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
java.nio.CharBuffer v;
org.glassfish.grizzly.Buffer v, v, v, v;
java.nio.charset.CharsetDecoder v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: int;
v := @parameter: java.nio.CharBuffer;
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder getDecoder()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: java.nio.ByteBuffer toByteBuffer()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = 0;
v = 0;
v = v;
label:
v = virtualinvoke v.<java.nio.CharBuffer: int position()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CoderResult decode(java.nio.ByteBuffer,java.nio.CharBuffer,boolean)>(v, v, 0);
v = virtualinvoke v.<java.nio.CharBuffer: int position()>();
v = v - v;
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = v - v;
v = v + v;
v = v + v;
v = v - v;
if v <= 0 goto label;
if v > 0 goto label;
if v <= 0 goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: boolean hasRemaining()>();
if v == 0 goto label;
v = <java.nio.charset.CoderResult: java.nio.charset.CoderResult UNDERFLOW>;
if v == v goto label;
label:
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer position(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v + v;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer position(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
v = (int) -1;
if v != v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void shrink()>();
label:
return v;
}
protected void updateInputContentBuffer(org.glassfish.grizzly.Buffer)
{
org.glassfish.grizzly.Buffer v, v, v, v;
org.glassfish.grizzly.memory.CompositeBuffer v;
int v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: org.glassfish.grizzly.Buffer;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: void allowBufferDispose(boolean)>(1);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
if v != null goto label;
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean hasRemaining()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
if v <= 0 goto label;
label:
v = specialinvoke v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.memory.CompositeBuffer toCompositeInputContentBuffer()>();
virtualinvoke v.<org.glassfish.grizzly.memory.CompositeBuffer: org.glassfish.grizzly.memory.CompositeBuffer append(org.glassfish.grizzly.Buffer)>(v);
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean tryDispose()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
label:
return;
}
private static boolean shouldNotifyNow(int, int)
{
int v, v;
boolean v;
v := @parameter: int;
v := @parameter: int;
if v == 0 goto label;
if v < v goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
private java.nio.charset.CharsetDecoder getDecoder()
{
java.nio.charset.Charset v;
java.nio.charset.CodingErrorAction v, v;
java.util.Map v, v;
java.lang.String v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
java.nio.charset.CharsetDecoder v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
if v != null goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map decoders>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding>;
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder> = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
if v != null goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding>;
v = staticinvoke <org.glassfish.grizzly.utils.Charsets: java.nio.charset.Charset lookupCharset(java.lang.String)>(v);
v = virtualinvoke v.<java.nio.charset.Charset: java.nio.charset.CharsetDecoder newDecoder()>();
v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder> = v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
v = <java.nio.charset.CodingErrorAction: java.nio.charset.CodingErrorAction REPLACE>;
virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CharsetDecoder onMalformedInput(java.nio.charset.CodingErrorAction)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
v = <java.nio.charset.CodingErrorAction: java.nio.charset.CodingErrorAction REPLACE>;
virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CharsetDecoder onUnmappableCharacter(java.nio.charset.CodingErrorAction)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.util.Map decoders>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.lang.String encoding>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
goto label;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
virtualinvoke v.<java.nio.charset.CharsetDecoder: java.nio.charset.CharsetDecoder reset()>();
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: java.nio.charset.CharsetDecoder decoder>;
return v;
}
private org.glassfish.grizzly.memory.CompositeBuffer toCompositeInputContentBuffer()
{
org.glassfish.grizzly.memory.MemoryManager v;
org.glassfish.grizzly.Buffer v, v, v, v, v;
org.glassfish.grizzly.memory.CompositeBuffer v;
int v, v, v, v, v;
org.glassfish.grizzly.Connection v;
org.glassfish.grizzly.http.io.InputBuffer v;
boolean v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: boolean isComposite()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Connection connection>;
v = interfaceinvoke v.<org.glassfish.grizzly.Connection: org.glassfish.grizzly.memory.MemoryManager getMemoryManager()>();
v = staticinvoke <org.glassfish.grizzly.memory.CompositeBuffer: org.glassfish.grizzly.memory.CompositeBuffer newBuffer(org.glassfish.grizzly.memory.MemoryManager)>(v);
virtualinvoke v.<org.glassfish.grizzly.memory.CompositeBuffer: void allowBufferDispose(boolean)>(1);
virtualinvoke v.<org.glassfish.grizzly.memory.CompositeBuffer: void allowInternalBuffersDispose(boolean)>(1);
v = 0;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
if v <= 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount>;
v = v - v;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer position(int)>(v);
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount>;
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = 0;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
virtualinvoke v.<org.glassfish.grizzly.memory.CompositeBuffer: org.glassfish.grizzly.memory.CompositeBuffer append(org.glassfish.grizzly.Buffer)>(v);
virtualinvoke v.<org.glassfish.grizzly.memory.CompositeBuffer: org.glassfish.grizzly.Buffer position(int)>(v);
v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer> = v;
label:
v = v.<org.glassfish.grizzly.http.io.InputBuffer: org.glassfish.grizzly.Buffer inputContentBuffer>;
return v;
}
private boolean checkMarkAfterRead(long)
{
long v, v, v;
byte v, v;
int v, v, v, v, v, v, v;
org.glassfish.grizzly.http.io.InputBuffer v;
v := @this: org.glassfish.grizzly.http.io.InputBuffer;
v := @parameter: long;
v = v cmp 0L;
if v <= 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
v = (int) -1;
if v == v goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount>;
v = v + v;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit>;
v = v cmp v;
if v > 0 goto label;
v = v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount>;
v = v + v;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = v;
return 1;
label:
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readAheadLimit> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.io.InputBuffer: int markPos> = v;
v.<org.glassfish.grizzly.http.io.InputBuffer: int readCount> = 0;
label:
return 0;
}
private static void checkHttpTrailer(org.glassfish.grizzly.http.HttpContent)
{
org.glassfish.grizzly.http.util.DataChunk v, v;
org.glassfish.grizzly.http.util.MimeHeaders v, v;
org.glassfish.grizzly.http.HttpContent v;
int v, v;
java.lang.String v, v;
boolean v;
org.glassfish.grizzly.http.HttpHeader v;
v := @parameter: org.glassfish.grizzly.http.HttpContent;
v = staticinvoke <org.glassfish.grizzly.http.HttpTrailer: boolean isTrailer(org.glassfish.grizzly.http.HttpContent)>(v);
if v == 0 goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpContent: org.glassfish.grizzly.http.HttpHeader getHttpHeader()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: org.glassfish.grizzly.http.util.MimeHeaders getHeaders()>();
virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: void mark()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.HttpTrailer: org.glassfish.grizzly.http.util.MimeHeaders getHeaders()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: int size()>();
v = 0;
label:
if v >= v goto label;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: org.glassfish.grizzly.http.util.DataChunk getName(int)>(v);
v = virtualinvoke v.<org.glassfish.grizzly.http.util.DataChunk: java.lang.String toString()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.MimeHeaders: org.glassfish.grizzly.http.util.DataChunk getValue(int)>(v);
v = virtualinvoke v.<org.glassfish.grizzly.http.util.DataChunk: java.lang.String toString()>();
virtualinvoke v.<org.glassfish.grizzly.http.HttpHeader: void addHeader(java.lang.String,java.lang.String)>(v, v);
v = v + 1;
goto label;
label:
return;
}
private static transient void log(java.lang.String, java.lang.Object[])
{
java.lang.Object[] v;
java.util.logging.Logger v, v, v;
java.lang.Exception v;
java.util.logging.Level v, v, v;
java.lang.String v, v;
boolean v;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object[];
v = staticinvoke <java.lang.String: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <java.util.logging.Level: java.util.logging.Level FINEST>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <java.util.logging.Level: java.util.logging.Level FINEST>;
v = new java.lang.Exception;
specialinvoke v.<java.lang.Exception: void <init>(java.lang.String)>("Logged at");
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Throwable)>(v, v, v);
goto label;
label:
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER>;
v = <org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String)>(v, v);
label:
return;
}
static void <clinit>()
{
java.util.logging.Logger v;
java.util.logging.Level v;
v = staticinvoke <org.glassfish.grizzly.Grizzly: java.util.logging.Logger logger(java.lang.Class)>(class "Lorg/glassfish/grizzly/http/io/InputBuffer;");
<org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Logger LOGGER> = v;
v = <java.util.logging.Level: java.util.logging.Level FINER>;
<org.glassfish.grizzly.http.io.InputBuffer: java.util.logging.Level LOGGER_LEVEL> = v;
return;
}
}