Package net.bluemind.core.rest.vertx
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasRestRequest
(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) io.vertx.core.json.JsonObject
copy()
static VertxRestRequest
create
(RestRequest request) static RestRequest
decode
(io.vertx.core.json.JsonObject request) 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
-
body
public final io.vertx.core.buffer.Buffer body -
params
public final io.vertx.core.MultiMap params -
path
-
headers
public final io.vertx.core.MultiMap headers -
method
public final io.vertx.core.http.HttpMethod method -
remoteAddresses
-
bodyStreamAdr
-
origin
-
-
Constructor Details
-
VertxRestRequest
-
-
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
-
asRestRequest
public RestRequest asRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) -
decode
-