接口 HealthEndpointGroups
public interface HealthEndpointGroups
A collection of
groups
for use with a health endpoint.- 从以下版本开始:
- 2.2.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明Return the group with the specified name ornull
if the name is not known.default HealthEndpointGroup
Return the group with the specified additional path ornull
if no group with that path is found.default Set
<HealthEndpointGroup> getAllWithAdditionalPath
(WebServerNamespace namespace) Return all the groups with an additional path on the specifiedWebServerNamespace
.getNames()
Return the names of any additional groups.Return the primary group used by the endpoint.static HealthEndpointGroups
of
(HealthEndpointGroup primary, Map<String, HealthEndpointGroup> additional) Factory method to create aHealthEndpointGroups
instance.
-
方法详细资料
-
getPrimary
HealthEndpointGroup getPrimary()Return the primary group used by the endpoint.- 返回:
- the primary group (never
null
)
-
getNames
Return the names of any additional groups.- 返回:
- the additional group names
-
get
Return the group with the specified name ornull
if the name is not known.- 参数:
name
- the name of the group- 返回:
- the
HealthEndpointGroup
ornull
-
get
Return the group with the specified additional path ornull
if no group with that path is found.- 参数:
path
- the additional path- 返回:
- the matching
HealthEndpointGroup
ornull
- 从以下版本开始:
- 2.6.0
-
getAllWithAdditionalPath
Return all the groups with an additional path on the specifiedWebServerNamespace
.- 参数:
namespace
- theWebServerNamespace
- 返回:
- the matching groups
- 从以下版本开始:
- 2.6.0
-
of
static HealthEndpointGroups of(HealthEndpointGroup primary, Map<String, HealthEndpointGroup> additional) Factory method to create aHealthEndpointGroups
instance.- 参数:
primary
- the primary groupadditional
- the additional groups- 返回:
- a new
HealthEndpointGroups
instance
-