public final class AdditionalHealthEndpointPath extends Object
HealthEndpointGroup
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static AdditionalHealthEndpointPath |
from(String value)
Creates an
AdditionalHealthEndpointPath from the given input. |
WebServerNamespace |
getNamespace()
Returns the
WebServerNamespace associated with this path. |
String |
getValue()
Returns the value corresponding to this path.
|
int |
hashCode() |
boolean |
hasNamespace(WebServerNamespace webServerNamespace)
Returns
true if this path has the given WebServerNamespace . |
static AdditionalHealthEndpointPath |
of(WebServerNamespace webServerNamespace,
String value)
Creates an
AdditionalHealthEndpointPath from the given
WebServerNamespace and value. |
String |
toString() |
public WebServerNamespace getNamespace()
WebServerNamespace
associated with this path.public String getValue()
public boolean hasNamespace(WebServerNamespace webServerNamespace)
true
if this path has the given WebServerNamespace
.webServerNamespace
- the server namespacepublic static AdditionalHealthEndpointPath from(String value)
AdditionalHealthEndpointPath
from 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`.value
- the value to parsepublic static AdditionalHealthEndpointPath of(WebServerNamespace webServerNamespace, String value)
AdditionalHealthEndpointPath
from the given
WebServerNamespace
and value.webServerNamespace
- the server namespacevalue
- the value