DefaultUriBuilderFactory
を推奨 @DeprecatedSE public abstract class AbstractUriTemplateHandler extends ObjectSE implements UriTemplateHandler
UriTemplateHandler
実装の抽象基本クラス。 サブクラスで使用される URI テンプレートの展開とエンコードのメカニズムに関係なく、関連する setBaseUrl(java.lang.String)
および setDefaultUriVariables(java.util.Map<java.lang.String, ?>)
プロパティをサポートします。
コンストラクターと説明 |
---|
AbstractUriTemplateHandler() 使用すべきではありません。 |
修飾子と型 | メソッドと説明 |
---|---|
URISE | expand(StringSE uriTemplate, MapSE<StringSE,?> uriVariables) 使用すべきではありません。 URI 変数のマップを使用して、指定された URI テンプレートを展開します。 |
URISE | expand(StringSE uriTemplate, ObjectSE... uriVariables) 使用すべきではありません。 URI 変数の配列を使用して、指定された URI テンプレートを展開します。 |
protected abstract URISE | expandInternal(StringSE uriTemplate, MapSE<StringSE,?> uriVariables) 使用すべきではありません。 実際に URI テンプレートを展開してエンコードします。 |
protected abstract URISE | expandInternal(StringSE uriTemplate, ObjectSE... uriVariables) 使用すべきではありません。 実際に URI テンプレートを展開してエンコードします。 |
StringSE | getBaseUrl() 使用すべきではありません。 設定されたベース URL を返します。 |
MapSE<StringSE,?> | getDefaultUriVariables() 使用すべきではありません。 構成されたデフォルト URI 変数の読み取り専用コピーを返します。 |
void | setBaseUrl(StringSE baseUrl) 使用すべきではありません。 URI テンプレートを付加するベース URL を設定します。 |
void | setDefaultUriVariables(MapSE<StringSE,?> defaultUriVariables) 使用すべきではありません。 すべての拡張 URI テンプレートで使用するデフォルトの URI 変数値を構成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void setBaseUrl(@Nullable StringSE baseUrl)
UriComponentsBuilder
を使用して完全に拡張およびエンコードする必要があります。baseUrl
- ベース URL。public void setDefaultUriVariables(@Nullable MapSE<StringSE,?> defaultUriVariables)
expand(String, Map)
に提供されたマップがデフォルト値をオーバーライドできます。defaultUriVariables
- デフォルトの URI 変数値 public MapSE<StringSE,?> getDefaultUriVariables()
public URISE expand(StringSE uriTemplate, MapSE<StringSE,?> uriVariables)
UriTemplateHandler
UriTemplateHandler
の expand
uriTemplate
- URI テンプレート uriVariables
- 変数値 public URISE expand(StringSE uriTemplate, ObjectSE... uriVariables)
UriTemplateHandler
UriTemplateHandler
の expand
uriTemplate
- URI テンプレート uriVariables
- 変数値 protected abstract URISE expandInternal(StringSE uriTemplate, MapSE<StringSE,?> uriVariables)