クラス DefaultServerRedirectStrategy

    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      reactor.core.publisher.Mono<java.lang.Void>sendRedirect​(org.springframework.web.server.ServerWebExchange exchange, java.net.URI location)
      提供された ServerWebExchange および URI に基づいてリダイレクトを実行します
      voidsetContextRelative​(boolean contextRelative)
      場所がコンテキストに対して相対的かどうかを設定します。
      voidsetHttpStatus​(org.springframework.http.HttpStatus httpStatus)
      リダイレクトに使用する HttpStatus
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクターの詳細

      • DefaultServerRedirectStrategy

        public DefaultServerRedirectStrategy()
    • メソッドの詳細

      • sendRedirect

        public reactor.core.publisher.Mono<java.lang.Void> sendRedirect​(org.springframework.web.server.ServerWebExchange exchange,
                                                                        java.net.URI location)
        インターフェースからコピーされた説明: ServerRedirectStrategy
        提供された ServerWebExchange および URI に基づいてリダイレクトを実行します
        次で指定:
        インターフェース ServerRedirectStrategysendRedirect 
        パラメーター:
        exchange - 使用する ServerWebExchange 
        location - リダイレクトする場所
        戻り値:
        リダイレクトが完了したことを示す Mono<Void> 
      • setHttpStatus

        public void setHttpStatus​(org.springframework.http.HttpStatus httpStatus)
        リダイレクトに使用する HttpStatus
        パラメーター:
        httpStatus - 使用するステータス。null にすることはできません
      • setContextRelative

        public void setContextRelative​(boolean contextRelative)
        場所がコンテキストに対して相対的かどうかを設定します。
        パラメーター:
        contextRelative - リダイレクトがコンテキストに関連している場合。デフォルトは true です。