Uses of Interface
io.helidon.nima.http.media.MediaContext
Packages that use MediaContext
Package
Description
Entity Media handling support.
Multipart Entity Media handling support.
HTTP/2 WebServer.
Nima SSE common package.
Nima SSE webclient package.
WebClient APIs shared by all types of clients.
WebClient HTTP source SPI.
HTTP/1.1 WebClient.
NĂma WebServer module, combining common server API, HTTP API and HTTP/1.1 API to create a server.
WebServer HTTP specific APIs.
-
Uses of MediaContext in io.helidon.nima.http.media
Methods in io.helidon.nima.http.media that return MediaContextModifier and TypeMethodDescriptionMediaContext.Builder.build()static MediaContextMediaContext.create()Create a new media context fromServiceLoader.static MediaContextCreate a new media context and apply provided configuration.Methods in io.helidon.nima.http.media with parameters of type MediaContextModifier and TypeMethodDescriptionMediaContext.Builder.fallback(MediaContext mediaContext) Configure an existing context as a fallback for this context.default voidMediaSupport.init(MediaContext context) Once all providers are discovered/configured and context is established, theMediaContextcalls this method on all providers to allow sub-resolution of readers and writers. -
Uses of MediaContext in io.helidon.nima.http.media.multipart
Methods in io.helidon.nima.http.media.multipart with parameters of type MediaContextModifier and TypeMethodDescriptionvoidMultiPartSupport.init(MediaContext context) voidWriteablePart.writeClientRequest(MediaContext context, OutputStream outputStream) Write this part as part of client request.voidWriteablePart.writeServerResponse(MediaContext context, OutputStream outputStream, Headers requestHeaders) Write this part as part of server response. -
Uses of MediaContext in io.helidon.nima.http2.webserver
Methods in io.helidon.nima.http2.webserver with parameters of type MediaContextModifier and TypeMethodDescriptionstatic Http2ServerRequestEntityHttp2ServerRequestEntity.create(ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity. -
Uses of MediaContext in io.helidon.nima.sse
Methods in io.helidon.nima.sse that return types with arguments of type MediaContextModifier and TypeMethodDescriptionSseEvent.mediaContext()Get optional media context for this event.Methods in io.helidon.nima.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.nima.sse.webclient
Methods in io.helidon.nima.sse.webclient with parameters of type MediaContextModifier and TypeMethodDescriptionSseSourceHandlerProvider.handle(X source, ClientResponse response, MediaContext mediaContext) -
Uses of MediaContext in io.helidon.nima.webclient
Methods in io.helidon.nima.webclient with parameters of type MediaContextModifier and TypeMethodDescriptionstatic ClientResponseEntityClientResponseEntity.create(ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ClientRequestHeaders requestHeaders, ClientResponseHeaders responseHeaders, MediaContext mediaContext) Create a new client response entity. -
Uses of MediaContext in io.helidon.nima.webclient.http.spi
Methods in io.helidon.nima.webclient.http.spi with parameters of type MediaContextModifier and TypeMethodDescriptionSourceHandlerProvider.handle(X source, ClientResponse response, MediaContext mediaContext) Handles a source. -
Uses of MediaContext in io.helidon.nima.webclient.http1
Methods in io.helidon.nima.webclient.http1 with parameters of type MediaContextModifier and TypeMethodDescriptionHttp1Client.Http1ClientBuilder.mediaContext(MediaContext mediaContext) Configure the defaultMediaContext. -
Uses of MediaContext in io.helidon.nima.webserver
Methods in io.helidon.nima.webserver that return MediaContextModifier and TypeMethodDescriptionListenerConfiguration.mediaContext()Media context of this listener.ListenerContext.mediaContext()Media context to read and write typed entities.Methods in io.helidon.nima.webserver with parameters of type MediaContextModifier and TypeMethodDescriptionListenerConfiguration.Builder.mediaContext(MediaContext mediaContext) Configure the listener specificMediaContext.WebServer.Builder.mediaContext(MediaContext mediaContext) Configure theMediaContext. -
Uses of MediaContext in io.helidon.nima.webserver.http
Methods in io.helidon.nima.webserver.http that return MediaContextModifier and TypeMethodDescriptionprotected MediaContextServerResponseBase.mediaContext()Gets media context for this response.Methods in io.helidon.nima.webserver.http with parameters of type MediaContextModifier and TypeMethodDescriptionstatic ServerRequestEntityServerRequestEntity.create(Consumer<Boolean> entityRequestedCallback, ContentDecoder decoder, Function<Integer, BufferData> readEntityFunction, Runnable entityProcessedRunnable, ServerRequestHeaders requestHeaders, MediaContext mediaContext) Create a new entity.