Returns the percent-decoded "host" component of this URI, or null if not present. This method assumes the host was encoded as UTF-8, as mandated by RFC 3986. Decoding errors are indicated by a '\u005CuFFFD' unicode replacement character in the output. Callers who want to detect and h
()
| 427 | * #getRawHost()}, {@link #percentDecode(CharSequence)}, then decode the bytes for themselves. |
| 428 | */ |
| 429 | @Nullable |
| 430 | public String getHost() { |
| 431 | return percentDecodeAssumedUtf8(host); |
| 432 | } |
| 433 | |
| 434 | /** |
| 435 | * Returns the host component of this URI in its originally parsed, possibly percent-encoded form. |