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

    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

    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

    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

    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

    • body

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

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

      public final String path
    • headers

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

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

      public final List<String> remoteAddresses
    • bodyStreamAdr

      public final String bodyStreamAdr
    • origin

      public String origin
  • Constructor Details

    • VertxRestRequest

      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

    • toString

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

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

      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

      public static VertxRestRequest create(RestRequest request)
    • asRestRequest

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

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