Class Host

    • Constructor Detail

      • Host

        public Host​(Uri.Host host,
                    int port)
    • Method Detail

      • apply

        public static Host apply​(java.net.InetSocketAddress address)
      • apply

        public static Host apply​(java.lang.String host)
      • apply

        public static Host apply​(java.lang.String host,
                                 int port)
      • empty

        public static Host empty()
      • name

        public static java.lang.String name()
      • lowercaseName

        public static java.lang.String lowercaseName()
      • parseFromValueString

        public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,​T> parseFromValueString​(java.lang.String value)
      • port

        public int port()
        Specified by:
        port in class Host
      • isEmpty

        public boolean isEmpty()
      • equalsIgnoreCase

        public boolean equalsIgnoreCase​(Host other)