public interface HttpServerRequest extends NettyInbound, HttpServerInfos
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
hostAddress()
Returns the address of the host peer or
null in case of Unix Domain Sockets. |
String |
param(CharSequence key)
URI parameter captured via {} "/test/{var}"
|
Map<String,String> |
params()
Returns the param captured key/value map
|
HttpServerRequest |
paramsResolver(java.util.function.Function<? super String,Map<String,String>> paramsResolver)
Specifies a params resolver.
|
default Flux<HttpContent> |
receiveContent()
Returns a
Flux of HttpContent containing received chunks |
InetSocketAddress |
remoteAddress()
Returns the address of the remote peer or
null in case of Unix Domain Sockets. |
HttpHeaders |
requestHeaders()
Returns inbound
HttpHeaders |
String |
scheme()
Returns the current protocol scheme
|
HttpServerRequest |
withConnection(java.util.function.Consumer<? super Connection> withConnection) |
receive, receiveObjectallCookiescookies, fullPath, isKeepAlive, isWebsocket, method, path, requestId, uri, versionHttpServerRequest withConnection(java.util.function.Consumer<? super Connection> withConnection)
withConnection in interface NettyInbound@Nullable String param(CharSequence key)
key - param var name@Nullable Map<String,String> params()
HttpServerRequest paramsResolver(java.util.function.Function<? super String,Map<String,String>> paramsResolver)
paramsResolver - a params resolverHttpServerRequestdefault Flux<HttpContent> receiveContent()
Flux of HttpContent containing received chunksFlux of HttpContent containing received chunks@Nullable InetSocketAddress hostAddress()
null in case of Unix Domain Sockets.@Nullable InetSocketAddress remoteAddress()
null in case of Unix Domain Sockets.HttpHeaders requestHeaders()
HttpHeadersHttpHeadersString scheme()