Uses of Interface
io.helidon.http.HttpMediaType
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Multipart Entity Media handling support.
Helidon WebClient APIs shared by all types of clients.
Helidon WebServer Observability Log Support.
-
Uses of HttpMediaType in io.helidon.http
Modifier and TypeFieldDescriptionstatic final HttpMediaType
HttpMediaTypes.JSON_UTF_8
application/json media type with UTF-8 charset.static final HttpMediaType
HttpMediaTypes.PLAINTEXT_UTF_8
text/plain media type with UTF-8 charset.Modifier and TypeFieldDescriptionstatic final List
<HttpMediaType> ServerRequestHeaders.HUC_ACCEPT_DEFAULT_TYPES
Accepted types forServerRequestHeaders.HUC_ACCEPT_DEFAULT
.static final Predicate
<HttpMediaType> HttpMediaTypes.JSON_EVENT_STREAM_PREDICATE
Predicate to test ifMediaType
istext/event-stream
without any parameter or with parameter "element-type".static final Predicate
<HttpMediaType> HttpMediaTypes.JSON_PREDICATE
Modifier and TypeMethodDescriptionHttpMediaType.Builder.build()
static HttpMediaType
Create a new HTTP media type from media type.static HttpMediaType
Parse media type from the provided string.static HttpMediaType
HttpMediaType.create
(String mediaTypeString, ParserMode parserMode) Parse media type from the provided string.default HttpMediaType
HttpMediaType.withCharset
(String charset) Create a newHttpMediaType
instance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter.default HttpMediaType
HttpMediaType.withCharset
(Charset charset) Create a newHttpMediaType
instance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter.default HttpMediaType
HttpMediaType.withParameter
(String name, String value) Create a newHttpMediaType
instance with the same type, subtype and parameters copied from the original instance and the supplied custom parameter.Modifier and TypeMethodDescriptionHeaders.acceptedTypes()
Returns a list of acceptedTypes (HeaderNames.ACCEPT
header) content discoveryTypes in quality factor order.default List
<HttpMediaType> ClientResponseHeaders.acceptPatches()
Accepted patches.default Optional
<HttpMediaType> Headers.contentType()
Content type (if defined).Modifier and TypeMethodDescriptionboolean
HttpMediaType.test
(HttpMediaType other) Check if this media type is compatible with another media type. -
Uses of HttpMediaType in io.helidon.http.media.multipart
Modifier and TypeMethodDescriptionReadablePart.contentType()
Content type of this multipart part.WriteablePart.contentType()
Content type of this part.Modifier and TypeMethodDescriptionWriteablePart.Builder.contentType
(HttpMediaType mediaType) Content type of this part, with possible parameters. -
Uses of HttpMediaType in io.helidon.webclient.api
Modifier and TypeMethodDescriptiondefault T
ClientRequest.accept
(HttpMediaType... accepted) Accepted media types. -
Uses of HttpMediaType in io.helidon.webserver.observe.log
Modifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType()
LogStreamConfig.BuilderBase.LogStreamConfigImpl.contentType()
Modifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType
(HttpMediaType contentType) Modifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType
(Supplier<? extends HttpMediaType> supplier)