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