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
FieldsModifier and TypeFieldDescriptionstatic final WebServerNamespaceWebServerNamespacethat represents the management server.static final WebServerNamespaceWebServerNamespacethat represents the main server. -
Method Summary
-
Field Details
-
SERVER
WebServerNamespacethat represents the main server. -
MANAGEMENT
WebServerNamespacethat 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 newWebServerNamespacefrom a value. If the value is empty ornullthenSERVERis returned.- Parameters:
value- the namespace value ornull- Returns:
- the web server namespace
-