public class RestRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
io.vertx.core.buffer.Buffer |
body |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
bodyStream |
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 |
---|
RestRequest(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,
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) |
Modifier and Type | Method and Description |
---|---|
static RestRequest |
create(java.lang.String remoteAddress,
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,
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream) |
java.lang.String |
toString() |
public io.vertx.core.buffer.Buffer body
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream
public io.vertx.core.MultiMap params
public java.lang.String path
public io.vertx.core.MultiMap headers
public io.vertx.core.http.HttpMethod method
public java.util.List<java.lang.String> remoteAddresses
public java.lang.String origin
public RestRequest(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, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
public java.lang.String toString()
toString
in class java.lang.Object
public static RestRequest create(java.lang.String remoteAddress, 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, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> bodyStream)
Copyright © 2021. All Rights Reserved.