Module io.helidon.webserver
Package io.helidon.webserver
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 io.helidon.webserver.ErrorHandling
ErrorHandling.Builder, ErrorHandling.BuilderBase<BUILDER extends ErrorHandling.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ErrorHandling> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ErrorHandlingImpl
(ErrorHandling.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
Whether to include a response entity when mapping aRequestException
using aDirectHandler
.boolean
Whether to log all messages in aRequestException
or 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:ErrorHandling
Whether to include a response entity when mapping aRequestException
using aDirectHandler
. Response entities may include data that is reflected back from the original request, albeit escaped to prevent potential attacks.- Specified by:
includeEntity
in interfaceErrorHandling
- Returns:
- include entity flag
-
logAllMessages
public boolean logAllMessages()Description copied from interface:ErrorHandling
Whether to log all messages in aRequestException
or not. If set tofalse
, only those that returntrue
forRequestException.safeMessage()
are logged.- Specified by:
logAllMessages
in interfaceErrorHandling
-
toString
-
equals
-
hashCode
public int hashCode()
-