Class AltSvcHeader.Alternative
java.lang.Object
io.helidon.webclient.api.AltSvcHeader.Alternative
- Enclosing class:
AltSvcHeader
One parsed alternative service.
-
Method Summary
Modifier and TypeMethodDescriptionTime at which this alternative expires after accounting for response age.host()Alternative host without IPv6 brackets, or empty to retain the origin host.booleanpersist()Whether this alternative can persist across network changes.intport()Alternative port.Percent-decoded ALPN protocol identifier, mapped one octet to each ISO-8859-1 character.
-
Method Details
-
protocolId
Percent-decoded ALPN protocol identifier, mapped one octet to each ISO-8859-1 character.- Returns:
- protocol identifier
-
host
-
port
public int port()Alternative port.- Returns:
- alternative port
-
expirationTime
Time at which this alternative expires after accounting for response age.- Returns:
- expiration time
-
persist
public boolean persist()Whether this alternative can persist across network changes.- Returns:
- whether the alternative is persistent
-