Package graphql.execution
Class DefaultValueUnboxer
java.lang.Object
graphql.execution.DefaultValueUnboxer
- All Implemented Interfaces:
ValueUnboxer
Public API because it should be used as a delegate when implementing a custom
ValueUnboxer-
Field Summary
Fields inherited from interface graphql.execution.ValueUnboxer
DEFAULT -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultValueUnboxer
public DefaultValueUnboxer()
-
-
Method Details
-
unbox
Description copied from interface:ValueUnboxerUnboxes 'object' if it is boxed in anOptionallike type that this unboxer can handle. Otherwise returns its input unmodified- Specified by:
unboxin interfaceValueUnboxer- Parameters:
object- to unbox- Returns:
- unboxed object, or original if cannot unbox
-
unboxValue
-