クラス RootUriTemplateHandler
java.lang.ObjectSE
org.springframework.boot.web.client.RootUriTemplateHandler
- 実装済みのインターフェース一覧:
UriTemplateHandler
- 既知の直属サブクラス
LocalHostUriTemplateHandler
UriTemplateHandler は、'/' で始まる URI のルートを設定します。- 導入:
- 1.4.0
- 作成者:
- Phillip Webb
コンストラクター概要
コンストラクター修飾子コンストラクター説明RootUriTemplateHandler(StringSE rootUri) 新しいRootUriTemplateHandlerインスタンスを作成します。RootUriTemplateHandler(StringSE rootUri, UriTemplateHandler handler) 新しいRootUriTemplateHandlerインスタンスを作成します。protectedRootUriTemplateHandler(UriTemplateHandler handler) 方法の概要
修飾子と型メソッド説明static RootUriTemplateHandleraddTo(RestTemplate restTemplate, StringSE rootUri) 指定されたRestTemplateにRootUriTemplateHandlerインスタンスを追加します。
コンストラクターの詳細
RootUriTemplateHandler
RootUriTemplateHandler
新しいRootUriTemplateHandlerインスタンスを作成します。- パラメーター:
rootUri- 相対 URL のプレフィックスに使用されるルート URI
RootUriTemplateHandler
新しいRootUriTemplateHandlerインスタンスを作成します。- パラメーター:
rootUri- 相対 URL のプレフィックスに使用されるルート URIhandler- デリゲートハンドラー
方法の詳細
expand
- 次で指定:
- インターフェース
UriTemplateHandler内のexpand
expand
- 次で指定:
- インターフェース
UriTemplateHandler内のexpand
getRootUri
withHandlerWrapper
public RootUriTemplateHandler withHandlerWrapper(FunctionSE<UriTemplateHandler, UriTemplateHandler> wrapper) - パラメーター:
wrapper- デリゲート URI テンプレートハンドラーに適用するラッパー- 戻り値:
- 新しいハンドラー
- 導入:
- 2.3.10
addTo
指定されたRestTemplateにRootUriTemplateHandlerインスタンスを追加します。- パラメーター:
restTemplate- ハンドラーを追加するRestTemplaterootUri- ルート URI- 戻り値:
- 追加された
RootUriTemplateHandler。