public interface ServerHttpRequest extends HttpRequest, HttpInputMessage
修飾子と型 | メソッドと説明 |
---|---|
ServerHttpAsyncRequestControl | getAsyncRequestControl(ServerHttpResponse response) 現在または別のスレッドから明示的に閉じられるまでレスポンスが開いたままになるように、リクエストを非同期モードにすることができるコントロールを返します。 |
InetSocketAddressSE | getLocalAddress() リクエストが受信されたアドレスを返します。 |
PrincipalSE | getPrincipal() 認証されたユーザーの名前を含む Principal SE インスタンスを返します。 |
InetSocketAddressSE | getRemoteAddress() リモートクライアントのアドレスを返します。 |
getMethod, getMethodValue, getURI
getBody
getHeaders
@Nullable PrincipalSE getPrincipal()
Principal
SE インスタンスを返します。 ユーザーが認証されていない場合、メソッドは null
を返します。
InetSocketAddressSE getLocalAddress()
InetSocketAddressSE getRemoteAddress()
ServerHttpAsyncRequestControl getAsyncRequestControl(ServerHttpResponse response)