public static MediaType wildcard ( String type ) { requireNonNull ( type , TYPE_CANNOT_BE_NULL ) ; return new ImmutableMediaType ( MediaTypes . preferredSyntax ( ) , type , WILDCARD_TYPE , null , null ) ; }
Create a wildcard media type for a given primary type