- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
apply
@Nullable
@Nullable Status apply(com.linecorp.armeria.common.RequestContext ctx,
Throwable throwable,
Metadata metadata)
Maps the specified
Throwable to a gRPC
Status,
and mutates the specified
Metadata.
If
null is returned, the built-in mapping rule is used by default.