public class ServiceRequest extends Object
Constructor and Description |
---|
ServiceRequest() |
ServiceRequest(io.vertx.core.json.JsonObject json) |
ServiceRequest(io.vertx.core.json.JsonObject params,
io.vertx.core.MultiMap headers,
io.vertx.core.json.JsonObject user,
io.vertx.core.json.JsonObject extra) |
ServiceRequest(ServiceRequest other) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.json.JsonObject |
getExtra()
Get extra payload
|
io.vertx.core.MultiMap |
getHeaders()
Get request headers
|
io.vertx.core.json.JsonObject |
getParams()
Get request parsedParameters as JSON
|
io.vertx.core.json.JsonObject |
getUser()
Get request principal user as routingContext.user().principal(), null if no user is authenticated
|
ServiceRequest |
setExtra(io.vertx.core.json.JsonObject extra) |
ServiceRequest |
setHeaders(io.vertx.core.MultiMap headers) |
ServiceRequest |
setParams(io.vertx.core.json.JsonObject params) |
ServiceRequest |
setUser(io.vertx.core.json.JsonObject user) |
io.vertx.core.json.JsonObject |
toJson() |
public ServiceRequest()
public ServiceRequest(io.vertx.core.json.JsonObject json)
public ServiceRequest(io.vertx.core.json.JsonObject params, io.vertx.core.MultiMap headers, io.vertx.core.json.JsonObject user, io.vertx.core.json.JsonObject extra)
public ServiceRequest(ServiceRequest other)
public io.vertx.core.json.JsonObject toJson()
public io.vertx.core.json.JsonObject getParams()
public io.vertx.core.MultiMap getHeaders()
public io.vertx.core.json.JsonObject getUser()
public io.vertx.core.json.JsonObject getExtra()
public ServiceRequest setParams(io.vertx.core.json.JsonObject params)
public ServiceRequest setHeaders(io.vertx.core.MultiMap headers)
public ServiceRequest setUser(io.vertx.core.json.JsonObject user)
public ServiceRequest setExtra(io.vertx.core.json.JsonObject extra)
Copyright © 2021 Eclipse. All rights reserved.