Package com.linecorp.armeria.server.grpc
Interface HttpJsonTranscodingOptions
User provided options for customizing
HttpJsonTranscodingService
.-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Returns a newHttpJsonTranscodingOptionsBuilder
.Return theUnframedGrpcErrorHandler
which handles an exception raised while serving a gRPC request transcoded from an HTTP/JSON request.static HttpJsonTranscodingOptions
of()
Returns the defaultHttpJsonTranscodingOptions
.Returns theHttpJsonTranscodingQueryParamMatchRule
s which is used to match fields in aMessage
with query parameters.
-
Method Details
-
builder
Returns a newHttpJsonTranscodingOptionsBuilder
. -
of
Returns the defaultHttpJsonTranscodingOptions
. -
queryParamMatchRules
Set<HttpJsonTranscodingQueryParamMatchRule> queryParamMatchRules()Returns theHttpJsonTranscodingQueryParamMatchRule
s which is used to match fields in aMessage
with query parameters. -
errorHandler
UnframedGrpcErrorHandler errorHandler()Return theUnframedGrpcErrorHandler
which handles an exception raised while serving a gRPC request transcoded from an HTTP/JSON request.
-