Class WebServerNamespace
java.lang.Object
org.springframework.boot.actuate.endpoint.web.WebServerNamespace
A web server namespace used for disambiguation when multiple web servers are running in
the same application (for example a management context running on a different port).
- Since:
- 2.6.0
- Author:
- Phillip Webb, Madhura Bhave
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WebServerNamespace
WebServerNamespace
that represents the management server.static final WebServerNamespace
WebServerNamespace
that represents the main server. -
Method Summary
-
Field Details
-
SERVER
WebServerNamespace
that represents the main server. -
MANAGEMENT
WebServerNamespace
that represents the management server.
-
-
Method Details
-
getValue
Return the value of the namespace.- Returns:
- the value
-
equals
-
hashCode
public int hashCode() -
toString
-
from
Factory method to create a newWebServerNamespace
from a value. If the value is empty ornull
thenSERVER
is returned.- Parameters:
value
- the namespace value ornull
- Returns:
- the web server namespace
-