@Priority(value=200) public class InetSocketAddressConverter extends Object implements org.eclipse.microprofile.config.spi.Converter<InetSocketAddress>, Serializable
<host-or-address>[:<port>]
into
an instance of InetSocketAddress
. If an address is given, then a resolved instance is returned, otherwise
an unresolved instance is returned.Constructor and Description |
---|
InetSocketAddressConverter() |
public InetSocketAddress convert(String value)
convert
in interface org.eclipse.microprofile.config.spi.Converter<InetSocketAddress>
Copyright © 2020 JBoss by Red Hat. All rights reserved.