Uses of Class
com.okta.commons.http.MimeType
Packages that use MimeType
-
Uses of MimeType in com.okta.commons.http
Classes in com.okta.commons.http with type parameters of type MimeTypeSubclasses of MimeType in com.okta.commons.httpModifier and TypeClassDescriptionclassA sub-class ofMimeTypethat adds support for quality parameters as defined in the HTTP specification.Fields in com.okta.commons.http declared as MimeTypeModifier and TypeFieldDescriptionstatic final MimeTypeMimeTypeUtils.ALLPublic constant mime type that includes all media ranges (i.estatic final MimeTypeMimeTypeUtils.APPLICATION_JSONPublic constant mime type forapplication/json.static final MimeTypeMimeTypeUtils.APPLICATION_OCTET_STREAMPublic constant mime type forapplication/octet-stream.static final MimeTypeMimeTypeUtils.APPLICATION_XMLPublic constant mime type forapplication/xml.static final MimeTypeMimeTypeUtils.IMAGE_GIFPublic constant mime type forimage/gif.static final MimeTypeMimeTypeUtils.IMAGE_JPEGPublic constant mime type forimage/jpeg.static final MimeTypeMimeTypeUtils.IMAGE_PNGPublic constant mime type forimage/png.static final MimeTypeMimeTypeUtils.TEXT_HTMLPublic constant mime type fortext/html.static final MimeTypeMimeTypeUtils.TEXT_PLAINPublic constant mime type fortext/plain.static final MimeTypeMimeTypeUtils.TEXT_XMLPublic constant mime type fortext/xml.Fields in com.okta.commons.http with type parameters of type MimeTypeModifier and TypeFieldDescriptionstatic final Comparator<MimeType> MimeTypeUtils.SPECIFICITY_COMPARATORComparator used byMimeTypeUtils.sortBySpecificity(List).Methods in com.okta.commons.http that return MimeTypeModifier and TypeMethodDescriptionstatic MimeTypeMimeTypeUtils.parseMimeType(String mimeType) Parse the given String into a singleMimeType.static MimeTypeParse the given String value into aMimeTypeobject, with this method name following the 'valueOf' naming convention (as supported byorg.springframework.core.convert.ConversionService.Methods in com.okta.commons.http that return types with arguments of type MimeTypeModifier and TypeMethodDescriptionMimeTypeUtils.parseMimeTypes(String mimeTypes) Parse the given, comma-separated string into a list ofMimeTypeobjects.Methods in com.okta.commons.http with parameters of type MimeTypeModifier and TypeMethodDescriptionstatic MediaTypeMediaType.asMediaType(MimeType mimeType) Re-create the given mime type as a media type.intCompares thisMediaTypeto another alphabetically.booleanIndicate whether thisMediaTypeincludes the given media type.booleanMimeType.isCompatibleWith(MimeType other) Indicate whether thisMediaTypeis compatible with the given media type.Method parameters in com.okta.commons.http with type arguments of type MimeTypeModifier and TypeMethodDescriptionMediaType.asMediaTypes(List<MimeType> mimeTypes) Re-create the given mime types as media types.static voidMimeTypeUtils.sortBySpecificity(List<MimeType> mimeTypes) Sorts the given list ofMimeTypeobjects by specificity.static StringMimeTypeUtils.toString(Collection<? extends MimeType> mimeTypes) Return a string representation of the given list ofMimeTypeobjects.Constructors in com.okta.commons.http with parameters of type MimeTypeModifierConstructorDescriptionCopy-constructor that copies the type, subtype, parameters of the givenMimeType, and allows to set the specified character set.Copy-constructor that copies the type and subtype of the givenMimeType, and allows for different parameter.