public interface  io.vertx.ext.web.client.HttpResponse extends java.lang.Object
{
public abstract io.vertx.core.http.HttpVersion version();
public abstract int statusCode();
public abstract java.lang.String statusMessage();
public abstract io.vertx.core.MultiMap headers();
public abstract java.lang.String getHeader(java.lang.String);
public abstract io.vertx.core.MultiMap trailers();
public abstract java.lang.String getTrailer(java.lang.String);
public abstract java.util.List cookies();
public abstract java.lang.Object body();
public abstract io.vertx.core.buffer.Buffer bodyAsBuffer();
public abstract java.util.List followedRedirects();
public java.lang.String bodyAsString()
{
io.vertx.ext.web.client.HttpResponse v;
io.vertx.core.buffer.Buffer v;
java.lang.Object v;
java.util.function.Function v;
v := @this: io.vertx.ext.web.client.HttpResponse;
v = interfaceinvoke v.<io.vertx.ext.web.client.HttpResponse: io.vertx.core.buffer.Buffer bodyAsBuffer()>();
if v == null goto label;
v = <io.vertx.ext.web.codec.impl.BodyCodecImpl: java.util.function.Function UTF8_DECODER>;
v = interfaceinvoke v.<java.util.function.Function: java.lang.Object apply(java.lang.Object)>(v);
goto label;
label:
v = null;
label:
return v;
}
public java.lang.String bodyAsString(java.lang.String)
{
io.vertx.ext.web.client.HttpResponse v;
io.vertx.core.buffer.Buffer v;
java.lang.String v, v;
v := @this: io.vertx.ext.web.client.HttpResponse;
v := @parameter: java.lang.String;
v = interfaceinvoke v.<io.vertx.ext.web.client.HttpResponse: io.vertx.core.buffer.Buffer bodyAsBuffer()>();
if v == null goto label;
v = interfaceinvoke v.<io.vertx.core.buffer.Buffer: java.lang.String toString(java.lang.String)>(v);
goto label;
label:
v = null;
label:
return v;
}
public io.vertx.core.json.JsonObject bodyAsJsonObject()
{
io.vertx.ext.web.client.HttpResponse v;
io.vertx.core.buffer.Buffer v;
java.lang.Object v;
java.util.function.Function v;
v := @this: io.vertx.ext.web.client.HttpResponse;
v = interfaceinvoke v.<io.vertx.ext.web.client.HttpResponse: io.vertx.core.buffer.Buffer bodyAsBuffer()>();
if v == null goto label;
v = <io.vertx.ext.web.codec.impl.BodyCodecImpl: java.util.function.Function JSON_OBJECT_DECODER>;
v = interfaceinvoke v.<java.util.function.Function: java.lang.Object apply(java.lang.Object)>(v);
goto label;
label:
v = null;
label:
return v;
}
public abstract io.vertx.core.json.JsonArray bodyAsJsonArray();
public java.lang.Object bodyAsJson(java.lang.Class)
{
io.vertx.ext.web.client.HttpResponse v;
io.vertx.core.buffer.Buffer v;
java.lang.Class v;
java.lang.Object v;
java.util.function.Function v;
v := @this: io.vertx.ext.web.client.HttpResponse;
v := @parameter: java.lang.Class;
v = interfaceinvoke v.<io.vertx.ext.web.client.HttpResponse: io.vertx.core.buffer.Buffer bodyAsBuffer()>();
if v == null goto label;
v = staticinvoke <io.vertx.ext.web.codec.impl.BodyCodecImpl: java.util.function.Function jsonDecoder(java.lang.Class)>(v);
v = interfaceinvoke v.<java.util.function.Function: java.lang.Object apply(java.lang.Object)>(v);
goto label;
label:
v = null;
label:
return v;
}
}