code: @SuppressWarnings("unchecked")
      public static <T> StreamConverter<T> streamConverter(final ObjectMapper mapper,
              final List<MediaType> supportedMediaTypes) {
          return new StreamConverter(mapper, supportedMediaTypes);
      }
docs: Create stream converter with custom {@link ObjectMapper object mapper}, and custom list of
  {@link MediaType supported media types}.
  
  @param <T> generic stream element type
  @param mapper custom {@link ObjectMapper object mapper}.
  @param supportedMediaTypes custom list of {@link MediaType media types}.
  @return stream converter with customer object mapper.