public class RootUriTemplateHandler extends ObjectSE implements UriTemplateHandler
UriTemplateHandler
は、'/'
で始まる URI のルートを設定します。修飾子 | コンストラクターと説明 |
---|---|
| RootUriTemplateHandler(StringSE rootUri) 新しい RootUriTemplateHandler インスタンスを作成します。 |
| RootUriTemplateHandler(StringSE rootUri, UriTemplateHandler handler) 新しい RootUriTemplateHandler インスタンスを作成します。 |
protected | RootUriTemplateHandler(UriTemplateHandler handler) |
修飾子と型 | メソッドと説明 |
---|---|
static RootUriTemplateHandler | addTo(RestTemplate restTemplate, StringSE rootUri) 指定された RestTemplate に RootUriTemplateHandler インスタンスを追加します。 |
URISE | expand(StringSE uriTemplate, MapSE<StringSE,?> uriVariables) |
URISE | expand(StringSE uriTemplate, ObjectSE... uriVariables) |
StringSE | getRootUri() |
RootUriTemplateHandler | withHandlerWrapper(FunctionSE<UriTemplateHandler, UriTemplateHandler> wrapper) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected RootUriTemplateHandler(UriTemplateHandler handler)
public RootUriTemplateHandler(StringSE rootUri)
RootUriTemplateHandler
インスタンスを作成します。rootUri
- 相対 URL のプレフィックスに使用されるルート URIpublic RootUriTemplateHandler(StringSE rootUri, UriTemplateHandler handler)
RootUriTemplateHandler
インスタンスを作成します。rootUri
- 相対 URL のプレフィックスに使用されるルート URIhandler
- デリゲートハンドラー public URISE expand(StringSE uriTemplate, MapSE<StringSE,?> uriVariables)
UriTemplateHandler
の expand
public URISE expand(StringSE uriTemplate, ObjectSE... uriVariables)
UriTemplateHandler
の expand
public StringSE getRootUri()
public RootUriTemplateHandler withHandlerWrapper(FunctionSE<UriTemplateHandler,UriTemplateHandler> wrapper)
wrapper
- デリゲート URI テンプレートハンドラーに適用するラッパー public static RootUriTemplateHandler addTo(RestTemplate restTemplate, StringSE rootUri)
RestTemplate
に RootUriTemplateHandler
インスタンスを追加します。restTemplate
- ハンドラーを追加する RestTemplate
rootUri
- ルート URIRootUriTemplateHandler
。