public class LocalHostUriTemplateHandler extends RootUriTemplateHandler
UriTemplateHandler
は、相対 URI に localhost:${local.server.port}
を自動的にプレフィックスします。コンストラクターと説明 |
---|
LocalHostUriTemplateHandler(Environment environment) 指定された environment を使用して http URI を生成し、コンテキストパスとポートを決定する新しい LocalHostUriTemplateHandler を作成します。 |
LocalHostUriTemplateHandler(Environment environment, StringSE scheme) 指定された scheme で URI を生成する新しい LocalHostUriTemplateHandler を作成し、指定された environment を使用してコンテキストパスとポートを決定します。 |
LocalHostUriTemplateHandler(Environment environment, StringSE scheme, UriTemplateHandler handler) 指定された scheme で URI を生成する新しい LocalHostUriTemplateHandler を作成し、指定された environment を使用してコンテキストパスとポートを決定し、指定されたテンプレート handler に委譲します。 |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getRootUri() |
addTo, expand, expand
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public LocalHostUriTemplateHandler(Environment environment)
environment
を使用して http
URI を生成し、コンテキストパスとポートを決定する新しい LocalHostUriTemplateHandler
を作成します。environment
- ポートを決定するために使用される環境 public LocalHostUriTemplateHandler(Environment environment, StringSE scheme)
scheme
で URI を生成する新しい LocalHostUriTemplateHandler
を作成し、指定された environment
を使用してコンテキストパスとポートを決定します。environment
- ポートを決定するために使用される環境 scheme
- ルートウリのスキーム public LocalHostUriTemplateHandler(Environment environment, StringSE scheme, UriTemplateHandler handler)
scheme
で URI を生成する新しい LocalHostUriTemplateHandler
を作成し、指定された environment
を使用してコンテキストパスとポートを決定し、指定されたテンプレート handler
に委譲します。environment
- ポートを決定するために使用される環境 scheme
- ルートウリのスキーム handler
- デリゲートハンドラー public StringSE getRootUri()
RootUriTemplateHandler
の getRootUri
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.