Utility methods and classes for networking (such as IP addresses and domain names).
This package is a part of the open-source Guava library.
- Craig Berry
Class Summary Class Description HostAndPortAn immutable representation of a host and port. HostSpecifierA syntactically valid host specifier, suitable for use in a URI. HttpHeadersContains constant definitions for the HTTP header field names. HttpHeaders.ReferrerPolicyValuesValues for the
InetAddressesStatic utility methods pertaining to
InetAddresses.TeredoInfoA simple immutable data class to encapsulate the information to be found in a Teredo address. InternetDomainNameAn immutable well-formed internet domain name, such as
MediaTypeRepresents an Internet Media Type (also known as a MIME Type or Content Type). PercentEscaperA
UnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent encoding scheme.
Escaperinstances suitable for strings to be included in particular sections of URLs.