Creates a media type with the "image" type and the given subtype. @throws IllegalArgumentException if subtype is invalid
(String subtype)
| 868 | */ |
| 869 | |
| 870 | static MediaType createImageType(String subtype) { |
| 871 | return create(IMAGE_TYPE, subtype); |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * Creates a media type with the "text" type and the given subtype. |