Class ArmeriaSettings.AccessLog

java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.AccessLog
Enclosing class:
ArmeriaSettings

public static class ArmeriaSettings.AccessLog extends Object
Configurations for the access log.
  • Constructor Details

    • AccessLog

      public AccessLog()
  • Method Details

    • getType

      public String getType()
      Returns the access log type.
    • setType

      public void setType(String type)
      Sets the access log type that is supposed to be one of "common", "combined", "disabled" or "custom".
    • getFormat

      @Nullable public @Nullable String getFormat()
      Returns the access log format. Please note that this format is used only when the specified type is "custom".
    • setFormat

      public void setFormat(@Nullable @Nullable String format)
      Sets the access log format. Please note that this format is used only when the specified type is "custom".