Class ServletConfig

java.lang.Object
io.quarkus.undertow.deployment.ServletConfig

@ConfigRoot(phase=BUILD_TIME) public class ServletConfig extends Object
  • Field Details

    • contextPath

      @ConfigItem @ConvertWith(ContextPathConverter.class) Optional<String> contextPath
      The context path for Servlet content. This will determine the path used to resolve all Servlet-based resources, including JAX-RS resources - when using the Undertow extension in conjunction with RESTEasy.

      This path is specified with a leading /, but is resolved relative to quarkus.http.root-path.

      • If quarkus.http.root-path=/ and quarkus.servlet.context-path=/bar, the servlet path will be /bar
      • If quarkus.http.root-path=/foo and quarkus.servlet.context-path=/bar, the servlet path will be /foo/bar
    • defaultCharset

      @ConfigItem(defaultValue="UTF-8") public String defaultCharset
      The default charset to use for reading and writing requests
  • Constructor Details

    • ServletConfig

      public ServletConfig()