com.vaadin.flow.spring.

Class VaadinConfigurationProperties.Devmode

java.lang.Object
com.vaadin.flow.spring.VaadinConfigurationProperties.Devmode

Enclosing class:

VaadinConfigurationProperties

public static class VaadinConfigurationProperties.Devmode extends Object
  • Constructor Details

    • Devmode

      public Devmode()
  • Method Details

    • getHostsAllowed

      public String getHostsAllowed()

      Gets the hosts allowed to connect to the dev mode server.

      Returns:

      the hosts allowed to connect to the dev mode server

    • setHostsAllowed

      public void setHostsAllowed(String hostsAllowed)

      Sets the hosts allowed to connect to the dev mode server.

      Parameters:

      hostsAllowed - - the hosts allowed to connect to the dev mode server

    • getRemoteAddressHeader

      public String getRemoteAddressHeader()

      Gets the name of the custom HTTP header that contains the client IP address that is checked to allow access to the dev mode server.

      Returns:

      the name of the custom HTTP header that contains the client IP address that is checked to allow access to the dev mode server.

    • setRemoteAddressHeader

      public void setRemoteAddressHeader(String remoteAddressHeader)

      Sets the name of the custom HTTP header that contains the client IP address that is checked to allow access to the dev mode server. The HTTP header is supposed to contain a single address, and the HTTP request to have a single occurrence of the header. If not specified, remote address are read from the X-Forwarded-For header.

      Parameters:

      remoteAddressHeader - the name of the custom HTTP header that contains the client IP address that is checked to allow access to the dev mode server.