public class PathMappedEndpoints extends ObjectSE implements IterableSE<PathMappedEndpoint>
path mapped endpoints
のコレクション。コンストラクターと説明 |
---|
PathMappedEndpoints(StringSE basePath, CollectionSE<EndpointsSupplier<?>> suppliers) 指定されたサプライヤーの新しい PathMappedEndpoints インスタンスを作成します。 |
PathMappedEndpoints(StringSE basePath, EndpointsSupplier<?> supplier) 指定されたサプライヤーの新しい PathMappedEndpoints インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
CollectionSE<StringSE> | getAllPaths() マップされた各エンドポイントの完全パスを返します。 |
CollectionSE<StringSE> | getAllRootPaths() マップされた各エンドポイントのルートパスを返します。 |
StringSE | getBasePath() エンドポイントの基本パスを返します。 |
PathMappedEndpoint | getEndpoint(EndpointId endpointId) エンドポイントが見つからない場合は、指定された ID の PathMappedEndpoint または null を返します。 |
StringSE | getPath(EndpointId endpointId) エンドポイントが見つからない場合は、指定された ID または null のエンドポイントの絶対パスを返します。 |
StringSE | getRootPath(EndpointId endpointId) 指定された ID のエンドポイントのルートパスを返すか、エンドポイントが見つからない場合は null を返します。 |
IteratorSE<PathMappedEndpoint> | iterator() |
StreamSE<PathMappedEndpoint> | stream() すべての path mapped endpoints をストリーミングします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
forEachSE, spliteratorSE
public PathMappedEndpoints(StringSE basePath, EndpointsSupplier<?> supplier)
PathMappedEndpoints
インスタンスを作成します。basePath
- エンドポイントの基本パス supplier
- エンドポイントサプライヤー public PathMappedEndpoints(StringSE basePath, CollectionSE<EndpointsSupplier<?>> suppliers)
PathMappedEndpoints
インスタンスを作成します。basePath
- エンドポイントの基本パス suppliers
- エンドポイントサプライヤー public StringSE getBasePath()
public StringSE getRootPath(EndpointId endpointId)
null
を返します。endpointId
- エンドポイント IDnull
public StringSE getPath(EndpointId endpointId)
null
のエンドポイントの絶対パスを返します。endpointId
- エンドポイント IDnull
public CollectionSE<StringSE> getAllRootPaths()
public CollectionSE<StringSE> getAllPaths()
public PathMappedEndpoint getEndpoint(EndpointId endpointId)
PathMappedEndpoint
または null
を返します。endpointId
- エンドポイント IDnull
public StreamSE<PathMappedEndpoint> stream()
path mapped endpoints
をストリーミングします。public IteratorSE<PathMappedEndpoint> iterator()
IterableSE<PathMappedEndpoint>
の iteratorSE