Uses of Interface
io.helidon.http.HttpMediaType
Packages that use 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
Fields in io.helidon.http declared as HttpMediaTypeModifier 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.Fields in io.helidon.http with type parameters of type HttpMediaTypeModifier 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
Methods in io.helidon.http that return HttpMediaTypeModifier 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.Methods in io.helidon.http that return types with arguments of type HttpMediaTypeModifier 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).Methods in io.helidon.http with parameters of type HttpMediaTypeModifier 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
Methods in io.helidon.http.media.multipart that return HttpMediaTypeModifier and TypeMethodDescriptionReadablePart.contentType()
Content type of this multipart part.WriteablePart.contentType()
Content type of this part.Methods in io.helidon.http.media.multipart with parameters of type HttpMediaTypeModifier and TypeMethodDescriptionWriteablePart.Builder.contentType
(HttpMediaType mediaType) Content type of this part, with possible parameters. -
Uses of HttpMediaType in io.helidon.webclient.api
Methods in io.helidon.webclient.api with parameters of type HttpMediaTypeModifier and TypeMethodDescriptiondefault T
ClientRequest.accept
(HttpMediaType... accepted) Accepted media types. -
Uses of HttpMediaType in io.helidon.webserver.observe.log
Methods in io.helidon.webserver.observe.log that return HttpMediaTypeModifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType()
LogStreamConfig.BuilderBase.LogStreamConfigImpl.contentType()
Methods in io.helidon.webserver.observe.log with parameters of type HttpMediaTypeModifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType
(HttpMediaType contentType) Method parameters in io.helidon.webserver.observe.log with type arguments of type HttpMediaTypeModifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType
(Supplier<? extends HttpMediaType> supplier)