Package com.linecorp.armeria.spring
Class ArmeriaSettings.InternalServiceProperties
java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.Port
com.linecorp.armeria.spring.ArmeriaSettings.InternalServiceProperties
- Enclosing class:
ArmeriaSettings
Properties for internal services such as
DocService
, PrometheusExpositionService
, and
HealthCheckService
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theinclude
property to secure the HTTP endpoints from normal ports.void
setInclude
(List<InternalServiceId> include) Sets the IDs of theHttpService
s to secure from normal ports.Methods inherited from class com.linecorp.armeria.spring.ArmeriaSettings.Port
getAddress, getIface, getIp, getPort, getProtocols, setAddress, setIface, setIp, setPort, setProtocol, setProtocols, toString
-
Constructor Details
-
InternalServiceProperties
public InternalServiceProperties()
-
-
Method Details
-
getInclude
Returns theinclude
property to secure the HTTP endpoints from normal ports. -
setInclude
Sets the IDs of theHttpService
s to secure from normal ports.Supported service IDs ID Service docs
DocService
metrics
PrometheusExpositionService
health
HealthCheckService
actuator
To bind WebOperationService
. Note that this option is only valid when"armeria-spring-boot2-actuator-autoconfigure"
is activated.InternalServiceId.ALL
can be used to include all internalHttpService
s.- See Also:
-