- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsafeRequestedUriSettingsException(SocketConfiguration.Builder socketConfigurationBuilder, boolean areDiscoveryTypesDefaulted)
Creates a new exception instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsafeRequestedUriSettingsException
public UnsafeRequestedUriSettingsException(SocketConfiguration.Builder socketConfigurationBuilder, boolean areDiscoveryTypesDefaulted)
Creates a new exception instance.- Parameters:
socketConfigurationBuilder
- builder for the socket configareDiscoveryTypesDefaulted
- whether discovery types were defaulted (as opposed to set explicitly)
-
-