Package net.bluemind.core.rest.vertx
Class VertxRestResponse
java.lang.Object
io.vertx.core.json.JsonObject
net.bluemind.core.rest.vertx.VertxRestResponse
- All Implemented Interfaces:
io.vertx.core.shareddata.ClusterSerializable
,io.vertx.core.shareddata.impl.ClusterSerializable
,io.vertx.core.shareddata.Shareable
,Iterable<Map.Entry<String,
Object>>
public class VertxRestResponse
extends io.vertx.core.json.JsonObject
-
Field Summary
Modifier and TypeFieldDescriptionfinal io.vertx.core.MultiMap
final io.vertx.core.buffer.Buffer
final String
final int
-
Constructor Summary
ConstructorDescriptionVertxRestResponse
(io.vertx.core.MultiMap headers, int statusCode, io.vertx.core.buffer.Buffer responseData, String responseStreamAdr) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonObject
copy()
static VertxRestResponse
create
(RestResponse response) encode()
toString()
Methods inherited from class io.vertx.core.json.JsonObject
clear, containsKey, copy, encodePrettily, equals, fieldNames, getBinary, getBinary, getBoolean, getBoolean, getBuffer, getBuffer, 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, of, of, of, of, of, of, of, of, of, of, of, put, putNull, readFromBuffer, remove, size, stream, toBuffer, writeToBuffer
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
responseData
public final io.vertx.core.buffer.Buffer responseData -
responseStreamAdr
-
headers
public final io.vertx.core.MultiMap headers -
statusCode
public final int statusCode
-
-
Constructor Details
-
VertxRestResponse
public VertxRestResponse(io.vertx.core.MultiMap headers, int statusCode, io.vertx.core.buffer.Buffer responseData, String responseStreamAdr)
-
-
Method Details
-
toString
- Overrides:
toString
in classio.vertx.core.json.JsonObject
-
encode
- Overrides:
encode
in classio.vertx.core.json.JsonObject
-
copy
public io.vertx.core.json.JsonObject copy()- Specified by:
copy
in interfaceio.vertx.core.shareddata.Shareable
- Overrides:
copy
in classio.vertx.core.json.JsonObject
-
create
-
asResponse
-