Class GraphQLServerUtils
java.lang.Object
com.graphql_java_generator.server.util.GraphQLServerUtils
A class that contains utility method for the server mode
- Author:
- etienne-sf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclassNameExtractor(Class<?> cls) Implementation of aClassNameTypeResolverto manage the possible prefix and suffix on the generated POJOs.
-
Constructor Details
-
GraphQLServerUtils
public GraphQLServerUtils()
-
-
Method Details
-
classNameExtractor
Implementation of aClassNameTypeResolverto manage the possible prefix and suffix on the generated POJOs.- Parameters:
cls- The class which name must be retrieved- Returns:
- The GraphQL type name that matches this class
-