Class HttpConfiguration

java.lang.Object
io.quarkus.vertx.http.runtime.HttpConfiguration

@Deprecated(forRemoval=true, since="3.19") @ConfigRoot(phase=RUN_TIME) public class HttpConfiguration extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    The HTTP host
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    The HTTP port
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    The HTTPS port
    Deprecated, for removal: This API element is subject to removal in a future version.
    Static Resources.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • port

      @ConfigItem(defaultValue="8080", generateDocumentation=false) public int port
      Deprecated, for removal: This API element is subject to removal in a future version.
      The HTTP port
    • host

      Deprecated, for removal: This API element is subject to removal in a future version.
      The HTTP host

      In dev/test mode this defaults to localhost, in prod mode this defaults to 0.0.0.0

      Defaulting to 0.0.0.0 makes it easier to deploy Quarkus to container, however it is not suitable for dev/test mode as other people on the network can connect to your development machine.

      As an exception, when running in Windows Subsystem for Linux (WSL), the HTTP host defaults to 0.0.0.0 even in dev/test mode since using localhost makes the application inaccessible.

    • sslPort

      @ConfigItem(defaultValue="8443", generateDocumentation=false) public int sslPort
      Deprecated, for removal: This API element is subject to removal in a future version.
      The HTTPS port
    • staticResources

      Deprecated, for removal: This API element is subject to removal in a future version.
      Static Resources.
  • Constructor Details

    • HttpConfiguration

      public HttpConfiguration()
      Deprecated, for removal: This API element is subject to removal in a future version.