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