public class io.netty.handler.codec.http.DefaultHttp2Connection extends java.lang.Object implements io.netty.handler.codec.http.Http2Connection
{
private static final io.netty.util.internal.logging.InternalLogger logger;
final io.netty.util.collection.IntObjectMap streamMap;
final io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry propertyKeyRegistry;
final io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream connectionStream;
final io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint;
final io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint;
final java.util.List listeners;
final io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams;
io.netty.util.concurrent.Promise closePromise;
public void <init>(boolean)
{
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: boolean;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: void <init>(boolean,int)>(v, 100);
return;
}
public void <init>(boolean, int)
{
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams v;
java.util.ArrayList v;
io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream v, v, v;
io.netty.util.collection.IntObjectMap v;
int v, v, v;
io.netty.util.collection.IntObjectHashMap v;
boolean v, v;
io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry v;
java.util.List v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: boolean;
v := @parameter: int;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new io.netty.util.collection.IntObjectHashMap;
specialinvoke v.<io.netty.util.collection.IntObjectHashMap: void <init>()>();
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap> = v;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection)>(v);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry propertyKeyRegistry> = v;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection)>(v);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream connectionStream> = v;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(4);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners> = v;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection,java.util.List)>(v, v);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams> = v;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint;
if v == 0 goto label;
v = 2147483647;
goto label;
label:
v = v;
label:
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection,boolean,int)>(v, v, v);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint> = v;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection,boolean,int)>(v, v, v);
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint> = v;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap>;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream connectionStream>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream: int id()>();
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream connectionStream>;
interfaceinvoke v.<io.netty.util.collection.IntObjectMap: java.lang.Object put(int,java.lang.Object)>(v, v);
return;
}
final boolean isClosed()
{
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.util.concurrent.Promise v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public io.netty.util.concurrent.Future close(io.netty.util.concurrent.Promise)
{
java.lang.Throwable v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams v, v, v, v;
java.lang.Iterable v;
io.netty.util.collection.IntObjectMap v;
int v, v;
boolean v, v, v, v, v, v;
io.netty.util.concurrent.Promise v, v, v, v, v, v;
java.util.Iterator v;
java.lang.Object v, v, v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.util.concurrent.Promise;
staticinvoke <io.netty.util.internal.ObjectUtil: java.lang.Object checkNotNull(java.lang.Object,java.lang.String)>(v, "promise");
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
if v == null goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
if v == v goto label;
v = v instanceof io.netty.channel.ChannelPromise;
if v == 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
v = interfaceinvoke v.<io.netty.channel.ChannelFuture: boolean isVoid()>();
if v == 0 goto label;
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise> = v;
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
staticinvoke <io.netty.util.concurrent.PromiseNotifier: io.netty.util.concurrent.Future cascade(io.netty.util.concurrent.Future,io.netty.util.concurrent.Promise)>(v, v);
goto label;
label:
v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise> = v;
label:
v = specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: boolean isStreamMapEmpty()>();
if v == 0 goto label;
interfaceinvoke v.<io.netty.util.concurrent.Promise: boolean trySuccess(java.lang.Object)>(null);
return v;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap>;
v = interfaceinvoke v.<io.netty.util.collection.IntObjectMap: java.lang.Iterable entries()>();
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: boolean allowModifications()>();
if v == 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: void incrementPendingIterations()>();
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 = interfaceinvoke v.<io.netty.util.collection.IntObjectMap$PrimitiveEntry: java.lang.Object value()>();
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream: int id()>();
if v == 0 goto label;
virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream: io.netty.handler.codec.http.Http2Stream close(java.util.Iterator)>(v);
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: void decrementPendingIterations()>();
goto label;
label:
v := @caughtexception;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: void decrementPendingIterations()>();
throw v;
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 = interfaceinvoke v.<io.netty.util.collection.IntObjectMap$PrimitiveEntry: java.lang.Object value()>();
v = interfaceinvoke v.<io.netty.handler.codec.http.Http2Stream: int id()>();
if v == 0 goto label;
interfaceinvoke v.<io.netty.handler.codec.http.Http2Stream: io.netty.handler.codec.http.Http2Stream close()>();
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
return v;
catch java.lang.Throwable from label to label with label;
}
public void addListener(io.netty.handler.codec.http.Http2Connection$Listener)
{
java.util.List v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.Http2Connection$Listener v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2Connection$Listener;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return;
}
public void removeListener(io.netty.handler.codec.http.Http2Connection$Listener)
{
java.util.List v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.Http2Connection$Listener v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2Connection$Listener;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
interfaceinvoke v.<java.util.List: boolean remove(java.lang.Object)>(v);
return;
}
public boolean isServer()
{
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: boolean isServer()>();
return v;
}
public io.netty.handler.codec.http.Http2Stream connectionStream()
{
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ConnectionStream connectionStream>;
return v;
}
public io.netty.handler.codec.http.Http2Stream stream(int)
{
io.netty.util.collection.IntObjectMap v;
int v;
java.lang.Object v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: int;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap>;
v = interfaceinvoke v.<io.netty.util.collection.IntObjectMap: java.lang.Object get(int)>(v);
return v;
}
public boolean streamMayHaveExisted(int)
{
int v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v, v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v, v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: int;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: boolean mayHaveCreatedStream(int)>(v);
if v != 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: boolean mayHaveCreatedStream(int)>(v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public int numActiveStreams()
{
int v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: int size()>();
return v;
}
public io.netty.handler.codec.http.Http2Stream forEachActiveStream(io.netty.handler.codec.http.Http2StreamVisitor) throws io.netty.handler.codec.http.Http2Exception
{
io.netty.handler.codec.http.Http2Stream v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams v;
io.netty.handler.codec.http.Http2StreamVisitor v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2StreamVisitor;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams activeStreams>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$ActiveStreams: io.netty.handler.codec.http.Http2Stream forEachActiveStream(io.netty.handler.codec.http.Http2StreamVisitor)>(v);
return v;
}
public io.netty.handler.codec.http.Http2Connection$Endpoint local()
{
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
return v;
}
public io.netty.handler.codec.http.Http2Connection$Endpoint remote()
{
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
return v;
}
public boolean goAwayReceived()
{
int v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer>;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void goAwayReceived(int, long, io.netty.buffer.ByteBuf) throws io.netty.handler.codec.http.Http2Exception
{
java.lang.Throwable v;
java.lang.Object[] v;
long v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
java.lang.Integer v, v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.http.Http2Exception v;
int v, v, v, v, v, v;
java.util.List v, v;
io.netty.util.internal.logging.InternalLogger v;
io.netty.handler.codec.http.Http2Error v;
java.lang.Object v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v, v, v, v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: int;
v := @parameter: long;
v := @parameter: io.netty.buffer.ByteBuf;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
if v < 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
if v >= v goto label;
v = <io.netty.handler.codec.http.Http2Error: io.netty.handler.codec.http.Http2Error PROTOCOL_ERROR>;
v = newarray (java.lang.Object)[2];
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <io.netty.handler.codec.http.Http2Exception: io.netty.handler.codec.http.Http2Exception connectionError(io.netty.handler.codec.http.Http2Error,java.lang.String,java.lang.Object[])>(v, "lastStreamId MUST NOT increase. Current value: %d new value: %d", v);
throw v;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: void lastStreamKnownByPeer(int)>(v);
v = 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.handler.codec.http.Http2Connection$Listener: void onGoAwayReceived(int,long,io.netty.buffer.ByteBuf)>(v, v, v);
label:
goto label;
label:
v := @caughtexception;
v = <io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void error(java.lang.String,java.lang.Throwable)>("Caught Throwable from listener onGoAwayReceived.", v);
label:
v = v + 1;
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint localEndpoint>;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: void closeStreamsGreaterThanLastKnownStreamId(int,io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint)>(v, v);
return;
catch java.lang.Throwable from label to label with label;
}
public boolean goAwaySent()
{
int v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer>;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public boolean goAwaySent(int, long, io.netty.buffer.ByteBuf) throws io.netty.handler.codec.http.Http2Exception
{
java.lang.Throwable v;
java.lang.Object[] v;
long v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
java.lang.Integer v, v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.http.Http2Exception v;
int v, v, v, v, v, v, v;
java.util.List v, v;
io.netty.util.internal.logging.InternalLogger v;
io.netty.handler.codec.http.Http2Error v;
java.lang.Object v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v, v, v, v, v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: int;
v := @parameter: long;
v := @parameter: io.netty.buffer.ByteBuf;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
if v < 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
if v != v goto label;
return 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
if v <= v goto label;
v = <io.netty.handler.codec.http.Http2Error: io.netty.handler.codec.http.Http2Error PROTOCOL_ERROR>;
v = newarray (java.lang.Object)[2];
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: int lastStreamKnownByPeer()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
v = staticinvoke <io.netty.handler.codec.http.Http2Exception: io.netty.handler.codec.http.Http2Exception connectionError(io.netty.handler.codec.http.Http2Error,java.lang.String,java.lang.Object[])>(v, "Last stream identifier must not increase between sending multiple GOAWAY frames (was \'%d\', is \'%d\').", v);
throw v;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint: void lastStreamKnownByPeer(int)>(v);
v = 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.handler.codec.http.Http2Connection$Listener: void onGoAwaySent(int,long,io.netty.buffer.ByteBuf)>(v, v, v);
label:
goto label;
label:
v := @caughtexception;
v = <io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void error(java.lang.String,java.lang.Throwable)>("Caught Throwable from listener onGoAwaySent.", v);
label:
v = v + 1;
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint remoteEndpoint>;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: void closeStreamsGreaterThanLastKnownStreamId(int,io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint)>(v, v);
return 1;
catch java.lang.Throwable from label to label with label;
}
private void closeStreamsGreaterThanLastKnownStreamId(int, io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint) throws io.netty.handler.codec.http.Http2Exception
{
io.netty.handler.codec.http.DefaultHttp2Connection$1 v;
int v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: int;
v := @parameter: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint;
v = new io.netty.handler.codec.http.DefaultHttp2Connection$1;
specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$1: void <init>(io.netty.handler.codec.http.DefaultHttp2Connection,int,io.netty.handler.codec.http.DefaultHttp2Connection$DefaultEndpoint)>(v, v, v);
virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.Http2Stream forEachActiveStream(io.netty.handler.codec.http.Http2StreamVisitor)>(v);
return;
}
private boolean isStreamMapEmpty()
{
io.netty.util.collection.IntObjectMap v;
int v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
boolean v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap>;
v = interfaceinvoke v.<io.netty.util.collection.IntObjectMap: int size()>();
if v != 1 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
void removeStream(io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream, java.util.Iterator)
{
java.lang.Throwable v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream v;
io.netty.util.collection.IntObjectMap v;
int v, v, v;
boolean v, v, v;
io.netty.util.concurrent.Promise v, v;
java.util.Iterator v;
java.util.List v, v;
io.netty.util.internal.logging.InternalLogger v;
java.lang.Object v, v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream;
v := @parameter: java.util.Iterator;
if v != null goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.collection.IntObjectMap streamMap>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultStream: int id()>();
v = interfaceinvoke v.<io.netty.util.collection.IntObjectMap: java.lang.Object remove(int)>(v);
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v;
goto label;
label:
interfaceinvoke v.<java.util.Iterator: void remove()>();
v = 1;
label:
if v == 0 goto label;
v = 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.handler.codec.http.Http2Connection$Listener: void onStreamRemoved(io.netty.handler.codec.http.Http2Stream)>(v);
label:
goto label;
label:
v := @caughtexception;
v = <io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void error(java.lang.String,java.lang.Throwable)>("Caught Throwable from listener onStreamRemoved.", v);
label:
v = v + 1;
goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
if v == null goto label;
v = specialinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection: boolean isStreamMapEmpty()>();
if v == 0 goto label;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.concurrent.Promise closePromise>;
interfaceinvoke v.<io.netty.util.concurrent.Promise: boolean trySuccess(java.lang.Object)>(null);
label:
return;
catch java.lang.Throwable from label to label with label;
}
static io.netty.handler.codec.http.Http2Stream$State activeState(int, io.netty.handler.codec.http.Http2Stream$State, boolean, boolean) throws io.netty.handler.codec.http.Http2Exception
{
java.lang.Object[] v;
io.netty.handler.codec.http.Http2Stream$State v, v, v, v;
int[] v;
io.netty.handler.codec.http.Http2Exception v;
int v, v, v;
io.netty.handler.codec.http.Http2Error v;
java.lang.String v;
boolean v, v;
v := @parameter: int;
v := @parameter: io.netty.handler.codec.http.Http2Stream$State;
v := @parameter: boolean;
v := @parameter: boolean;
v = <io.netty.handler.codec.http.DefaultHttp2Connection$2: int[] $SwitchMap$io$netty$handler$codec$http2$Http2Stream$State>;
v = virtualinvoke v.<io.netty.handler.codec.http.Http2Stream$State: int ordinal()>();
v = v[v];
tableswitch(v)
{
case 1: goto label;
case 2: goto label;
case 3: goto label;
default: goto label;
};
label:
if v == 0 goto label;
if v == 0 goto label;
v = <io.netty.handler.codec.http.Http2Stream$State: io.netty.handler.codec.http.Http2Stream$State HALF_CLOSED_LOCAL>;
goto label;
label:
v = <io.netty.handler.codec.http.Http2Stream$State: io.netty.handler.codec.http.Http2Stream$State HALF_CLOSED_REMOTE>;
goto label;
label:
v = <io.netty.handler.codec.http.Http2Stream$State: io.netty.handler.codec.http.Http2Stream$State OPEN>;
label:
return v;
label:
v = <io.netty.handler.codec.http.Http2Stream$State: io.netty.handler.codec.http.Http2Stream$State HALF_CLOSED_REMOTE>;
return v;
label:
v = <io.netty.handler.codec.http.Http2Stream$State: io.netty.handler.codec.http.Http2Stream$State HALF_CLOSED_LOCAL>;
return v;
label:
v = <io.netty.handler.codec.http.Http2Error: io.netty.handler.codec.http.Http2Error PROTOCOL_ERROR>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (io.netty.handler.codec.http.Http2Stream$State)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Attempting to open a stream in an invalid state: \u0001");
v = newarray (java.lang.Object)[0];
v = staticinvoke <io.netty.handler.codec.http.Http2Exception: io.netty.handler.codec.http.Http2Exception streamError(int,io.netty.handler.codec.http.Http2Error,java.lang.String,java.lang.Object[])>(v, v, v, v);
throw v;
}
void notifyHalfClosed(io.netty.handler.codec.http.Http2Stream)
{
java.lang.Throwable v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
java.util.List v, v;
io.netty.util.internal.logging.InternalLogger v;
int v, v;
io.netty.handler.codec.http.Http2Stream v;
java.lang.Object v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2Stream;
v = 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.handler.codec.http.Http2Connection$Listener: void onStreamHalfClosed(io.netty.handler.codec.http.Http2Stream)>(v);
label:
goto label;
label:
v := @caughtexception;
v = <io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void error(java.lang.String,java.lang.Throwable)>("Caught Throwable from listener onStreamHalfClosed.", v);
label:
v = v + 1;
goto label;
label:
return;
catch java.lang.Throwable from label to label with label;
}
void notifyClosed(io.netty.handler.codec.http.Http2Stream)
{
java.lang.Throwable v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
java.util.List v, v;
io.netty.util.internal.logging.InternalLogger v;
int v, v;
io.netty.handler.codec.http.Http2Stream v;
java.lang.Object v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2Stream;
v = 0;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
label:
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: java.util.List listeners>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.handler.codec.http.Http2Connection$Listener: void onStreamClosed(io.netty.handler.codec.http.Http2Stream)>(v);
label:
goto label;
label:
v := @caughtexception;
v = <io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger>;
interfaceinvoke v.<io.netty.util.internal.logging.InternalLogger: void error(java.lang.String,java.lang.Throwable)>("Caught Throwable from listener onStreamClosed.", v);
label:
v = v + 1;
goto label;
label:
return;
catch java.lang.Throwable from label to label with label;
}
public io.netty.handler.codec.http.Http2Connection$PropertyKey newKey()
{
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v = v.<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry propertyKeyRegistry>;
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$PropertyKeyRegistry: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey newKey()>();
return v;
}
final io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey verifyKey(io.netty.handler.codec.http.Http2Connection$PropertyKey)
{
io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey v;
io.netty.handler.codec.http.Http2Connection$PropertyKey v;
java.lang.Object v;
io.netty.handler.codec.http.DefaultHttp2Connection v;
v := @this: io.netty.handler.codec.http.DefaultHttp2Connection;
v := @parameter: io.netty.handler.codec.http.Http2Connection$PropertyKey;
v = staticinvoke <io.netty.util.internal.ObjectUtil: java.lang.Object checkNotNull(java.lang.Object,java.lang.String)>(v, "key");
v = virtualinvoke v.<io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey: io.netty.handler.codec.http.DefaultHttp2Connection$DefaultPropertyKey verifyConnection(io.netty.handler.codec.http.Http2Connection)>(v);
return v;
}
static void <clinit>()
{
io.netty.util.internal.logging.InternalLogger v;
v = staticinvoke <io.netty.util.internal.logging.InternalLoggerFactory: io.netty.util.internal.logging.InternalLogger getInstance(java.lang.Class)>(class "Lio/netty/handler/codec/http2/DefaultHttp2Connection;");
<io.netty.handler.codec.http.DefaultHttp2Connection: io.netty.util.internal.logging.InternalLogger logger> = v;
return;
}
}