(String type, String subtype)
| 99 | private static final String WILDCARD = "*"; |
| 100 | private static final Map<MediaType, MediaType> KNOWN_TYPES = Maps.newHashMap(); |
| 101 | private static MediaType createConstant(String type, String subtype) { |
| 102 | return addKnownType(new MediaType(type, subtype, ImmutableListMultimap.<String, String>of())); |
| 103 | } |
| 104 | |
| 105 | private static MediaType createConstantUtf8(String type, String subtype) { |
| 106 | return addKnownType(new MediaType(type, subtype, UTF_8_CONSTANT_PARAMETERS)); |
no test coverage detected