クラス PathMappedEndpoints
java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.PathMappedEndpoints
- 実装されているすべてのインターフェース:
IterableSE<PathMappedEndpoint>
path mapped endpoints のコレクション。- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
コンストラクターの概要
コンストラクターコンストラクター説明PathMappedEndpoints(StringSE basePath, CollectionSE<EndpointsSupplier<?>> suppliers) 指定されたサプライヤーの新しいPathMappedEndpointsインスタンスを作成します。PathMappedEndpoints(StringSE basePath, EndpointsSupplier<?> supplier) 指定されたサプライヤーの新しいPathMappedEndpointsインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明getAdditionalPaths(WebServerNamespace webServerNamespace, EndpointId endpointId) マップされた各エンドポイントの追加パスを返します。マップされた各エンドポイントの完全なパスを返します (追加のパスは除く)。マップされた各エンドポイントのルートパスを返します (追加パスは除く)。エンドポイントの基本パスを返します。getEndpoint(EndpointId endpointId) エンドポイントが見つからない場合は、指定された ID のPathMappedEndpointまたはnullを返します。getPath(EndpointId endpointId) エンドポイントが見つからない場合は、指定された ID またはnullのエンドポイントの絶対パスを返します。getRootPath(EndpointId endpointId) 指定された ID のエンドポイントのルートパスを返すか、エンドポイントが見つからない場合はnullを返します。iterator()stream()すべてのpath mapped endpointsをストリーミングします。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
コンストラクターの詳細
PathMappedEndpoints
指定されたサプライヤーの新しいPathMappedEndpointsインスタンスを作成します。- パラメーター:
basePath- エンドポイントの基本パスsupplier- エンドポイントサプライヤー
PathMappedEndpoints
指定されたサプライヤーの新しいPathMappedEndpointsインスタンスを作成します。- パラメーター:
basePath- エンドポイントの基本パスsuppliers- エンドポイントサプライヤー
メソッドの詳細
getBasePath
エンドポイントの基本パスを返します。- 戻り値:
- 基本パス
getRootPath
指定された ID のエンドポイントのルートパスを返すか、エンドポイントが見つからない場合はnullを返します。- パラメーター:
endpointId- エンドポイント ID- 戻り値:
- ルートパスまたは
null
getPath
エンドポイントが見つからない場合は、指定された ID またはnullのエンドポイントの絶対パスを返します。- パラメーター:
endpointId- エンドポイント ID- 戻り値:
- 絶対パスまたは
null
getAllRootPaths
マップされた各エンドポイントのルートパスを返します (追加パスは除く)。- 戻り値:
- すべてのルートパス
getAllPaths
マップされた各エンドポイントの完全なパスを返します (追加のパスは除く)。- 戻り値:
- すべてのルートパス
getAdditionalPaths
public CollectionSE<StringSE> getAdditionalPaths(WebServerNamespace webServerNamespace, EndpointId endpointId) マップされた各エンドポイントの追加パスを返します。- パラメーター:
webServerNamespace- Web サーバーの名前空間endpointId- エンドポイント ID- 戻り値:
- すべての追加パス
- 導入:
- 3.4.0
getEndpoint
エンドポイントが見つからない場合は、指定された ID のPathMappedEndpointまたはnullを返します。- パラメーター:
endpointId- エンドポイント ID- 戻り値:
- パスにマップされたエンドポイントまたは
null
stream
すべてのpath mapped endpointsをストリーミングします。- 戻り値:
- エンドポイントのストリーム
iterator
- 次で指定:
- インターフェース
IterableSE<PathMappedEndpoint>のiterator