Uses of Interface
io.inverno.mod.http.base.header.Headers.ContentType
Packages that use Headers.ContentType
Package
Description
Inverno HTTP base API.
Inverno HTTP header API.
Inverno HTTP header API implementation classes including HTTP Header codecs and header service bean.
-
Uses of Headers.ContentType in io.inverno.mod.http.base
Methods in io.inverno.mod.http.base that return Headers.ContentTypeModifier and TypeMethodDescriptionInboundRequestHeaders.getContentTypeHeader()Decodes and returns the content type header of the request.InboundResponseHeaders.getContentTypeHeader()Decodes and returns the content type header of the request. -
Uses of Headers.ContentType in io.inverno.mod.http.base.header
Methods in io.inverno.mod.http.base.header that return types with arguments of type Headers.ContentTypeModifier and TypeMethodDescriptionHeaders.Accept.findAllMatch(Collection<Headers.ContentType> contentTypes) Returns all the content types in the specified collection that matches the accept header sorted from best to worst.Headers.Accept.findBestMatch(Collection<Headers.ContentType> contentTypes) Returns the content type in the specified collection that best matches the accept header.static <T> Optional<Headers.AcceptMatch<T, Headers.ContentType>> Headers.Accept.MediaRange.findFirstMatch(Headers.ContentType contentType, Collection<T> items, Function<T, Headers.Accept.MediaRange> mediaRangeExtractor) Returns the first item in the specified collection whose media range matches the specified content type.Headers.Accept.MediaRange.findFirstMatch(Headers.ContentType contentType, List<Headers.Accept.MediaRange> mediaRanges) Returns the first media range in the specified list that matches the specified content type.Methods in io.inverno.mod.http.base.header with parameters of type Headers.ContentTypeModifier and TypeMethodDescriptionstatic <T> Optional<Headers.AcceptMatch<T, Headers.ContentType>> Headers.Accept.MediaRange.findFirstMatch(Headers.ContentType contentType, Collection<T> items, Function<T, Headers.Accept.MediaRange> mediaRangeExtractor) Returns the first item in the specified collection whose media range matches the specified content type.Headers.Accept.MediaRange.findFirstMatch(Headers.ContentType contentType, List<Headers.Accept.MediaRange> mediaRanges) Returns the first media range in the specified list that matches the specified content type.default booleanHeaders.Accept.MediaRange.matches(Headers.ContentType contentType) Determines whether the specified content type matches the media range.Method parameters in io.inverno.mod.http.base.header with type arguments of type Headers.ContentTypeModifier and TypeMethodDescriptionHeaders.Accept.findAllMatch(Collection<Headers.ContentType> contentTypes) Returns all the content types in the specified collection that matches the accept header sorted from best to worst.default <T> Collection<Headers.AcceptMatch<Headers.Accept.MediaRange, T>> Headers.Accept.findAllMatch(Collection<T> items, Function<T, Headers.ContentType> contentTypeExtractor) Returns all the items in the specified collection whose content type matches the accept header sorted from best to worst.Headers.Accept.findBestMatch(Collection<Headers.ContentType> contentTypes) Returns the content type in the specified collection that best matches the accept header.default <T> Optional<Headers.AcceptMatch<Headers.Accept.MediaRange, T>> Headers.Accept.findBestMatch(Collection<T> items, Function<T, Headers.ContentType> contentTypeExtractor) Returns the item from the specified collection whose content type best matches the accept header. -
Uses of Headers.ContentType in io.inverno.mod.http.base.internal.header
Classes in io.inverno.mod.http.base.internal.header that implement Headers.ContentType