java.lang.Object
io.helidon.media.common.DefaultMediaSupport.Builder
- All Implemented Interfaces:
Builder<DefaultMediaSupport.Builder,,DefaultMediaSupport> Supplier<DefaultMediaSupport>
- Enclosing class:
- DefaultMediaSupport
public static class DefaultMediaSupport.Builder
extends Object
implements Builder<DefaultMediaSupport.Builder,DefaultMediaSupport>
Default media support builder.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.byteChannelRetrySchema(RetrySchema schema) Set specificRetrySchemato the byte channel.Configures thisDefaultMediaSupport.Builderfrom the suppliedConfig.includeStackTraces(boolean includeStackTraces) Whether stack traces should be included in response.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<DefaultMediaSupport.Builder,DefaultMediaSupport> - Returns:
- instance of the built type
-
includeStackTraces
Whether stack traces should be included in response.- Parameters:
includeStackTraces- include stack trace- Returns:
- updated builder instance
-
byteChannelRetrySchema
Set specificRetrySchemato the byte channel.- Parameters:
schema- retry schema- Returns:
- updated builder instance
-
config
Configures thisDefaultMediaSupport.Builderfrom the suppliedConfig.Optional configuration parameters key description include-stack-traces Whether stack traces should be included in response - Parameters:
config- media support config- Returns:
- updated builder instance
-