クラスの使用
org.springframework.web.util.UriComponents
org.springframework.web.util 内の UriComponents 使用
修飾子と型メソッド説明UriComponentsBuilder.build()
このビルダーに含まれるさまざまなコンポーネントからUriComponents
インスタンスを構築します。UriComponentsBuilder.build
(boolean encoded) コンポーネントがすでに完全にエンコードされている場合にUriComponents
インスタンスを作成するUriComponentsBuilder.build()
のバリアント。UriComponentsBuilder.buildAndExpand
(ObjectSE... uriVariableValues) UriComponents
インスタンスを構築し、URI テンプレート変数を配列の値で置き換えます。UriComponentsBuilder.buildAndExpand
(MapSE<StringSE, ?> uriVariables) UriComponents
インスタンスを作成し、URI テンプレート変数をマップの値で置き換えます。final UriComponents
UriComponents.encode()
URI 変数を展開した後、これを呼び出して、結果の URI コンポーネント値をエンコードします。abstract UriComponents
"UTF-8" 以外の文字セットを持つencode()
のバリアント。final UriComponents
すべての URI テンプレート変数を特定の配列の値に置き換えます。final UriComponents
すべての URI テンプレート変数を特定のマップの値に置き換えます。final UriComponents
UriComponents.expand
(UriComponents.UriTemplateVariables uriVariables) すべての URI テンプレート変数を、指定されたUriComponents.UriTemplateVariables
の値に置き換えます。abstract UriComponents
UriComponents.normalize()
"path/.." のようなシーケンスを削除してパスを正規化します。修飾子と型メソッド説明UriComponentsBuilder.uriComponents
(UriComponents uriComponents) 指定されたUriComponents
インスタンスの値から、このビルダーの個々の URI コンポーネントを設定または追加します。