パッケージ | 説明 |
---|---|
org.springframework.web.servlet.config.annotation | Spring MVC のアノテーションベースのセットアップ。 |
修飾子と型 | メソッドと説明 |
---|---|
RedirectViewControllerRegistration | ViewControllerRegistry.addRedirectViewController(StringSE urlPath, StringSE redirectUrl) 別の URL にリダイレクトするために、ViewController を指定された URL パスまたはパターンにマップします。 |
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setContextRelative(boolean contextRelative) スラッシュ("/")で始まる所定のリダイレクト URL を、現在の ServletContext を基準にして解釈するかどうか。 |
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setKeepQueryParams(boolean propagate) 現在のリクエストのクエリパラメーターをターゲットリダイレクト URL に伝播するかどうか。 |
RedirectViewControllerRegistration | RedirectViewControllerRegistration.setStatusCode(HttpStatus statusCode) 使用する特定のリダイレクト 3xx ステータスコードを設定します。 |