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