public interface ExContext
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
attr(String key)
属性获取
|
void |
attrSet(String key,
Object value)
属性设置
|
boolean |
isSecure()
是否安全
|
io.vertx.core.net.SocketAddress |
localAddress()
本地地址
|
ExNewRequest |
newRequest()
新的请求构建器
|
ExNewResponse |
newResponse()
新的响应构建器
|
io.vertx.core.Future<io.vertx.core.buffer.Buffer> |
rawBody()
获取原始主体
|
String |
rawCookie(String key)
获取原始 cookie
|
Set<io.vertx.core.http.Cookie> |
rawCookies()
获取原始所有 cookie
|
String |
rawHeader(String key)
获取原始 header
|
io.vertx.core.MultiMap |
rawHeaders()
获取原始所有 header
|
String |
rawMethod()
获取原始请求方法
|
String |
rawPath()
获取原始路径
|
String |
rawQueryParam(String key)
获取原始查询参数
|
io.vertx.core.MultiMap |
rawQueryParams()
获取原始所有查询参数
|
String |
rawQueryString()
获取原始查询字符串
|
URI |
rawURI()
获取原始完整请求地址 uri
|
String |
realIp()
客户端真实IP
|
io.vertx.core.net.SocketAddress |
remoteAddress()
远程地址
|
URI |
target()
路由目标
|
TimeoutProperties |
timeout()
路由超时
|
<T> T attr(String key)
URI target()
TimeoutProperties timeout()
io.vertx.core.net.SocketAddress remoteAddress()
io.vertx.core.net.SocketAddress localAddress()
String realIp()
boolean isSecure()
String rawMethod()
URI rawURI()
String rawPath()
String rawQueryString()
io.vertx.core.MultiMap rawQueryParams()
io.vertx.core.MultiMap rawHeaders()
Set<io.vertx.core.http.Cookie> rawCookies()
io.vertx.core.Future<io.vertx.core.buffer.Buffer> rawBody()
ExNewRequest newRequest()
ExNewResponse newResponse()
Copyright © 2024. All rights reserved.