Class 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 Detail

      • 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)