MediaTypes
API
MediaTypes.java
class MediaTypes {
MediaType parse(String type) (1)
}
1 | parse(String)
Same as MediaType.valueOf(type) , but with fallback in case MediaType.valueOf(type) throws an IllegalArgumentException. |
class MediaTypes {
MediaType parse(String type) (1)
}
1 | parse(String)
Same as MediaType.valueOf(type) , but with fallback in case MediaType.valueOf(type) throws an IllegalArgumentException. |