Uses of Interface
io.helidon.http.HttpMediaType
-
Uses of HttpMediaType in io.helidon.http
Fields in io.helidon.http declared as HttpMediaTypeModifier and TypeFieldDescriptionstatic final HttpMediaTypeHttpMediaTypes.JSON_UTF_8application/json media type with UTF-8 charset.static final HttpMediaTypeHttpMediaTypes.PLAINTEXT_UTF_8text/plain media type with UTF-8 charset.Fields in io.helidon.http with type parameters of type HttpMediaTypeModifier and TypeFieldDescriptionstatic final List<HttpMediaType> ServerRequestHeaders.HUC_ACCEPT_DEFAULT_TYPESAccepted types forServerRequestHeaders.HUC_ACCEPT_DEFAULT.static final Predicate<HttpMediaType> HttpMediaTypes.JSON_EVENT_STREAM_PREDICATEPredicate to test ifMediaTypeistext/event-streamwithout any parameter or with parameter "element-type".static final Predicate<HttpMediaType> HttpMediaTypes.JSON_PREDICATEPredicate to test ifMediaTypeisapplication/jsonor hasjsonsuffix.Methods in io.helidon.http that return HttpMediaTypeModifier and TypeMethodDescriptionHttpMediaType.Builder.build()static HttpMediaTypeHttpMediaType.create(io.helidon.common.media.type.MediaType mediaType) Create a new HTTP media type from media type.static HttpMediaTypeParse media type from the provided string.static HttpMediaTypeParse media type from the provided string.default HttpMediaTypeHttpMediaType.withCharset(String charset) Create a newHttpMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter.default HttpMediaTypeHttpMediaType.withCharset(Charset charset) Create a newHttpMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter.default HttpMediaTypeHttpMediaType.withParameter(String name, String value) Create a newHttpMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied custom parameter.Methods in io.helidon.http that return types with arguments of type HttpMediaTypeModifier and TypeMethodDescriptionHeaders.acceptedTypes()Returns a list of acceptedTypes (HeaderNames.ACCEPTheader) content discoveryTypes in quality factor order.default List<HttpMediaType> ClientResponseHeaders.acceptPatches()Accepted patches.default Optional<HttpMediaType> Headers.contentType()Content type (if defined).Methods in io.helidon.http with parameters of type HttpMediaTypeModifier and TypeMethodDescriptionbooleanHttpMediaType.test(HttpMediaType other) Check if this media type is compatible with another media type.