A B C D E F G H I K M N P R S T V _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort(Exception) - Method in class net.morimekta.providence.graphql.GQLContext
-
Implement if a failed context session ends in failure, e.g. update failure.
- allowIdentifier(int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- arguments - Variable in enum net.morimekta.providence.graphql.gql.GQLIntrospection.Field
B
C
- commit() - Method in class net.morimekta.providence.graphql.GQLContext
-
Implement if a successful request is passed, and e.g. a transaction needs to be committed (instead of aborted).
- CONTENT_TYPE - Static variable in class net.morimekta.providence.graphql.GQLServlet
- createContext(HttpServletRequest, GQLOperation) - Method in interface net.morimekta.providence.graphql.GQLContextFactory
-
Create a context for the given HTTP request and GQL operation.
D
- DEFAULT_INSTANCE - Static variable in interface net.morimekta.providence.graphql.GQLContextFactory
-
Default instance to be used when no special context is needed.
- DIRECTIVE - net.morimekta.providence.graphql.parser.GQLTokenType
- doGet(HttpServletRequest, HttpServletResponse) - Method in class net.morimekta.providence.graphql.GQLPlaygroundServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class net.morimekta.providence.graphql.GQLSchemaServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class net.morimekta.providence.graphql.GQLServlet
-
Only non-mutation GQL queries may be handed to a get request, putting the actual query in the query= parameter.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class net.morimekta.providence.graphql.GQLServlet
-
Both normal GQL queries and mutations may be posted.
E
- equals(Object) - Method in class net.morimekta.providence.graphql.gql.GQLField
- equals(Object) - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- equals(Object) - Method in class net.morimekta.providence.graphql.gql.GQLInlineFragment
- equals(Object) - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
F
- FieldFieldProvider - Class in net.morimekta.providence.graphql.utils
- FieldFieldProvider(GQLDefinition) - Constructor for class net.morimekta.providence.graphql.utils.FieldFieldProvider
- findByName(String) - Static method in enum net.morimekta.providence.graphql.gql.GQLDirective
-
Find directive by the name, not including the '@'.
- findByName(String) - Static method in enum net.morimekta.providence.graphql.gql.GQLScalar
- findFieldByName(String) - Static method in class net.morimekta.providence.graphql.gql.GQLIntrospection
-
Find introspection field by name.
- Float - net.morimekta.providence.graphql.gql.GQLScalar
- FLOAT - net.morimekta.providence.graphql.parser.GQLTokenType
G
- genericToken(char[], int, int, GQLTokenType, int, int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- getAlias() - Method in class net.morimekta.providence.graphql.gql.GQLField
- getAlias() - Method in class net.morimekta.providence.graphql.gql.GQLIntrospection
- getAlias() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- getArguments() - Method in class net.morimekta.providence.graphql.gql.GQLField
- getArguments() - Method in class net.morimekta.providence.graphql.gql.GQLIntrospection
- getArguments() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- getDefinition() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- getDescriptor() - Method in interface net.morimekta.providence.graphql.GQLFieldProvider
-
Get the type descriptor this mutator is for.
- getDescriptor() - Method in class net.morimekta.providence.graphql.utils.FieldFieldProvider
- getDescriptor() - Method in class net.morimekta.providence.graphql.utils.InputValueFieldProvider
- getDescriptor() - Method in class net.morimekta.providence.graphql.utils.TypeFieldProvider
- getField() - Method in class net.morimekta.providence.graphql.gql.GQLField
- getField() - Method in class net.morimekta.providence.graphql.gql.GQLIntrospection
- getFields() - Method in interface net.morimekta.providence.graphql.GQLFieldProvider
-
Get the set of fields that can be mutated with this mutator.
- getFields() - Method in class net.morimekta.providence.graphql.utils.FieldFieldProvider
- getFields() - Method in class net.morimekta.providence.graphql.utils.InputValueFieldProvider
- getFields() - Method in class net.morimekta.providence.graphql.utils.TypeFieldProvider
- getIntrospectionSchema() - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Return the introspection schema for this definition.
- getIntrospectionType(String) - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get the introspection type for a defined type.
- getIntrospectionType(PDescriptor, boolean) - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get introspection type for a given descriptor.
- getLastToken() - Method in class net.morimekta.providence.graphql.parser.GQLLexer
- getMethod() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- getMutation() - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get mutation by name, e.g. for gql queries like this:
- getName() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- getName() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- getOperation() - Method in class net.morimekta.providence.graphql.GQLContext
- getOperation(String) - Method in class net.morimekta.providence.graphql.gql.GQLQuery
- getParentDescriptor() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- getQuery() - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get query, e.g. for gql queries like this:
- getRequest() - Method in class net.morimekta.providence.graphql.GQLContext
- getSchema() - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get a defined schema from the GQL service.
- getSelection(PField) - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- getSelection(PField) - Method in interface net.morimekta.providence.graphql.gql.GQLSelection
-
Get all selection entries related to the given field.
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLField
- getSelectionSet() - Method in interface net.morimekta.providence.graphql.gql.GQLFragment
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentDefinition
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLInlineFragment
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLIntrospection
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- getSelectionSet() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- getSelectionSet() - Method in interface net.morimekta.providence.graphql.gql.GQLSelection
- getService() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- getType(String) - Method in class net.morimekta.providence.graphql.GQLDefinition
-
Get a type used in the GQL service.
- getTypeCondition() - Method in interface net.morimekta.providence.graphql.gql.GQLFragment
-
All fragments represent a specific message type of a union field, or an interface implementation.
- getTypeCondition() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentDefinition
- getTypeCondition() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- getTypeCondition() - Method in class net.morimekta.providence.graphql.gql.GQLInlineFragment
- GQLContext - Class in net.morimekta.providence.graphql
-
The GQL context is created once per query method call, and once for the whole operation for mutations.
- GQLContext(HttpServletRequest, GQLOperation) - Constructor for class net.morimekta.providence.graphql.GQLContext
- GQLContextFactory<Context extends GQLContext> - Interface in net.morimekta.providence.graphql
-
Create a context instance to be used in the graphql servlet.
- GQLDefinition - Class in net.morimekta.providence.graphql
-
A GQL service is a collection of zero or more 'queries' and zero or more 'mutations'.
- GQLDefinition(PService, PService, Collection<PField>) - Constructor for class net.morimekta.providence.graphql.GQLDefinition
- GQLDirective - Enum in net.morimekta.providence.graphql.gql
-
A directive represents some modification on a GQL field.
- GQLException - Exception in net.morimekta.providence.graphql.parser
- GQLException(String) - Constructor for exception net.morimekta.providence.graphql.parser.GQLException
- GQLException(String, Throwable) - Constructor for exception net.morimekta.providence.graphql.parser.GQLException
- GQLException(String, Token) - Constructor for exception net.morimekta.providence.graphql.parser.GQLException
- GQLField - Class in net.morimekta.providence.graphql.gql
-
Representation of a field in the response JSON.
- GQLField(PField) - Constructor for class net.morimekta.providence.graphql.gql.GQLField
-
Make a simple field selection based on a message field.
- GQLField(PField, String, PMessage<?>, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLField
-
Make a full field selection definition.
- GQLField(PField, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLField
-
Make a simple field selection based on a message field.
- GQLFieldProvider<Message extends net.morimekta.providence.PMessage<Message>> - Interface in net.morimekta.providence.graphql
-
Interface for functionality that provide field values based on a source message and a GQL field.
- GQLFragment - Interface in net.morimekta.providence.graphql.gql
-
A fragment is a piece of a field list representing a single type as part of a struct, union, union list, interface list etc.
- GQLFragmentDefinition - Class in net.morimekta.providence.graphql.gql
-
A fragment definition, as part of the query.
- GQLFragmentDefinition(String, PMessageDescriptor<?>, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLFragmentDefinition
- GQLFragmentReference - Class in net.morimekta.providence.graphql.gql
-
A reference to a fragment.
- GQLFragmentReference(String, PMessageDescriptor<?>, Map<String, GQLFragmentDefinition>) - Constructor for class net.morimekta.providence.graphql.gql.GQLFragmentReference
-
A fragment reference.
- GQLInlineFragment - Class in net.morimekta.providence.graphql.gql
-
An inline fragment, defining type-conditional field in-place.
- GQLInlineFragment(PMessageDescriptor<?>, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLInlineFragment
-
Inline fragment with field set.
- GQLIntrospection - Class in net.morimekta.providence.graphql.gql
-
A introspection is very much like a 'normal' field, but has special meaning to graphql.
- GQLIntrospection(GQLIntrospection.Field, String, PMessage, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLIntrospection
- GQLIntrospection.Field - Enum in net.morimekta.providence.graphql.gql
-
Introspeciton fields supported by providence-graphql.
- GQLLexer - Class in net.morimekta.providence.graphql.parser
- GQLLexer(Reader) - Constructor for class net.morimekta.providence.graphql.parser.GQLLexer
-
Create a lexer instance using a specific tokenizer.
- GQLMethodCall - Class in net.morimekta.providence.graphql.gql
-
Representation of a method call in an operation.
- GQLMethodCall(PServiceMethod, String, PMessage<?>, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLMethodCall
-
Make a full field selection definition.
- GQLOperation - Class in net.morimekta.providence.graphql.gql
-
Representing a single GQL operation, which is either a query or a mutation.
- GQLOperation(PService, boolean, String, List<GQLSelection>) - Constructor for class net.morimekta.providence.graphql.gql.GQLOperation
- GQLParser - Class in net.morimekta.providence.graphql.parser
- GQLParser(GQLDefinition) - Constructor for class net.morimekta.providence.graphql.parser.GQLParser
- GQLPlaygroundServlet - Class in net.morimekta.providence.graphql
- GQLPlaygroundServlet(String, String) - Constructor for class net.morimekta.providence.graphql.GQLPlaygroundServlet
- GQLProcessorProvider<Context extends GQLContext> - Interface in net.morimekta.providence.graphql
-
A class representing the mutation needed for a single message.
- GQLQuery - Class in net.morimekta.providence.graphql.gql
-
Representing a complete GQL query, also known as a 'document' in the GraphQL spec.
- GQLQuery(Map<String, GQLOperation>, Map<String, GQLFragmentDefinition>) - Constructor for class net.morimekta.providence.graphql.gql.GQLQuery
- GQLScalar - Enum in net.morimekta.providence.graphql.gql
-
Specification for a scalar type in GraphQL.
- GQLSchemaServlet - Class in net.morimekta.providence.graphql
-
A servlet for serving graphql given a GQL service and associated providers.
- GQLSchemaServlet(GQLDefinition) - Constructor for class net.morimekta.providence.graphql.GQLSchemaServlet
- GQLSelection - Interface in net.morimekta.providence.graphql.gql
-
When defining a graphql each point in a selection set is called a 'selection'.
- GQLServlet - Class in net.morimekta.providence.graphql
-
A servlet for serving graphql given a GQL service and associated providers.
- GQLServlet(GQLDefinition, GQLProcessorProvider, GQLProcessorProvider, Collection<GQLFieldProvider>, GQLContextFactory, ExecutorService) - Constructor for class net.morimekta.providence.graphql.GQLServlet
- GQLToken - Class in net.morimekta.providence.graphql.parser
- GQLToken(char[], int, int, GQLTokenType, int, int) - Constructor for class net.morimekta.providence.graphql.parser.GQLToken
-
Create a slice instance.
- GQLTokenizer - Class in net.morimekta.providence.graphql.parser
- GQLTokenizer(Reader) - Constructor for class net.morimekta.providence.graphql.parser.GQLTokenizer
- GQLTokenType - Enum in net.morimekta.providence.graphql.parser
- GQLUtil - Class in net.morimekta.providence.graphql.gql
- GQLUtil() - Constructor for class net.morimekta.providence.graphql.gql.GQLUtil
H
- handleOperation(HttpServletRequest, HttpServletResponse, GQLOperation, boolean) - Method in class net.morimekta.providence.graphql.GQLServlet
-
Handle operation.
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLField
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentDefinition
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLInlineFragment
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- hashCode() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- hasMethodCall(PServiceMethod) - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- hasSelection(PField...) - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- hasSelection(PField...) - Method in interface net.morimekta.providence.graphql.gql.GQLSelection
-
Check if any of the given fields are in the selection.
I
- ID - net.morimekta.providence.graphql.gql.GQLScalar
- IDENTIFIER - net.morimekta.providence.graphql.parser.GQLTokenType
- identifierSeparator(int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- identifierToken(char[], int, int, int, int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- include - net.morimekta.providence.graphql.gql.GQLDirective
-
@include(if: $var)Include the field only if 'if' resolves to true. - InputValueFieldProvider - Class in net.morimekta.providence.graphql.utils
- InputValueFieldProvider(GQLDefinition) - Constructor for class net.morimekta.providence.graphql.utils.InputValueFieldProvider
- Int - net.morimekta.providence.graphql.gql.GQLScalar
- INTEGER - net.morimekta.providence.graphql.parser.GQLTokenType
- introspection - Variable in enum net.morimekta.providence.graphql.gql.GQLScalar
- isApplicableFor(PMessageDescriptor) - Method in interface net.morimekta.providence.graphql.gql.GQLFragment
- isDefaultOperationAvailable() - Method in class net.morimekta.providence.graphql.gql.GQLQuery
- isDirectve() - Method in class net.morimekta.providence.graphql.parser.GQLToken
- isIdentifier() - Method in class net.morimekta.providence.graphql.parser.GQLToken
- isMutation() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- isString() - Method in class net.morimekta.providence.graphql.parser.GQLToken
- isVariable() - Method in class net.morimekta.providence.graphql.parser.GQLToken
K
- kDirective - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kEntrySep - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kFieldValueSep - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kKeyValueSep - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kListEnd - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kListStart - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kMessageEnd - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kMessageStart - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kParamsEnd - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kParamsStart - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
- kVariable - Static variable in class net.morimekta.providence.graphql.parser.GQLToken
M
- MEDIA_TYPE - Static variable in class net.morimekta.providence.graphql.GQLServlet
N
- net.morimekta.providence.graphql - package net.morimekta.providence.graphql
- net.morimekta.providence.graphql.gql - package net.morimekta.providence.graphql.gql
- net.morimekta.providence.graphql.parser - package net.morimekta.providence.graphql.parser
- net.morimekta.providence.graphql.utils - package net.morimekta.providence.graphql.utils
- next() - Method in class net.morimekta.providence.graphql.parser.GQLLexer
- nextSymbol() - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- numberToken(char[], int, int, int, int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
P
- parseQuery(String, Map<String, Object>) - Method in class net.morimekta.providence.graphql.parser.GQLParser
- parseQueryInternal(String, Map<String, Object>) - Method in class net.morimekta.providence.graphql.parser.GQLParser
- processorFor(Context, GQLMethodCall) - Method in interface net.morimekta.providence.graphql.GQLProcessorProvider
-
Mutate the message according to the field selection.
- provide(Message, PField<Message>, GQLField) - Method in interface net.morimekta.providence.graphql.GQLFieldProvider
-
Mutate the message according to the field selection.
- provide(Field, PField<Field>, GQLField) - Method in class net.morimekta.providence.graphql.utils.FieldFieldProvider
- provide(InputValue, PField<InputValue>, GQLField) - Method in class net.morimekta.providence.graphql.utils.InputValueFieldProvider
- provide(Type, PField<Type>, GQLField) - Method in class net.morimekta.providence.graphql.utils.TypeFieldProvider
R
- response - Variable in enum net.morimekta.providence.graphql.gql.GQLIntrospection.Field
S
- skip - net.morimekta.providence.graphql.gql.GQLDirective
-
@include(if: $var)Include the field only if 'if' resolves to false. - startIdentifier() - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- startNumber() - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- String - net.morimekta.providence.graphql.gql.GQLScalar
- STRING - net.morimekta.providence.graphql.parser.GQLTokenType
- stringToken(char[], int, int, int, int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
- SYMBOL - net.morimekta.providence.graphql.parser.GQLTokenType
- symbolToken(char[], int, int, int, int) - Method in class net.morimekta.providence.graphql.parser.GQLTokenizer
T
- toArgumentString(Object) - Static method in class net.morimekta.providence.graphql.gql.GQLUtil
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLField
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentDefinition
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLFragmentReference
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLInlineFragment
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLIntrospection
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLMethodCall
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLOperation
- toString() - Method in class net.morimekta.providence.graphql.gql.GQLQuery
- toString() - Method in exception net.morimekta.providence.graphql.parser.GQLException
- type - Variable in enum net.morimekta.providence.graphql.gql.GQLScalar
- TypeFieldProvider - Class in net.morimekta.providence.graphql.utils
- TypeFieldProvider(GQLDefinition) - Constructor for class net.morimekta.providence.graphql.utils.TypeFieldProvider
V
- valueOf(String) - Static method in enum net.morimekta.providence.graphql.gql.GQLDirective
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.graphql.gql.GQLIntrospection.Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.graphql.gql.GQLScalar
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.graphql.parser.GQLTokenType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.providence.graphql.gql.GQLDirective
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.graphql.gql.GQLIntrospection.Field
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.graphql.gql.GQLScalar
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.graphql.parser.GQLTokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARIABLE - net.morimekta.providence.graphql.parser.GQLTokenType
_
- __schema - net.morimekta.providence.graphql.gql.GQLIntrospection.Field
- __type - net.morimekta.providence.graphql.gql.GQLIntrospection.Field
- __typename - net.morimekta.providence.graphql.gql.GQLIntrospection.Field
All Classes All Packages