public static class HostNameParameters.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostNameParameters.Builder |
allowBracketedIPv4(boolean allow) |
HostNameParameters.Builder |
allowBracketedIPv6(boolean allow) |
HostNameParameters.Builder |
allowEmpty(boolean allow) |
HostNameParameters.Builder |
allowIPAddress(boolean allow) |
HostNameParameters.Builder |
allowPort(boolean allow) |
HostNameParameters.Builder |
allowService(boolean allow) |
HostNameParameters.Builder |
expectPort(boolean expect) |
IPAddressStringParameters.Builder |
getAddressOptionsBuilder() |
HostNameParameters.Builder |
setEmptyAsLoopback(boolean bool) |
HostNameParameters.Builder |
setNormalizeToLowercase(boolean bool) |
HostNameParameters |
toParams() |
public HostNameParameters.Builder allowPort(boolean allow)
public HostNameParameters.Builder expectPort(boolean expect)
public HostNameParameters.Builder allowService(boolean allow)
public HostNameParameters.Builder allowIPAddress(boolean allow)
public HostNameParameters.Builder allowEmpty(boolean allow)
public HostNameParameters.Builder setEmptyAsLoopback(boolean bool)
public HostNameParameters.Builder allowBracketedIPv6(boolean allow)
public HostNameParameters.Builder allowBracketedIPv4(boolean allow)
public HostNameParameters.Builder setNormalizeToLowercase(boolean bool)
public IPAddressStringParameters.Builder getAddressOptionsBuilder()
public HostNameParameters toParams()