public class VertxRestResponse
extends org.vertx.java.core.json.JsonObject
Modifier and Type | Field and Description |
---|---|
org.vertx.java.core.MultiMap |
headers |
org.vertx.java.core.buffer.Buffer |
responseData |
java.lang.String |
responseStreamAdr |
int |
statusCode |
Constructor and Description |
---|
VertxRestResponse(org.vertx.java.core.MultiMap headers,
int statusCode,
org.vertx.java.core.buffer.Buffer responseData,
java.lang.String responseStreamAdr) |
Modifier and Type | Method and Description |
---|---|
RestResponse |
asResponse() |
org.vertx.java.core.json.JsonObject |
copy() |
static VertxRestResponse |
create(RestResponse response) |
java.lang.String |
encode() |
java.lang.String |
toString() |
containsField, encodePrettily, equals, getArray, getArray, getBinary, getBinary, getBoolean, getBoolean, getElement, getElement, getField, getFieldNames, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getObject, getObject, getString, getString, getValue, mergeIn, putArray, putBinary, putBoolean, putElement, putNumber, putObject, putString, putValue, removeField, size, toMap
public final org.vertx.java.core.buffer.Buffer responseData
public final java.lang.String responseStreamAdr
public final org.vertx.java.core.MultiMap headers
public final int statusCode
public VertxRestResponse(org.vertx.java.core.MultiMap headers, int statusCode, org.vertx.java.core.buffer.Buffer responseData, java.lang.String responseStreamAdr)
public java.lang.String toString()
toString
in class org.vertx.java.core.json.JsonObject
public java.lang.String encode()
encode
in class org.vertx.java.core.json.JsonObject
public org.vertx.java.core.json.JsonObject copy()
copy
in class org.vertx.java.core.json.JsonObject
public static VertxRestResponse create(RestResponse response)
public RestResponse asResponse()
Copyright © 2021. All Rights Reserved.