public final class AdditionalHealthEndpointPath
extends java.lang.Object
HealthEndpointGroup.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
static AdditionalHealthEndpointPath |
from(java.lang.String value)
Creates an
AdditionalHealthEndpointPath from the given input. |
WebServerNamespace |
getNamespace()
Returns the
WebServerNamespace associated with this path. |
java.lang.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,
java.lang.String value)
Creates an
AdditionalHealthEndpointPath from the given
WebServerNamespace and value. |
java.lang.String |
toString() |
public WebServerNamespace getNamespace()
WebServerNamespace associated with this path.public java.lang.String getValue()
public boolean hasNamespace(WebServerNamespace webServerNamespace)
true if this path has the given WebServerNamespace.webServerNamespace - the server namespacepublic boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic static AdditionalHealthEndpointPath from(java.lang.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, java.lang.String value)
AdditionalHealthEndpointPath from the given
WebServerNamespace and value.webServerNamespace - the server namespacevalue - the value