Class AdditionalHealthEndpointPath
java.lang.Object
org.springframework.boot.health.actuate.endpoint.AdditionalHealthEndpointPath
Value object that represents an additional path for a
HealthEndpointGroup.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AdditionalHealthEndpointPathCreates anAdditionalHealthEndpointPathfrom the given input.org.springframework.boot.actuate.endpoint.web.WebServerNamespaceReturns theWebServerNamespaceassociated with this path.getValue()Returns the value corresponding to this path.inthashCode()booleanhasNamespace(org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace) Returnstrueif this path has the givenWebServerNamespace.static AdditionalHealthEndpointPathof(org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace, String value) Creates anAdditionalHealthEndpointPathfrom the givenWebServerNamespaceand value.toString()
-
Method Details
-
getNamespace
public org.springframework.boot.actuate.endpoint.web.WebServerNamespace getNamespace()Returns theWebServerNamespaceassociated with this path.- Returns:
- the server namespace
-
getValue
-
hasNamespace
public boolean hasNamespace(org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace) Returnstrueif this path has the givenWebServerNamespace.- Parameters:
webServerNamespace- the server namespace- Returns:
- the new instance
-
equals
-
hashCode
-
toString
-
from
Creates anAdditionalHealthEndpointPathfrom the given input. The input must contain a prefix and value separated by a `:`. The value must be limited to one path segment. For example, `server:/healthz`.- Parameters:
value- the value to parse- Returns:
- the new instance
-
of
public static AdditionalHealthEndpointPath of(org.springframework.boot.actuate.endpoint.web.WebServerNamespace webServerNamespace, String value) Creates anAdditionalHealthEndpointPathfrom the givenWebServerNamespaceand value.- Parameters:
webServerNamespace- the server namespacevalue- the value- Returns:
- the new instance
-