Class ArmeriaSettings

java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings

@ConfigurationProperties(prefix="armeria") @Validated public class ArmeriaSettings extends Object
Settings for armeria servers. For example:

 armeria:
   ports:
     - port: 8080
       protocols: HTTP
     - address: 127.0.0.1
       port: 8081
       protocols: HTTP
     - port: 8443
       protocols: HTTPS
   ssl:
     key-alias: "host.name.com"
     key-store: "keystore.jks"
     key-store-password: "changeme"
     trust-store: "truststore.jks"
     trust-store-password: "changeme"
   compression:
     enabled: true
     mime-types: text/*, application/json
     excluded-user-agents: some-user-agent, another-user-agent
     min-response-size: 1KB
   internal-services:
     port: 18080
     include: docs, health, metrics
   enable-auto-injection: true
 
  • Constructor Details

    • ArmeriaSettings

      public ArmeriaSettings()
  • Method Details