Index
All Classes and Interfaces|All Packages|Serialized Form
C
- CidrAddress - Class in io.smallrye.common.net
-
A Classless Inter-Domain Routing address.
- CidrAddressTable<T> - Class in io.smallrye.common.net
-
A table for mapping IP addresses to objects using
CidrAddressinstances for matching. - CidrAddressTable() - Constructor for class io.smallrye.common.net.CidrAddressTable
-
Construct a new instance.
- CidrAddressTable.Mapping<T> - Class in io.smallrye.common.net
-
A single mapping in the table.
- clear() - Method in class io.smallrye.common.net.CidrAddressTable
-
Remove all mappings from this table.
- clone() - Method in class io.smallrye.common.net.CidrAddressTable
-
Returns an atomic clone of this table.
- compareAddressBytesTo(byte[], int, int) - Method in class io.smallrye.common.net.CidrAddress
-
Compare the bytes of this address to the bytes in the given array.
- compareTo(CidrAddress) - Method in class io.smallrye.common.net.CidrAddress
- create(byte[], int) - Static method in class io.smallrye.common.net.CidrAddress
-
Create a new CIDR address.
- create(InetAddress, int) - Static method in class io.smallrye.common.net.CidrAddress
-
Create a new CIDR address.
E
- equals(CidrAddress) - Method in class io.smallrye.common.net.CidrAddress
-
Returns
trueif this address is equal to the given address, orfalseif it is not. - equals(Object) - Method in class io.smallrye.common.net.CidrAddress
-
Returns
trueif this address is equal to the given object, orfalseif it is not.
F
- findInterfaceWithScopeId(String) - Static method in class io.smallrye.common.net.Inet
-
Returns the interface whose scope name matches the given name.
G
- get(InetAddress) - Method in class io.smallrye.common.net.CidrAddressTable
-
Returns the value which best matches the given address, or
nullif none match. - getAddressByNameAndType(String, Class<T>) - Static method in class io.smallrye.common.net.Inet
-
Resolve the given host name, returning the first answer with the given address type.
- getAllAddressesByNameAndType(String, Class<T>) - Static method in class io.smallrye.common.net.Inet
-
Resolve the given host name, returning all answers with the given address type.
- getBroadcastAddress() - Method in class io.smallrye.common.net.CidrAddress
-
Get the broadcast address for this CIDR block.
- getHostName() - Static method in class io.smallrye.common.net.HostName
-
Get the detected host name.
- getHostNameIfResolved(InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the host name of the given address, if it is resolved.
- getHostNameIfResolved(InetSocketAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the host name of the given address, if it is resolved.
- getInet4Address(int, int, int, int) - Static method in class io.smallrye.common.net.Inet
-
Get an IPv4 address from four integer segments.
- getInet4Address(String, int, int, int, int) - Static method in class io.smallrye.common.net.Inet
-
Get an IPv4 address from four integer segments and a host name.
- getInet6Address(int, int, int, int, int, int, int, int) - Static method in class io.smallrye.common.net.Inet
-
Get an IPv6 address from eight integer segments.
- getInet6Address(String, int, int, int, int, int, int, int, int) - Static method in class io.smallrye.common.net.Inet
-
Get an IPv6 address from eight integer segments and a host name.
- getNetmaskBits() - Method in class io.smallrye.common.net.CidrAddress
-
Get the netmask bits.
- getNetworkAddress() - Method in class io.smallrye.common.net.CidrAddress
-
Get the network address.
- getNodeName() - Static method in class io.smallrye.common.net.HostName
-
Get the node name.
- getOrDefault(InetAddress, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Returns the value which best matches the given address, or
defValif none match. - getParent() - Method in class io.smallrye.common.net.CidrAddressTable.Mapping
-
Get the parent of this entry, if any.
- getProtocolFamily(InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the protocol family of the given Internet address.
- getQualifiedHostName() - Static method in class io.smallrye.common.net.HostName
-
Get the detected qualified host name.
- getRange() - Method in class io.smallrye.common.net.CidrAddressTable.Mapping
-
Get the address range of this entry.
- getResolved(InetSocketAddress) - Static method in class io.smallrye.common.net.Inet
-
Get a copy of the given socket address, but with a resolved address component.
- getResolved(InetSocketAddress, Class<? extends InetAddress>) - Static method in class io.smallrye.common.net.Inet
-
Get a copy of the given socket address, but with a resolved address component of the given type.
- getResolved(URI, int) - Static method in class io.smallrye.common.net.Inet
-
Get the resolved socket address from the given URI.
- getResolved(URI, int, Class<? extends InetAddress>) - Static method in class io.smallrye.common.net.Inet
-
Get a resolved socket address from the given URI.
- getResolvedInetAddress(URI) - Static method in class io.smallrye.common.net.Inet
-
Get an Internet address for a URI destination, resolving the host name if necessary.
- getResolvedInetAddress(URI, Class<T>) - Static method in class io.smallrye.common.net.Inet
-
Get an Internet address for a URI destination, resolving the host name if necessary.
- getScopeId() - Method in class io.smallrye.common.net.CidrAddress
-
Get the match address scope ID (if it is an IPv6 address).
- getScopeId(String) - Static method in class io.smallrye.common.net.Inet
-
Attempt to get the scope ID of the given string.
- getScopeId(String, InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Attempt to get the scope ID of the given string.
- getScopeId(InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the scope ID of the given address (if it is an IPv6 address).
- getScopeId(NetworkInterface) - Static method in class io.smallrye.common.net.Inet
-
Returns the scope ID of the given interface.
- getScopeId(NetworkInterface, InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Returns the scope ID of the given interface which has the same link-local and site-local attribute as the given address.
- getURIFromAddress(String, InetSocketAddress, int) - Static method in class io.smallrye.common.net.Inet
-
Extract a base URI from the given scheme and socket address.
- getUserFromURI(URI) - Static method in class io.smallrye.common.net.URIs
-
Get the user name information from a URI, if any.
- getValue() - Method in class io.smallrye.common.net.CidrAddressTable.Mapping
-
Get the stored value of this entry.
H
- hashCode() - Method in class io.smallrye.common.net.CidrAddress
- HostName - Class in io.smallrye.common.net
-
Methods for getting the system host name.
I
- Inet - Class in io.smallrye.common.net
-
Utilities relating to Internet protocol (a.k.a.
- INET4_ANY - Static variable in class io.smallrye.common.net.Inet
-
The "any" address for IPv4.
- INET4_ANY_CIDR - Static variable in class io.smallrye.common.net.CidrAddress
-
The CIDR address representing all IPv4 addresses.
- INET4_BROADCAST - Static variable in class io.smallrye.common.net.Inet
-
The broadcast-all address for IPv4.
- INET4_LOOPBACK - Static variable in class io.smallrye.common.net.Inet
-
The traditional loopback address for IPv4.
- INET6_ANY - Static variable in class io.smallrye.common.net.Inet
-
The "any" address for IPv6.
- INET6_ANY_CIDR - Static variable in class io.smallrye.common.net.CidrAddress
-
The CIDR address representing all IPv6 addresses.
- INET6_LOOPBACK - Static variable in class io.smallrye.common.net.Inet
-
The loopback address for IPv6.
- io.smallrye.common.net - module io.smallrye.common.net
-
Utilities for managing network addresses and information.
- io.smallrye.common.net - package io.smallrye.common.net
-
Utilities relating abstractly to network-related activities.
- isEmpty() - Method in class io.smallrye.common.net.CidrAddressTable
-
Returns
trueif the table is empty, orfalseotherwise. - isInet4Address(String) - Static method in class io.smallrye.common.net.Inet
-
Checks whether given String is a valid IPv4 address.
- isInet6Address(String) - Static method in class io.smallrye.common.net.Inet
-
Checks whether given String is a valid IPv6 address.
- iterator() - Method in class io.smallrye.common.net.CidrAddressTable
M
- matches(byte[]) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given address bytes.
- matches(byte[], int) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given address bytes.
- matches(CidrAddress) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given CIDR address.
- matches(Inet4Address) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given address.
- matches(Inet6Address) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given address.
- matches(InetAddress) - Method in class io.smallrye.common.net.CidrAddress
-
Determine if this CIDR address matches the given address.
P
- parseCidrAddress(String) - Static method in class io.smallrye.common.net.Inet
-
Parse a CIDR address into a
CidrAddressobject. - parseInet4Address(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv4 address into an
Inet4Addressobject. - parseInet4Address(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv4 address into an
Inet4Addressobject. - parseInet4AddressOrFail(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv4 address into an
Inet4Addressobject, throwing an exception on failure. - parseInet4AddressOrFail(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv4 address into an
Inet4Addressobject. - parseInet4AddressToBytes(String) - Static method in class io.smallrye.common.net.Inet
-
Converts IPv4 address from textual representation to bytes.
- parseInet6Address(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv6 address into an
Inet6Addressobject. - parseInet6Address(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv6 address into an
Inet6Addressobject. - parseInet6AddressOrFail(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv6 address into an
Inet6Addressobject, throwing an exception on failure. - parseInet6AddressOrFail(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IPv6 address into an
Inet6Addressobject. - parseInet6AddressToBytes(String) - Static method in class io.smallrye.common.net.Inet
-
Converts IPv6 address from textual representation to bytes.
- parseInetAddress(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IP address into an
InetAddressobject. - parseInetAddress(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IP address into an
InetAddressobject. - parseInetAddressOrFail(String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IP address into an
InetAddressobject, throwing an exception on failure. - parseInetAddressOrFail(String, String) - Static method in class io.smallrye.common.net.Inet
-
Parse an IP address into an
InetAddressobject. - parseInetAddressToBytes(String) - Static method in class io.smallrye.common.net.Inet
-
Converts an IP address from textual representation to bytes.
- put(CidrAddress, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Add a mapping for the given block.
- putIfAbsent(CidrAddress, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Add a mapping for the given block if one is not already present.
R
- removeExact(CidrAddress) - Method in class io.smallrye.common.net.CidrAddressTable
-
Remove a mapping for a specific address block.
- removeExact(CidrAddress, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Remove a mapping for a specific address block if its value is the expected value.
- replaceExact(CidrAddress, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Replace a mapping for the given block if one is already present.
- replaceExact(CidrAddress, T, T) - Method in class io.smallrye.common.net.CidrAddressTable
-
Replace a mapping for the given block if one is already present with the given expected value.
S
- setNodeName(String) - Static method in class io.smallrye.common.net.HostName
-
Set the node name.
- setQualifiedHostName(String) - Static method in class io.smallrye.common.net.HostName
-
Set the host name.
- size() - Method in class io.smallrye.common.net.CidrAddressTable
-
Returns the number of mappings in this table.
- spliterator() - Method in class io.smallrye.common.net.CidrAddressTable
T
- toInet6Address(InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the IPv6 equivalent of the given address.
- toOptimalString(byte[]) - Static method in class io.smallrye.common.net.Inet
-
Get the optimal string representation of the bytes of an IP address.
- toOptimalString(InetAddress) - Static method in class io.smallrye.common.net.Inet
-
Get the optimal string representation of an IP address.
- toString() - Method in class io.smallrye.common.net.CidrAddress
- toString() - Method in class io.smallrye.common.net.CidrAddressTable
- toURLString(byte[]) - Static method in class io.smallrye.common.net.Inet
-
Get a string representation of the given address bytes which is suitable for use as the host component of a URL.
- toURLString(InetAddress, boolean) - Static method in class io.smallrye.common.net.Inet
-
Get a string representation of the given address which is suitable for use as the host component of a URL.
U
- URIs - Class in io.smallrye.common.net
-
URI-specific utilities.
All Classes and Interfaces|All Packages|Serialized Form