- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
ErrorHandling.BuilderBase.ErrorHandlingImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forErrorHandling.static classErrorHandling.BuilderBase<BUILDER extends ErrorHandling.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ErrorHandling> Fluent API builder base forErrorHandling. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorHandling.Builderbuilder()Create a new fluent API builder to customize configuration.static ErrorHandling.Builderbuilder(ErrorHandling instance) Create a new fluent API builder from an existing instance.static ErrorHandlingcreate()Create a new instance with default values.static ErrorHandlingDeprecated.static ErrorHandlingCreate a new instance from configuration.booleanWhether to include a response entity when mapping aRequestExceptionusing aDirectHandler.booleanWhether to log all messages in aRequestExceptionor not.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
includeEntity
boolean includeEntity()Whether to include a response entity when mapping aRequestExceptionusing aDirectHandler. Response entities may include data that is reflected back from the original request, albeit escaped to prevent potential attacks.- Returns:
- include entity flag
-
logAllMessages
boolean logAllMessages()Whether to log all messages in aRequestExceptionor not. If set tofalse, only those that returntrueforRequestException.safeMessage()are logged.
-
create(io.helidon.config.Config)