java.lang.Object
io.helidon.http.HttpMediaTypes
Constants for
HttpMediaType
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Predicate
<HttpMediaType> Predicate to test ifMediaType
istext/event-stream
without any parameter or with parameter "element-type".static final Predicate
<HttpMediaType> static final HttpMediaType
application/json media type with UTF-8 charset.static final HttpMediaType
text/plain media type with UTF-8 charset. -
Method Summary
-
Field Details
-
JSON_UTF_8
application/json media type with UTF-8 charset. -
JSON_PREDICATE
-
PLAINTEXT_UTF_8
text/plain media type with UTF-8 charset. -
JSON_EVENT_STREAM_PREDICATE
Predicate to test ifMediaType
istext/event-stream
without any parameter or with parameter "element-type". This "element-type" has to be equal to "application/json".
-