public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage
| 修飾子と型 | インターフェースと説明 |
|---|---|
static interface | ServerHttpRequest.Builder 既存の ServerHttpRequest を変更するためのビルダー。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
MultiValueMap<StringSE, HttpCookie> | getCookies() クライアントから送信された Cookie の読み取り専用マップを返します。 |
StringSE | getId() 基礎となる接続(存在する場合)を表す ID、またはログメッセージを相関させるためのリクエストを返します。 |
default InetSocketAddressSE | getLocalAddress() リクエストが受け入れられた場合は、ローカルアドレスを返します(利用可能な場合)。 |
RequestPath | getPath() |
MultiValueMap<StringSE, StringSE> | getQueryParams() 解析およびデコードされたクエリパラメーター値を含む読み取り専用マップを返します。 |
default InetSocketAddressSE | getRemoteAddress() 可能な場合、このリクエストが接続されているリモートアドレスを返します。 |
default SslInfo | getSslInfo() リクエストが SSL 証明書を含む安全なプロトコルを介して送信された場合、SSL セッション情報を返します(利用可能な場合)。 |
default ServerHttpRequest.Builder | mutate()ServerHttpRequestDecorator でラップし、変更された値を返すか、このインスタンスに委譲して返すことにより、このリクエストのプロパティを変更するビルダーを返します。 |
getMethod, getMethodValue, getURIgetBodygetHeadersStringSE getId()
ServerWebExchange.getLogPrefix()RequestPath getPath()
query までの完全なリクエストパスの構造化表現を返しますが、query は含まれません。 返されるパスは、RequestPath.contextPath() 部分と残りの pathWithinApplication 部分に細分されます。後者は、パスマッチングの目的で PathPattern のメソッドに渡すことができます。
MultiValueMap<StringSE,StringSE> getQueryParams()
MultiValueMap<StringSE,HttpCookie> getCookies()
@Nullable default InetSocketAddressSE getLocalAddress()
@Nullable default InetSocketAddressSE getRemoteAddress()
@Nullable default SslInfo getSslInfo()
null default ServerHttpRequest.Builder mutate()
ServerHttpRequestDecorator でラップし、変更された値を返すか、このインスタンスに委譲して返すことにより、このリクエストのプロパティを変更するビルダーを返します。