Interface Host


public interface Host
A host name of the URI.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Host
    of(String host)
    Returns the Host instance for the given host name.
    default String
    Returns a string that represents the host name.
  • Method Details

    • of

      static Host of(String host)
      Returns the Host instance for the given host name.
      Throws:
      IllegalArgumentException - when host is empty or blank
    • value

      default String value()
      Returns a string that represents the host name.