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.
Helidon Media Support.
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 HttpMediaTypeHttpMediaTypes.JSONapplication/json media type with no explicit charset.static 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_PREDICATEMethods in io.helidon.http that return HttpMediaTypeModifier and TypeMethodDescriptionHttpMediaType.Builder.build()static HttpMediaTypeCreate a new HTTP media type from media type.static HttpMediaTypeParse media type from the provided string.static HttpMediaTypeHttpMediaType.create(String mediaTypeString, ParserMode parserMode) Parse 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. -
Uses of HttpMediaType in io.helidon.http.media
Methods in io.helidon.http.media that return HttpMediaTypeModifier and TypeMethodDescriptionMediaSupportConfig.BuilderBase.MediaSupportConfigImpl.contentType()MediaSupportConfig.contentType()Content type to use if not configured (in response headers for server, and in request headers for client).Methods in io.helidon.http.media that return types with arguments of type HttpMediaTypeModifier and TypeMethodDescriptionMediaSupportConfig.BuilderBase.contentType()Content type to use if not configured (in response headers for server, and in request headers for client).Methods in io.helidon.http.media with parameters of type HttpMediaTypeModifier and TypeMethodDescriptionMediaSupportConfig.BuilderBase.contentType(HttpMediaType contentType) Content type to use if not configured (in response headers for server, and in request headers for client).protected booleanMediaSupportBase.isMediaTypeSupported(HttpMediaType mediaType) Check whether the provided media type is one of the supported media types.Method parameters in io.helidon.http.media with type arguments of type HttpMediaTypeModifier and TypeMethodDescriptionMediaSupportConfig.BuilderBase.contentType(Supplier<? extends HttpMediaType> supplier) Content type to use if not configured (in response headers for server, and in request headers for client). -
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 TClientRequest.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()ContentType option.LogStreamConfig.BuilderBase.LogStreamConfigImpl.contentType()LogStreamConfig.contentType()ContentType option.Methods in io.helidon.webserver.observe.log with parameters of type HttpMediaTypeModifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType(HttpMediaType contentType) ContentType option.Method parameters in io.helidon.webserver.observe.log with type arguments of type HttpMediaTypeModifier and TypeMethodDescriptionLogStreamConfig.BuilderBase.contentType(Supplier<? extends HttpMediaType> supplier) ContentType option.