Package graphql.kickstart.spring.error
Class GraphQLErrorStartupListener
java.lang.Object
graphql.kickstart.spring.error.GraphQLErrorStartupListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
public class GraphQLErrorStartupListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionGraphQLErrorStartupListener(ErrorHandlerSupplier errorHandlerSupplier, boolean exceptionHandlersEnabled) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
-
Constructor Details
-
GraphQLErrorStartupListener
public GraphQLErrorStartupListener(ErrorHandlerSupplier errorHandlerSupplier, boolean exceptionHandlersEnabled)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationReadyEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-