クラス PathMappedEndpoints

java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.web.PathMappedEndpoints
実装されたすべてのインターフェース:
IterableSE<PathMappedEndpoint>

public class PathMappedEndpoints extends ObjectSE implements IterableSE<PathMappedEndpoint>
path mapped endpoints のコレクション。
導入:
2.0.0
作成者:
Phillip Webb
  • コンストラクターの詳細

    • PathMappedEndpoints

      public PathMappedEndpoints(StringSE basePath, EndpointsSupplier<?> supplier)
      指定されたサプライヤーの新しい PathMappedEndpoints インスタンスを作成します。
      パラメーター:
      basePath - エンドポイントの基本パス
      supplier - エンドポイントサプライヤー
    • PathMappedEndpoints

      public PathMappedEndpoints(StringSE basePath, CollectionSE<EndpointsSupplier<?>> suppliers)
      指定されたサプライヤーの新しい PathMappedEndpoints インスタンスを作成します。
      パラメーター:
      basePath - エンドポイントの基本パス
      suppliers - エンドポイントサプライヤー
  • メソッドの詳細

    • getBasePath

      public StringSE getBasePath()
      エンドポイントの基本パスを返します。
      戻り値:
      基本パス
    • getRootPath

      public StringSE getRootPath(EndpointId endpointId)
      指定された ID のエンドポイントのルートパスを返すか、エンドポイントが見つからない場合は null を返します。
      パラメーター:
      endpointId - エンドポイント ID
      戻り値:
      ルートパスまたは null
    • getPath

      public StringSE getPath(EndpointId endpointId)
      エンドポイントが見つからない場合は、指定された ID または null のエンドポイントの絶対パスを返します。
      パラメーター:
      endpointId - エンドポイント ID
      戻り値:
      絶対パスまたは null
    • getAllRootPaths

      public CollectionSE<StringSE> getAllRootPaths()
      マップされた各エンドポイントのルートパスを返します。
      戻り値:
      すべてのルートパス
    • getAllPaths

      public CollectionSE<StringSE> getAllPaths()
      マップされた各エンドポイントの完全パスを返します。
      戻り値:
      すべてのルートパス
    • getEndpoint

      public PathMappedEndpoint getEndpoint(EndpointId endpointId)
      エンドポイントが見つからない場合は、指定された ID の PathMappedEndpoint または null を返します。
      パラメーター:
      endpointId - エンドポイント ID
      戻り値:
      パスにマップされたエンドポイントまたは null
    • stream

      public StreamSE<PathMappedEndpoint> stream()
      すべての path mapped endpoints をストリーミングします。
      戻り値:
      エンドポイントのストリーム
    • iterator

      public IteratorSE<PathMappedEndpoint> iterator()
      次で指定:
      インターフェース IterableSE<PathMappedEndpoint>iterator