public interface Config
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
ERROR_EXTENSION_ALL_KNOWN |
static String |
ERROR_EXTENSION_CLASSIFICATION |
static String |
ERROR_EXTENSION_CODE |
static String |
ERROR_EXTENSION_DESCRIPTION |
static String |
ERROR_EXTENSION_EXCEPTION |
static String |
ERROR_EXTENSION_QUERY_PATH |
static String |
ERROR_EXTENSION_VALIDATION_ERROR_TYPE |
static String |
FIELD_VISIBILITY_DEFAULT |
static String |
FIELD_VISIBILITY_NO_INTROSPECTION |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
getConfigValue(String key,
Class<T> type,
T defaultValue) |
default String |
getDefaultErrorMessage() |
default Optional<List<String>> |
getErrorExtensionFields() |
default String |
getFieldVisibility() |
default Optional<List<String>> |
getHideErrorMessageList() |
default Optional<List<String>> |
getShowErrorMessageList() |
default Optional<List<String>> |
getUnwrapExceptions() |
default boolean |
isAllowGet() |
default boolean |
isAllowPostWithQueryParameters() |
default boolean |
isEventsEnabled() |
default boolean |
isIncludeDirectivesInSchema() |
default boolean |
isIncludeIntrospectionTypesInSchema() |
default boolean |
isIncludeScalarsInSchema() |
default boolean |
isIncludeSchemaDefinitionInSchema() |
default boolean |
isMetricsEnabled() |
default boolean |
isPrintDataFetcherException() |
default boolean |
isTracingEnabled() |
default boolean |
isValidationEnabled() |
default boolean |
logPayload() |
default boolean |
shouldEmitEvents() |
static final String FIELD_VISIBILITY_DEFAULT
static final String FIELD_VISIBILITY_NO_INTROSPECTION
static final String ERROR_EXTENSION_EXCEPTION
static final String ERROR_EXTENSION_CLASSIFICATION
static final String ERROR_EXTENSION_CODE
static final String ERROR_EXTENSION_DESCRIPTION
static final String ERROR_EXTENSION_VALIDATION_ERROR_TYPE
static final String ERROR_EXTENSION_QUERY_PATH
default String getDefaultErrorMessage()
default boolean isPrintDataFetcherException()
default boolean isAllowGet()
default boolean isAllowPostWithQueryParameters()
default boolean isIncludeScalarsInSchema()
default boolean isIncludeDirectivesInSchema()
default boolean isIncludeSchemaDefinitionInSchema()
default boolean isIncludeIntrospectionTypesInSchema()
default boolean isTracingEnabled()
default boolean isMetricsEnabled()
default boolean isValidationEnabled()
default boolean isEventsEnabled()
default boolean shouldEmitEvents()
default boolean logPayload()
default String getFieldVisibility()
Copyright © 2018–2021. All rights reserved.