Package | Description |
---|---|
graphql.cachecontrol |
Modifier and Type | Method and Description |
---|---|
static CacheControl.Scope |
CacheControl.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheControl.Scope[] |
CacheControl.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CacheControl |
CacheControl.hint(DataFetchingEnvironment dataFetchingEnvironment,
CacheControl.Scope scope)
This creates a cache control hint for the specified field being fetched with a specified scope
|
CacheControl |
CacheControl.hint(DataFetchingEnvironment dataFetchingEnvironment,
Integer maxAge,
CacheControl.Scope scope)
This creates a cache control hint for the specified field being fetched
|
CacheControl |
CacheControl.hint(ExecutionPath path,
CacheControl.Scope scope)
This creates a cache control hint for the specified path
|
CacheControl |
CacheControl.hint(ExecutionPath path,
Integer maxAge,
CacheControl.Scope scope)
This creates a cache control hint for the specified path
|
Copyright © 2019. All rights reserved.