public class VertxRestRequest
extends io.vertx.core.json.JsonObject
Modifier and Type | Field and Description |
---|---|
io.vertx.core.buffer.Buffer |
body |
java.lang.String |
bodyStreamAdr |
io.vertx.core.MultiMap |
headers |
io.vertx.core.http.HttpMethod |
method |
java.lang.String |
origin |
io.vertx.core.MultiMap |
params |
java.lang.String |
path |
java.util.List<java.lang.String> |
remoteAddresses |
Constructor and Description |
---|
VertxRestRequest(java.lang.String origin,
java.util.List<java.lang.String> remoteAddresses,
io.vertx.core.http.HttpMethod method,
io.vertx.core.MultiMap headers,
java.lang.String path,
io.vertx.core.MultiMap params,
io.vertx.core.buffer.Buffer body,
java.lang.String bodyStreamAdr) |
Modifier and Type | Method and Description |
---|---|
RestRequest |
asRestRequest(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) |
java.lang.String |
encode() |
java.lang.String |
toString() |
clear, containsKey, encodePrettily, equals, fieldNames, getBinary, getBinary, getBoolean, getBoolean, 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, put, put, put, put, put, put, put, put, put, put, put, put, put, putNull, readFromBuffer, remove, size, stream, toBuffer, writeToBuffer
public final io.vertx.core.buffer.Buffer body
public final io.vertx.core.MultiMap params
public final java.lang.String path
public final io.vertx.core.MultiMap headers
public final io.vertx.core.http.HttpMethod method
public final java.util.List<java.lang.String> remoteAddresses
public final java.lang.String bodyStreamAdr
public java.lang.String origin
public VertxRestRequest(java.lang.String origin, java.util.List<java.lang.String> remoteAddresses, io.vertx.core.http.HttpMethod method, io.vertx.core.MultiMap headers, java.lang.String path, io.vertx.core.MultiMap params, io.vertx.core.buffer.Buffer body, java.lang.String bodyStreamAdr)
public java.lang.String toString()
toString
in class io.vertx.core.json.JsonObject
public java.lang.String encode()
encode
in class io.vertx.core.json.JsonObject
public io.vertx.core.json.JsonObject copy()
copy
in interface io.vertx.core.shareddata.Shareable
copy
in class io.vertx.core.json.JsonObject
public static VertxRestRequest create(RestRequest request)
public RestRequest asRestRequest(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
public static RestRequest decode(io.vertx.core.json.JsonObject request)
Copyright © 2021. All Rights Reserved.