static HttpResponse handleResult(HttpCodeStatusMapper statusMapper, ServiceRequestContext ctx,
                                     @Nullable Object result, HttpMethod method) throws Throwable {
        if (result == null) {
            return HttpResponse.of(method != HttpMethod.GET ? HttpStatus.NO_CONTENT : HttpStatus.NOT_FOUND);
        }

        return handleResult0(statusMapper, ctx, result);
    }
{@link HttpService} to handle a {@link WebOperation}. Mostly inspired by reactive implementation in
{@link AbstractWebFluxEndpointHandlerMapping}.
spring/boot3-actuator-autoconfigure/src/main/java/com/linecorp/armeria/spring/actuate/WebOperationService.java