Class ErrorHandling.BuilderBase.ErrorHandlingImpl
java.lang.Object
io.helidon.webserver.ErrorHandling.BuilderBase.ErrorHandlingImpl
- All Implemented Interfaces:
Prototype.Api, ErrorHandling
- Enclosing class:
ErrorHandling.BuilderBase<BUILDER extends ErrorHandling.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ErrorHandling>
protected static class ErrorHandling.BuilderBase.ErrorHandlingImpl
extends Object
implements ErrorHandling
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ErrorHandling
ErrorHandling.Builder, ErrorHandling.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forErrorHandling.static classErrorHandling.BuilderBase<BUILDER extends ErrorHandling.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ErrorHandling>Fluent API builder base forErrorHandling. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedErrorHandlingImpl(ErrorHandling.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanWhether to include a response entity when mapping aRequestExceptionusing aDirectHandler.booleanWhether to log all messages in aRequestExceptionor not.toString()
-
Constructor Details
-
ErrorHandlingImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
includeEntity
public boolean includeEntity()Description copied from interface:ErrorHandlingWhether 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.- Specified by:
includeEntityin interfaceErrorHandling- Returns:
- include entity flag
-
logAllMessages
public boolean logAllMessages()Description copied from interface:ErrorHandlingWhether to log all messages in aRequestExceptionor not. If set tofalse, only those that returntrueforRequestException.safeMessage()are logged.- Specified by:
logAllMessagesin interfaceErrorHandling- Returns:
- whether to log all messages
-
toString
-
equals
-
hashCode
-