public interface io.vertx.ext.web.client.HttpResponse<T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.web.client.HttpResponse
super_class: java.lang.Object
{
public abstract io.vertx.core.http.HttpVersion version();
descriptor: ()Lio/vertx/core/http/HttpVersion;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract int statusCode();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract java.lang.String statusMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract io.vertx.core.MultiMap ();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
headerName
public abstract io.vertx.core.MultiMap trailers();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract java.lang.String getTrailer(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
trailerName
public abstract java.util.List<java.lang.String> cookies();
descriptor: ()Ljava/util/List;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public abstract T body();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TT;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
public abstract io.vertx.core.buffer.Buffer bodyAsBuffer();
descriptor: ()Lio/vertx/core/buffer/Buffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
public abstract java.util.List<java.lang.String> followedRedirects();
descriptor: ()Ljava/util/List;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
public java.lang.String bodyAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsBuffer:()Lio/vertx/core/buffer/Buffer;
astore 1
start local 1 1: aload 1
ifnull 2
getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.UTF8_DECODER:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
goto 3
StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/client/HttpResponse<TT;>;
1 4 1 b Lio/vertx/core/buffer/Buffer;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
public java.lang.String bodyAsString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsBuffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 1
invokeinterface io.vertx.core.buffer.Buffer.toString:(Ljava/lang/String;)Ljava/lang/String;
goto 3
StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/client/HttpResponse<TT;>;
0 4 1 encoding Ljava/lang/String;
1 4 2 b Lio/vertx/core/buffer/Buffer;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
encoding
public io.vertx.core.json.JsonObject bodyAsJsonObject();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsBuffer:()Lio/vertx/core/buffer/Buffer;
astore 1
start local 1 1: aload 1
ifnull 2
getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.JSON_OBJECT_DECODER:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
goto 3
StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.json.JsonObject
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/client/HttpResponse<TT;>;
1 4 1 b Lio/vertx/core/buffer/Buffer;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
public abstract io.vertx.core.json.JsonArray bodyAsJsonArray();
descriptor: ()Lio/vertx/core/json/JsonArray;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.CacheReturn()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
public <R> R bodyAsJson(java.lang.Class<R>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.vertx.ext.web.client.HttpResponse.bodyAsBuffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 1: aload 2
ifnull 2
aload 1
invokestatic io.vertx.ext.web.codec.impl.BodyCodecImpl.jsonDecoder:(Ljava/lang/Class;)Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
goto 3
StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/client/HttpResponse<TT;>;
0 4 1 type Ljava/lang/Class<TR;>;
1 4 2 b Lio/vertx/core/buffer/Buffer;
Signature: <R:Ljava/lang/Object;>(Ljava/lang/Class<TR;>;)TR;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
type
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HttpResponse.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()