char previewChar() {
            checkState(hasMore());
            return input.charAt(position);
        }
Parses a media type from its string representation.

@throws IllegalArgumentException if the input is not parsable
core/src/main/java/com/linecorp/armeria/common/MediaType.java