public class VertxRestResponse
extends io.vertx.core.json.JsonObject
Modifier and Type | Field and Description |
---|---|
io.vertx.core.MultiMap |
headers |
io.vertx.core.buffer.Buffer |
responseData |
java.lang.String |
responseStreamAdr |
int |
statusCode |
Constructor and Description |
---|
VertxRestResponse(io.vertx.core.MultiMap headers,
int statusCode,
io.vertx.core.buffer.Buffer responseData,
java.lang.String responseStreamAdr) |
Modifier and Type | Method and Description |
---|---|
RestResponse |
asResponse() |
io.vertx.core.json.JsonObject |
copy() |
static VertxRestResponse |
create(RestResponse response) |
java.lang.String |
encode() |
java.lang.String |
toString() |
clear, containsKey, encodePrettily, equals, fieldNames, getBinary, getBinary, getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInstant, getInstant, getInteger, getInteger, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getLong, getLong, getMap, getNumber, getNumber, getString, getString, getValue, getValue, hashCode, isEmpty, iterator, mapFrom, mapTo, mergeIn, mergeIn, mergeIn, put, put, put, put, put, put, put, put, put, put, put, put, put, putNull, readFromBuffer, remove, size, stream, toBuffer, writeToBuffer
public final io.vertx.core.buffer.Buffer responseData
public final java.lang.String responseStreamAdr
public final io.vertx.core.MultiMap headers
public final int statusCode
public VertxRestResponse(io.vertx.core.MultiMap headers, int statusCode, io.vertx.core.buffer.Buffer responseData, java.lang.String responseStreamAdr)
public java.lang.String toString()
toString
in class io.vertx.core.json.JsonObject
public java.lang.String encode()
encode
in class io.vertx.core.json.JsonObject
public io.vertx.core.json.JsonObject copy()
copy
in interface io.vertx.core.shareddata.Shareable
copy
in class io.vertx.core.json.JsonObject
public static VertxRestResponse create(RestResponse response)
public RestResponse asResponse()
Copyright © 2021. All Rights Reserved.