Package io.quarkus.runtime.configuration
Class InetSocketAddressConverter
- java.lang.Object
-
- io.quarkus.runtime.configuration.InetSocketAddressConverter
-
- All Implemented Interfaces:
Serializable
,org.eclipse.microprofile.config.spi.Converter<InetSocketAddress>
@Priority(200) public class InetSocketAddressConverter extends Object implements org.eclipse.microprofile.config.spi.Converter<InetSocketAddress>, Serializable
A converter which converts a socket address in the form of<host-or-address>[:<port>]
into an instance ofInetSocketAddress
. If an address is given, then a resolved instance is returned, otherwise an unresolved instance is returned.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InetSocketAddressConverter()
-
-
-
Method Detail
-
convert
public InetSocketAddress convert(String value)
- Specified by:
convert
in interfaceorg.eclipse.microprofile.config.spi.Converter<InetSocketAddress>
-
-