Class FilteredHostException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.http.client.FilteredHostException
All Implemented Interfaces:
Serializable

public class FilteredHostException extends RuntimeException
Exception thrown when a host was not used due to an InetAddressFilter.
Since:
4.1.0
See Also:
  • Method Details

    • getHost

      public String getHost()
      Return the host that was not matched.
      Returns:
      the unmatched host
    • getFilter

      public InetAddressFilter getFilter()
      Return the filter that was used.
      Returns:
      the filter that didn't match