Example usage for Java com.squareup.okhttp MediaType fields, constructors, methods, implement or subclass
The text is from its open source code.
MediaType | parse(String string) Returns a media type for string , or null if string is not a well-formed media type. |
String | toString() Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a Content-Type header. |