类 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).
- 从以下版本开始:
- 2.6.0
- 作者:
- Phillip Webb, Madhura Bhave
-
字段概要
字段修饰符和类型字段说明static final WebServerNamespace
WebServerNamespace
that represents the management server.static final WebServerNamespace
WebServerNamespace
that represents the main server. -
方法概要
-
字段详细资料
-
SERVER
WebServerNamespace
that represents the main server. -
MANAGEMENT
WebServerNamespace
that represents the management server.
-
-
方法详细资料
-
getValue
Return the value of the namespace.- 返回:
- 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.- 参数:
value
- the namespace value ornull
- 返回:
- the web server namespace
-