static RequestObjectResolver of(RequestConverterFunction function) {
            return (resolverContext, expectedResultType, expectedParameterizedResultType, beanFactoryId) -> {
                final AggregatedHttpRequest request = resolverContext.aggregatedRequest();
                if (request == null) {
                    throw new IllegalArgumentException(
                            "Cannot convert this request to an object because it is not aggregated.");
                }
                return function.convertRequest(resolverContext.context(), request,
                                               expectedResultType, expectedParameterizedResultType);
            };
        }
An interface to make a {@link RequestConverterFunction} be adapted for
{@link AnnotatedValueResolver} internal implementation.
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolver.java