Package io.servicetalk.http.api
Interface HttpProtocolConfig
-
- All Known Subinterfaces:
H1ProtocolConfig
,H2ProtocolConfig
public interface HttpProtocolConfig
Defines configuration options for HTTP protocol versions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
alpnId()
TLS Application-Layer Protocol Negotiation (ALPN) Protocol ID of the protocol this configuration is for.HttpHeadersFactory
headersFactory()
HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages.
-
-
-
Method Detail
-
alpnId
java.lang.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:
- TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs
-
headersFactory
HttpHeadersFactory headersFactory()
HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages.- Returns:
HttpHeadersFactory
to be used for creatingHttpHeaders
when decoding HTTP messages
-
-