T - represents HttpMessagepublic interface H2MessageConverter<T extends HttpMessage>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(List<Header> headers)
Converts given list of HTTP/2 headers to a
HttpMessage. |
List<Header> |
convert(T message)
Converts given
HttpMessage to a list of HTTP/2 headers. |
T convert(List<Header> headers) throws HttpException
HttpMessage.headers - list of HTTP/2 headersHttpException - in case of HTTP protocol violationList<Header> convert(T message) throws HttpException
HttpMessage to a list of HTTP/2 headers.message - HTTP messageHttpException - in case of HTTP protocol violationCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.