code: @Nonnull
    public Optional<Object> ifGet(final List<MediaType> types) {
      return Optional.ofNullable(value);
    }
docs: Get a result value for the given types (accept header).
  
  @param types Accept header.
  @return Result content.