java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.webserver.UnsafeRequestedUriSettingsException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionUnsafeRequestedUriSettingsException
(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 Details
-
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)
-