Class VertxRestRequest

java.lang.Object
io.vertx.core.json.JsonObject
net.bluemind.core.rest.vertx.VertxRestRequest
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 VertxRestRequest extends io.vertx.core.json.JsonObject
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    final io.vertx.core.buffer.Buffer
     
    final String
     
    final io.vertx.core.MultiMap
     
    final io.vertx.core.http.HttpMethod
     
     
    final io.vertx.core.MultiMap
     
    final String
     
    final List<String>
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    VertxRestRequest(String origin, List<String> remoteAddresses, io.vertx.core.http.HttpMethod method, io.vertx.core.MultiMap headers, String path, io.vertx.core.MultiMap params, io.vertx.core.buffer.Buffer body, String bodyStreamAdr)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    asRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
     
    io.vertx.core.json.JsonObject
     
     
    decode(io.vertx.core.json.JsonObject request)
     
     
     

    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

    • body Link icon

      public final io.vertx.core.buffer.Buffer body
    • params Link icon

      public final io.vertx.core.MultiMap params
    • path Link icon

      public final String path
    • headers Link icon

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

      public final io.vertx.core.http.HttpMethod method
    • remoteAddresses Link icon

      public final List<String> remoteAddresses
    • bodyStreamAdr Link icon

      public final String bodyStreamAdr
    • origin Link icon

      public String origin
  • Constructor Details Link icon

    • VertxRestRequest Link icon

      public VertxRestRequest(String origin, List<String> remoteAddresses, io.vertx.core.http.HttpMethod method, io.vertx.core.MultiMap headers, String path, io.vertx.core.MultiMap params, io.vertx.core.buffer.Buffer body, String bodyStreamAdr)
  • 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 VertxRestRequest create(RestRequest request)
    • asRestRequest Link icon

      public RestRequest asRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
    • decode Link icon

      public static RestRequest decode(io.vertx.core.json.JsonObject request)