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 Link icon

    Fields
    Modifier and Type
    Field
    Description
    final io.vertx.core.MultiMap
     
    final io.vertx.core.buffer.Buffer
     
    final String
     
    final int
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    VertxRestResponse(io.vertx.core.MultiMap headers, int statusCode, io.vertx.core.buffer.Buffer responseData, String responseStreamAdr)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
     
    io.vertx.core.json.JsonObject
     
    create(RestResponse response)
     
     
     

    Methods inherited from class io.vertx.core.json.JsonObject Link icon

    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 Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable Link icon

    forEach, spliterator
  • Field Details Link icon

    • responseData Link icon

      public final io.vertx.core.buffer.Buffer responseData
    • responseStreamAdr Link icon

      public final String responseStreamAdr
    • headers Link icon

      public final io.vertx.core.MultiMap headers
    • statusCode Link icon

      public final int statusCode
  • Constructor Details Link icon

    • VertxRestResponse Link icon

      public VertxRestResponse(io.vertx.core.MultiMap headers, int statusCode, io.vertx.core.buffer.Buffer responseData, String responseStreamAdr)
  • Method Details Link icon

    • toString Link icon

      public String toString()
      Overrides:
      toString in class io.vertx.core.json.JsonObject
    • encode Link icon

      public String encode()
      Overrides:
      encode in class io.vertx.core.json.JsonObject
    • copy Link icon

      public io.vertx.core.json.JsonObject copy()
      Specified by:
      copy in interface io.vertx.core.shareddata.Shareable
      Overrides:
      copy in class io.vertx.core.json.JsonObject
    • create Link icon

      public static VertxRestResponse create(RestResponse response)
    • asResponse Link icon

      public RestResponse asResponse()