Uses of Interface
io.helidon.http.media.MediaContext
Packages that use MediaContext
Package
Description
Helidon Media Support.
Multipart Entity Media handling support.
HTTP SSE common package.
Helidon WebClient APIs shared by all types of clients.
Helidon WebClient SPI.
Helidon WebClient SSE Support.
Helidon WebServer module, combining common server API, HTTP API and HTTP/1.1 API to create a server.
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP/2 Support.
-
Uses of MediaContext in io.helidon.http.media
Methods in io.helidon.http.media that return MediaContextModifier and TypeMethodDescriptionstatic MediaContext
MediaContext.create()
Create a new media context fromServiceLoader
.static MediaContext
Create a new media context and apply provided configuration.static MediaContext
MediaContext.create
(io.helidon.http.media.MediaContextConfig config) Create media context from its prototype.static MediaContext
Create media context, customizing its configuration.Methods in io.helidon.http.media with parameters of type MediaContextModifier and TypeMethodDescriptiondefault void
MediaSupport.init
(MediaContext context) Once all providers are discovered/configured and context is established, theMediaContext
calls this method on all providers to allow sub-resolution of readers and writers. -
Uses of MediaContext in io.helidon.http.media.multipart
Methods in io.helidon.http.media.multipart with parameters of type MediaContextModifier and TypeMethodDescriptionvoid
MultiPartSupport.init
(MediaContext context) void
WriteablePart.writeClientRequest
(MediaContext context, OutputStream outputStream) Write this part as part of client request.void
WriteablePart.writeServerResponse
(MediaContext context, OutputStream outputStream, Headers requestHeaders) Write this part as part of server response. -
Uses of MediaContext in io.helidon.http.sse
Methods in io.helidon.http.sse that return types with arguments of type MediaContextModifier and TypeMethodDescriptionSseEvent.mediaContext()
Get optional media context for this event.Methods in io.helidon.http.sse with parameters of type MediaContextModifier and TypeMethodDescriptionSseEvent.Builder.mediaContext
(MediaContext mediaContext) Set the media context for this event. -
Uses of MediaContext in io.helidon.webclient.api
Methods in io.helidon.webclient.api that return MediaContextModifier and TypeMethodDescriptionprotected MediaContext
ClientRequestBase.mediaContext()
Media context configured for this request.Methods in io.helidon.webclient.api with parameters of type MediaContextModifier and TypeMethodDescriptionstatic ClientResponseEntity
ClientResponseEntity.create
(Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ClientRequestHeaders requestHeaders, ClientResponseHeaders responseHeaders, MediaContext mediaContext) Create a new client response entity. -
Uses of MediaContext in io.helidon.webclient.spi
Methods in io.helidon.webclient.spi with parameters of type MediaContextModifier and TypeMethodDescriptionSourceHandlerProvider.handle
(X source, HttpClientResponse response, MediaContext mediaContext) Handles a source. -
Uses of MediaContext in io.helidon.webclient.sse
Methods in io.helidon.webclient.sse with parameters of type MediaContextModifier and TypeMethodDescriptionSseSourceHandlerProvider.handle
(X source, HttpClientResponse response, MediaContext mediaContext) -
Uses of MediaContext in io.helidon.webserver
Methods in io.helidon.webserver that return MediaContextModifier and TypeMethodDescriptionListenerContext.mediaContext()
Media context to read and write typed entities. -
Uses of MediaContext in io.helidon.webserver.http
Methods in io.helidon.webserver.http that return MediaContextModifier and TypeMethodDescriptionprotected MediaContext
ServerResponseBase.mediaContext()
Gets media context for this response.Methods in io.helidon.webserver.http with parameters of type MediaContextModifier and TypeMethodDescriptionstatic ServerRequestEntity
ServerRequestEntity.create
(Consumer<Boolean> entityRequestedCallback, UnaryOperator<InputStream> streamFilter, ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of MediaContext in io.helidon.webserver.http2
Methods in io.helidon.webserver.http2 with parameters of type MediaContextModifier and TypeMethodDescriptionstatic Http2ServerRequestEntity
Http2ServerRequestEntity.create
(UnaryOperator<InputStream> streamFilter, UnaryOperator<InputStream> decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity.