code: public static List<MediaType> intersectMimeTypes(List<MediaType> requiredMediaTypes,
                                                       List<MediaType> userMediaTypes,
                                                       boolean addRequiredParamsIfPossible) {
          return intersectMimeTypes(requiredMediaTypes, userMediaTypes, addRequiredParamsIfPossible, false);
      }
docs: intersect two mime types
  
  @param mimeTypesA
  @param mimeTypesB
  @return return a list of intersected mime types