Package com.linecorp.armeria.server.protobuf
@NonNullByDefault
package com.linecorp.armeria.server.protobuf
Provides the default
ResponseConverterFunction
which automatically converts a Message
into
an HttpResponse
and
the default RequestConverterFunction
which automatically
converts an AggregatedHttpRequest
into
a Message
.-
ClassDescriptionA
RequestConverterFunction
which converts a Protocol Buffers or JSON body of theAggregatedHttpRequest
to an object.Provides aProtobufRequestConverterFunction
to annotated services.AResponseConverterFunction
which creates anHttpResponse
withcontent-type: application/protobuf
orcontent-type: application/json; charset=utf-8
.Provides aProtobufResponseConverterFunction
to annotated services.