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 specificRetrySchema
to the byte channel.Configures thisDefaultMediaSupport.Builder
from the suppliedConfig
.includeStackTraces
(boolean includeStackTraces) Whether stack traces should be included in response.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in 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 specificRetrySchema
to the byte channel.- Parameters:
schema
- retry schema- Returns:
- updated builder instance
-
config
Configures thisDefaultMediaSupport.Builder
from 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
-