Package com.google.common.net
@CheckReturnValue
@NullMarked
package com.google.common.net
Utility methods and classes for networking (such as IP addresses and domain names).
This package is a part of the open-source Guava library.
- Author:
- Craig Berry
-
ClassDescriptionAn immutable representation of a host and port.A syntactically valid host specifier, suitable for use in a URI.Contains constant definitions for the HTTP header field names.Values for the
Referrer-Policy
header.Static utility methods pertaining toInetAddress
instances.A simple immutable data class to encapsulate the information to be found in a Teredo address.An immutable well-formed internet domain name, such ascom
orfoo.co.uk
.Represents an Internet Media Type (also known as a MIME Type or Content Type).AUnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent encoding scheme.Escaper
instances suitable for strings to be included in particular sections of URLs.