クラス WebServerNamespace
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.WebServerNamespace
複数の Web サーバーが同じアプリケーションで実行されている場合 (たとえば、異なるポートで実行されている管理コンテキスト) に、区別のために使用される Web サーバーの名前空間。
- 導入:
- 2.6.0
- 作成者:
- Phillip Webb, Madhura Bhave
フィールドのサマリー
フィールド修飾子と型フィールド説明static final WebServerNamespace管理サーバーを表すWebServerNamespace。static final WebServerNamespaceメインサーバーを表すWebServerNamespace。メソッドのサマリー
修飾子と型メソッド説明booleanstatic WebServerNamespace値から新しいWebServerNamespaceを作成するファクトリメソッド。static WebServerNamespacefrom(@Nullable ApplicationContext context) 値から新しいWebServerNamespaceを作成するファクトリメソッド。getValue()名前空間の値を返します。inthashCode()toString()
フィールドの詳細
SERVER
メインサーバーを表すWebServerNamespace。MANAGEMENT
管理サーバーを表すWebServerNamespace。
メソッドの詳細
getValue
equals
hashCode
toString
from
Factory method to create a newWebServerNamespacefrom a value. If the context isnullor not a web server context thenSERVERis returned.- パラメーター:
context- アプリケーションコンテキスト- 戻り値:
- Web サーバーの名前空間
- 導入:
- 4.0.1
from
- パラメーター:
value- 名前空間の値またはnull- 戻り値:
- Web サーバーの名前空間