Package io.smallrye.graphql.spi.config
Interface Config
-
public interface Config
This will load the config service Example, using microprofile config- Author:
- Phillip Kruger ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description static Config
config
static ServiceLoader<Config>
configs
static List<String>
DEFAULT_UNWRAP_EXCEPTIONS
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
static org.jboss.logging.Logger
LOG
static String
SERVER_ERROR_DEFAULT_MESSAGE
-
Method Summary
-
-
-
Field Detail
-
LOG
static final org.jboss.logging.Logger LOG
-
configs
static final ServiceLoader<Config> configs
-
config
static final Config config
-
SERVER_ERROR_DEFAULT_MESSAGE
static final String SERVER_ERROR_DEFAULT_MESSAGE
- See Also:
- Constant Field Values
-
FIELD_VISIBILITY_DEFAULT
static final String FIELD_VISIBILITY_DEFAULT
- See Also:
- Constant Field Values
-
FIELD_VISIBILITY_NO_INTROSPECTION
static final String FIELD_VISIBILITY_NO_INTROSPECTION
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_EXCEPTION
static final String ERROR_EXTENSION_EXCEPTION
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_CLASSIFICATION
static final String ERROR_EXTENSION_CLASSIFICATION
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_CODE
static final String ERROR_EXTENSION_CODE
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_DESCRIPTION
static final String ERROR_EXTENSION_DESCRIPTION
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_VALIDATION_ERROR_TYPE
static final String ERROR_EXTENSION_VALIDATION_ERROR_TYPE
- See Also:
- Constant Field Values
-
ERROR_EXTENSION_QUERY_PATH
static final String ERROR_EXTENSION_QUERY_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
static Config init()
-
get
static Config get()
-
getName
String getName()
-
getDefaultErrorMessage
default String getDefaultErrorMessage()
-
isPrintDataFetcherException
default boolean isPrintDataFetcherException()
-
shouldHide
default boolean shouldHide(Throwable throwable)
-
shouldShow
default boolean shouldShow(Throwable throwable)
-
shouldUnwrapThrowable
default boolean shouldUnwrapThrowable(Throwable t)
-
isAllowGet
default boolean isAllowGet()
-
isAllowPostWithQueryParameters
default boolean isAllowPostWithQueryParameters()
-
isIncludeScalarsInSchema
default boolean isIncludeScalarsInSchema()
-
isIncludeDirectivesInSchema
default boolean isIncludeDirectivesInSchema()
-
isIncludeSchemaDefinitionInSchema
default boolean isIncludeSchemaDefinitionInSchema()
-
isIncludeIntrospectionTypesInSchema
default boolean isIncludeIntrospectionTypesInSchema()
-
isTracingEnabled
default boolean isTracingEnabled()
-
isMetricsEnabled
default boolean isMetricsEnabled()
-
isValidationEnabled
default boolean isValidationEnabled()
-
isEventsEnabled
default boolean isEventsEnabled()
-
shouldEmitEvents
default boolean shouldEmitEvents()
-
logPayload
default LogPayloadOption logPayload()
-
hasParserOptions
default boolean hasParserOptions()
-
getFieldVisibility
default String getFieldVisibility()
-
-