@ApplicationScoped public class SmallRyeContextAccessorProxy extends SmallRyeContext
io.smallrye.graphql.api.Context.VariablesParserOPERATION_NAME, QUERY, VARIABLES| Constructor and Description |
|---|
SmallRyeContextAccessorProxy() |
getContext, getSchema, register, remove, setContext, setSchemapublic SmallRyeContext withDataFromExecution(graphql.ExecutionInput executionInput)
withDataFromExecution in class SmallRyeContextpublic SmallRyeContext withDataFromExecution(graphql.ExecutionInput executionInput, QueryCache queryCache)
withDataFromExecution in class SmallRyeContextpublic SmallRyeContext withDataFromFetcher(graphql.schema.DataFetchingEnvironment dfe, io.smallrye.graphql.schema.model.Field field)
withDataFromFetcher in class SmallRyeContextpublic javax.json.JsonObject getRequest()
getRequest in interface io.smallrye.graphql.api.ContextgetRequest in class SmallRyeContextpublic <T> T unwrap(Class<T> wrappedType)
unwrap in interface io.smallrye.graphql.api.Contextunwrap in class SmallRyeContextpublic Boolean hasArgument(String name)
hasArgument in interface io.smallrye.graphql.api.ContexthasArgument in class SmallRyeContextpublic <T> T getArgument(String name)
getArgument in interface io.smallrye.graphql.api.ContextgetArgument in class SmallRyeContextpublic Map<String,Object> getArguments()
getArguments in interface io.smallrye.graphql.api.ContextgetArguments in class SmallRyeContextpublic String getPath()
getPath in interface io.smallrye.graphql.api.ContextgetPath in class SmallRyeContextpublic String getExecutionId()
getExecutionId in interface io.smallrye.graphql.api.ContextgetExecutionId in class SmallRyeContextpublic String getFieldName()
getFieldName in interface io.smallrye.graphql.api.ContextgetFieldName in class SmallRyeContextpublic <T> T getSource()
getSource in interface io.smallrye.graphql.api.ContextgetSource in class SmallRyeContextpublic javax.json.JsonArray getSelectedFields(boolean includeSourceFields)
getSelectedFields in interface io.smallrye.graphql.api.ContextgetSelectedFields in class SmallRyeContextpublic String getOperationType()
getOperationType in interface io.smallrye.graphql.api.ContextgetOperationType in class SmallRyeContextpublic List<String> getRequestedOperationTypes()
getRequestedOperationTypes in interface io.smallrye.graphql.api.ContextgetRequestedOperationTypes in class SmallRyeContextpublic Optional<String> getParentTypeName()
getParentTypeName in interface io.smallrye.graphql.api.ContextgetParentTypeName in class SmallRyeContextpublic String toString()
toString in class SmallRyeContextpublic String getQuery()
public boolean hasOperationName()
public boolean hasVariables()
public <T> T getArgumentOrDefault(String name, T defaultValue)
public boolean hasSource()
public javax.json.JsonArray getSelectedFields()
Copyright © 2018–2021. All rights reserved.