Class ClientAltSvcConfig.BuilderBase.ClientAltSvcConfigImpl
java.lang.Object
io.helidon.webclient.api.ClientAltSvcConfig.BuilderBase.ClientAltSvcConfigImpl
- All Implemented Interfaces:
Prototype.Api, ClientAltSvcConfig
- Enclosing class:
ClientAltSvcConfig.BuilderBase<BUILDER extends ClientAltSvcConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ClientAltSvcConfig>
protected static class ClientAltSvcConfig.BuilderBase.ClientAltSvcConfigImpl
extends Object
implements ClientAltSvcConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientAltSvcConfig
ClientAltSvcConfig.Builder, ClientAltSvcConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forClientAltSvcConfig.static classClientAltSvcConfig.BuilderBase<BUILDER extends ClientAltSvcConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ClientAltSvcConfig>Fluent API builder base forClientAltSvcConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClientAltSvcConfigImpl(ClientAltSvcConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
ClientAltSvcConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:ClientAltSvcConfigWhether alternative service handling is enabled.This option defaults to
true. Setting it tofalsedisables alternative service handling even when this configuration is present.- Specified by:
enabledin interfaceClientAltSvcConfig- Returns:
- whether alternative service handling is enabled
-
protocols
Description copied from interface:ClientAltSvcConfigAllowed alternative service protocol identifiers.An empty set permits every available client protocol that supports alternative services. A non-empty set is an exact, case-sensitive allow-list of opaque ALPN protocol identifiers; it is not validated against the protocols currently provided by the client. Each Java character in the range
U+0000throughU+00FFmaps one-to-one to an identifier byte. Each identifier must contain between1and255bytes, inclusive, when this policy is enabled.- Specified by:
protocolsin interfaceClientAltSvcConfig- Returns:
- allowed alternative service protocol identifiers
-
toString
-
equals
-
hashCode
-