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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) io.vertx.core.json.JsonObjectcopy()static VertxRestRequestcreate(RestRequest request) static RestRequestdecode(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, writeToBufferMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
toStringin classio.vertx.core.json.JsonObject
-
encode
- Overrides:
encodein classio.vertx.core.json.JsonObject
-
copy
public io.vertx.core.json.JsonObject copy()- Specified by:
copyin interfaceio.vertx.core.shareddata.Shareable- Overrides:
copyin classio.vertx.core.json.JsonObject
-
create
-
asRestRequest
public RestRequest asRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) -
decode
-