Context - The context implementation type.@FunctionalInterface public interface GQLContextFactory<Context extends GQLContext>
| Modifier and Type | Field and Description |
|---|---|
static GQLContextFactory |
DEFAULT_INSTANCE
Default instance to be used when no special context is needed.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
createContext(javax.servlet.http.HttpServletRequest request,
GQLOperation operation)
Create a context for the given HTTP request and GQL operation.
|
static final GQLContextFactory DEFAULT_INSTANCE
Context createContext(@Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull GQLOperation operation)
request - The HTTP request.operation - The GQL operation.Copyright © 2015–2020 morimekta.net. All rights reserved.