public class VertxRestRequest
extends org.vertx.java.core.json.JsonObject
Modifier and Type | Field and Description |
---|---|
org.vertx.java.core.buffer.Buffer |
body |
java.lang.String |
bodyStreamAdr |
org.vertx.java.core.MultiMap |
headers |
java.lang.String |
method |
java.lang.String |
origin |
org.vertx.java.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,
java.lang.String method,
org.vertx.java.core.MultiMap headers,
java.lang.String path,
org.vertx.java.core.MultiMap params,
org.vertx.java.core.buffer.Buffer body,
java.lang.String bodyStreamAdr) |
Modifier and Type | Method and Description |
---|---|
RestRequest |
asRestRequest(org.vertx.java.core.streams.ReadStream<?> bodyStream) |
org.vertx.java.core.json.JsonObject |
copy() |
static VertxRestRequest |
create(RestRequest request) |
static RestRequest |
decode(org.vertx.java.core.json.JsonObject request) |
java.lang.String |
encode() |
java.lang.String |
toString() |
containsField, encodePrettily, equals, getArray, getArray, getBinary, getBinary, getBoolean, getBoolean, getElement, getElement, getField, getFieldNames, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getObject, getObject, getString, getString, getValue, mergeIn, putArray, putBinary, putBoolean, putElement, putNumber, putObject, putString, putValue, removeField, size, toMap
public final org.vertx.java.core.buffer.Buffer body
public final org.vertx.java.core.MultiMap params
public final java.lang.String path
public final org.vertx.java.core.MultiMap headers
public final java.lang.String 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, java.lang.String method, org.vertx.java.core.MultiMap headers, java.lang.String path, org.vertx.java.core.MultiMap params, org.vertx.java.core.buffer.Buffer body, java.lang.String bodyStreamAdr)
public java.lang.String toString()
toString
in class org.vertx.java.core.json.JsonObject
public java.lang.String encode()
encode
in class org.vertx.java.core.json.JsonObject
public org.vertx.java.core.json.JsonObject copy()
copy
in class org.vertx.java.core.json.JsonObject
public static VertxRestRequest create(RestRequest request)
public RestRequest asRestRequest(org.vertx.java.core.streams.ReadStream<?> bodyStream)
public static RestRequest decode(org.vertx.java.core.json.JsonObject request)
Copyright © 2021. All Rights Reserved.