Class UnsafeRequestedUriSettingsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.webserver.UnsafeRequestedUriSettingsException
All Implemented Interfaces:
Serializable

public class UnsafeRequestedUriSettingsException extends RuntimeException
Indicates unsafe settings for a socket's request URI discovery.

This exception typically results when the user has enabled requested URI discovery or selected a discovery type but has not assigned the trusted proxy AllowList.

See Also:
  • Constructor Details

    • UnsafeRequestedUriSettingsException

      public UnsafeRequestedUriSettingsException(SocketConfiguration.Builder socketConfigurationBuilder, boolean areDiscoveryTypesDefaulted)
      Creates a new exception instance.
      Parameters:
      socketConfigurationBuilder - builder for the socket config
      areDiscoveryTypesDefaulted - whether discovery types were defaulted (as opposed to set explicitly)