Uses of Class
io.helidon.media.common.MediaContext.Builder
-
Uses of MediaContext.Builder in io.helidon.media.common
Modifier and TypeMethodDescriptionMediaContext.Builder.addMediaSupport
(MediaSupport mediaSupport) MediaContext.Builder.addMediaSupport
(MediaSupport mediaSupport, int priority) Adds new instance ofMediaSupport
with specific priority.MediaContext.Builder.addReader
(MessageBodyReader<?> reader) MediaContext.Builder.addStreamReader
(MessageBodyStreamReader<?> streamReader) MediaContext.Builder.addStreamWriter
(MessageBodyStreamWriter<?> streamWriter) MediaContext.Builder.addWriter
(MessageBodyWriter<?> writer) static MediaContext.Builder
MediaContext.builder()
Create a newMediaContext.Builder
instance.Configures thisMediaContext.Builder
from the suppliedConfig
.MediaContext.Builder.discoverServices
(boolean discoverServices) Whether Java Service Loader should be used to loadMediaSupportProvider
.MediaContext.Builder.filterServices
(boolean filterServices) Whether services loaded by Java Service Loader should be filtered.MediaContext.Builder.registerDefaults
(boolean registerDefaults) Whether default readers and writers should be registered.