public abstract class org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer extends org.apache.hc.core.http.nio.entity.AbstractBinDataConsumer implements org.apache.hc.core.http.nio.AsyncResponseConsumer
{
private volatile org.apache.hc.core.concurrent.FutureCallback resultCallback;
public void <init>()
{
org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer v;
v := @this: org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer;
specialinvoke v.<org.apache.hc.core.http.nio.entity.AbstractBinDataConsumer: void <init>()>();
return;
}
protected abstract void start(org.apache.hc.core.http.HttpResponse, org.apache.hc.core.http.ContentType) throws org.apache.hc.core.http.HttpException, java.io.IOException;
protected abstract java.lang.Object buildResult();
public void informationResponse(org.apache.hc.core.http.HttpResponse, org.apache.hc.core.http.protocol.HttpContext) throws org.apache.hc.core.http.HttpException, java.io.IOException
{
org.apache.hc.core.http.HttpResponse v;
org.apache.hc.core.http.protocol.HttpContext v;
org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer v;
v := @this: org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer;
v := @parameter: org.apache.hc.core.http.HttpResponse;
v := @parameter: org.apache.hc.core.http.protocol.HttpContext;
return;
}
public final void consumeResponse(org.apache.hc.core.http.HttpResponse, org.apache.hc.core.http.EntityDetails, org.apache.hc.core.http.protocol.HttpContext, org.apache.hc.core.concurrent.FutureCallback) throws org.apache.hc.core.http.HttpException, java.io.IOException
{
org.apache.hc.core.http.protocol.HttpContext v;
org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer v;
org.apache.hc.core.http.EntityDetails v;
org.apache.hc.core.http.ContentType v, v;
org.apache.hc.core.concurrent.FutureCallback v;
org.apache.hc.core.http.HttpResponse v;
java.lang.String v, v;
java.nio.charset.UnsupportedCharsetException v;
java.io.UnsupportedEncodingException v;
v := @this: org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer;
v := @parameter: org.apache.hc.core.http.HttpResponse;
v := @parameter: org.apache.hc.core.http.EntityDetails;
v := @parameter: org.apache.hc.core.http.protocol.HttpContext;
v := @parameter: org.apache.hc.core.concurrent.FutureCallback;
v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: org.apache.hc.core.concurrent.FutureCallback resultCallback> = v;
if v == null goto label;
label:
v = interfaceinvoke v.<org.apache.hc.core.http.EntityDetails: java.lang.String getContentType()>();
v = staticinvoke <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType parse(java.lang.CharSequence)>(v);
if v == null goto label;
v = v;
goto label;
label:
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType DEFAULT_BINARY>;
label:
virtualinvoke v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: void start(org.apache.hc.core.http.HttpResponse,org.apache.hc.core.http.ContentType)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = new java.io.UnsupportedEncodingException;
v = virtualinvoke v.<java.nio.charset.UnsupportedCharsetException: java.lang.String getMessage()>();
specialinvoke v.<java.io.UnsupportedEncodingException: void <init>(java.lang.String)>(v);
throw v;
label:
virtualinvoke v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: void start(org.apache.hc.core.http.HttpResponse,org.apache.hc.core.http.ContentType)>(v, null);
virtualinvoke v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: void completed()>();
label:
return;
catch java.nio.charset.UnsupportedCharsetException from label to label with label;
}
protected final void completed()
{
org.apache.hc.core.concurrent.FutureCallback v;
java.lang.Object v;
org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer v;
v := @this: org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer;
v = v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: org.apache.hc.core.concurrent.FutureCallback resultCallback>;
v = virtualinvoke v.<org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer: java.lang.Object buildResult()>();
interfaceinvoke v.<org.apache.hc.core.concurrent.FutureCallback: void completed(java.lang.Object)>(v);
return;
}
public void failed(java.lang.Exception)
{
java.lang.Exception v;
org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer v;
v := @this: org.apache.hc.client.http.async.methods.AbstractBinResponseConsumer;
v := @parameter: java.lang.Exception;
return;
}
}