Uses of Interface
io.helidon.http.media.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
Modifier and TypeMethodDescriptionMediaContextConfig.Builder.build()
MediaContextConfig.BuilderBase.MediaContextConfigImpl.build()
static MediaContext
MediaContext.create()
Create a new media context fromServiceLoader
.static MediaContext
Create a new media context and apply provided configuration.static MediaContext
MediaContext.create
(MediaContextConfig config) Create media context from its prototype.static MediaContext
MediaContext.create
(Consumer<MediaContextConfig.Builder> consumer) Create media context, customizing its configuration.MediaContextConfig.BuilderBase.MediaContextConfigImpl.get()
Modifier and TypeMethodDescriptionMediaContextConfig.BuilderBase.fallback()
Existing context to be used as a fallback for this context.MediaContextConfig.BuilderBase.MediaContextConfigImpl.fallback()
Modifier and TypeMethodDescriptionMediaContextConfig.BuilderBase.fallback
(MediaContext fallback) Existing context to be used as a fallback for this context.default 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
Modifier 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
Modifier and TypeMethodDescriptionSseEvent.mediaContext()
Get optional media context for this event.Modifier and TypeMethodDescriptionSseEvent.Builder.mediaContext
(MediaContext mediaContext) Set the media context for this event. -
Uses of MediaContext in io.helidon.webclient.api
Modifier and TypeMethodDescriptionprotected MediaContext
ClientRequestBase.mediaContext()
Media context configured for this request.HttpClientConfig.BuilderBase.HttpClientConfigImpl.mediaContext()
HttpClientConfig.BuilderBase.mediaContext()
Configure the listener specificMediaContext
.Modifier and TypeMethodDescriptionstatic ClientResponseEntity
ClientResponseEntity.create
(Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ClientRequestHeaders requestHeaders, ClientResponseHeaders responseHeaders, MediaContext mediaContext) Create a new client response entity.HttpClientConfig.BuilderBase.mediaContext
(MediaContext mediaContext) Configure the listener specificMediaContext
.Modifier and TypeMethodDescriptionHttpClientConfig.BuilderBase.mediaContext
(Supplier<? extends MediaContext> supplier) Configure the listener specificMediaContext
. -
Uses of MediaContext in io.helidon.webclient.spi
Modifier and TypeMethodDescriptionSourceHandlerProvider.handle
(X source, HttpClientResponse response, MediaContext mediaContext) Handles a source. -
Uses of MediaContext in io.helidon.webclient.sse
Modifier and TypeMethodDescriptionSseSourceHandlerProvider.handle
(X source, HttpClientResponse response, MediaContext mediaContext) -
Uses of MediaContext in io.helidon.webserver
Modifier and TypeMethodDescriptionListenerContext.mediaContext()
Media context to read and write typed entities.Modifier and TypeMethodDescriptionListenerConfig.BuilderBase.ListenerConfigImpl.mediaContext()
ListenerConfig.BuilderBase.mediaContext()
Configure the listener specificMediaContext
.Modifier and TypeMethodDescriptionListenerConfig.BuilderBase.mediaContext
(MediaContext mediaContext) Configure the listener specificMediaContext
. -
Uses of MediaContext in io.helidon.webserver.http
Modifier and TypeMethodDescriptionprotected MediaContext
ServerResponseBase.mediaContext()
Gets media context for this response.Modifier 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
Modifier 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.