Package io.servicetalk.http.api
Interface HttpProtocolConfig
- All Known Subinterfaces:
H1ProtocolConfig
,H2ProtocolConfig
public interface HttpProtocolConfig
Defines configuration options for HTTP protocol versions.
-
Method Summary
Modifier and TypeMethodDescriptionalpnId()
TLS Application-Layer Protocol Negotiation (ALPN) Protocol ID of the protocol this configuration is for.HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages.
-
Method Details
-
alpnId
String alpnId()TLS Application-Layer Protocol Negotiation (ALPN) Protocol ID of the protocol this configuration is for.- Returns:
- string representation of ALPN Identification Sequence
- See Also:
-
headersFactory
HttpHeadersFactory headersFactory()HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages.- Returns:
HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages
-