## Uses of Class
org.apache.tinkerpop.gremlin.server.Context

- Packages that use Context
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.server |
  org.apache.tinkerpop.gremlin.server.handler |
  org.apache.tinkerpop.gremlin.server.op |
  org.apache.tinkerpop.gremlin.server.op.session |
  org.apache.tinkerpop.gremlin.server.op.standard |
  org.apache.tinkerpop.gremlin.server.op.traversal |

- - ### Uses of Context in org.apache.tinkerpop.gremlin.server

    Methods in org.apache.tinkerpop.gremlin.server that return types with arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `ThrowingConsumer<Context>` | OpProcessor.`select(Context ctx)` Given the context (which contains the RequestMessage), return back a Consumer function that will be executed with the context.

    Methods in org.apache.tinkerpop.gremlin.server with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `ThrowingConsumer<Context>` | OpProcessor.`select(Context ctx)` Given the context (which contains the RequestMessage), return back a Consumer function that will be executed with the context.

  - ### Uses of Context in org.apache.tinkerpop.gremlin.server.handler

    Subclasses of Context in org.apache.tinkerpop.gremlin.server.handler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SessionTask` A `SessionTask` equates to a particular incoming request to the `UnifiedHandler` and is analogous to a `Context` in the `OpProcessor` approach to handling requests to the server.

    Method parameters in org.apache.tinkerpop.gremlin.server.handler with type arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | OpExecutorHandler.`channelRead0(io.netty.channel.ChannelHandlerContext ctx, org.javatuples.Pair<RequestMessage,ThrowingConsumer<Context>> objects)`

  - ### Uses of Context in org.apache.tinkerpop.gremlin.server.op

    Methods in org.apache.tinkerpop.gremlin.server.op that return types with arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `abstract ThrowingConsumer<Context>` | AbstractEvalOpProcessor.`getEvalOp()` Provides an operation for evaluating a Gremlin script.
    `ThrowingConsumer<Context>` | AbstractEvalOpProcessor.`select(Context ctx)`
    `abstract Optional<ThrowingConsumer<Context>>` | AbstractEvalOpProcessor.`selectOther(Context ctx)` A sub-class may have additional "ops" that it will service.
    `protected Optional<ThrowingConsumer<Context>>` | AbstractEvalOpProcessor.`validateEvalMessage(RequestMessage message)`

    Methods in org.apache.tinkerpop.gremlin.server.op with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractEvalOpProcessor.`evalOpInternal(Context ctx, Supplier<GremlinExecutor> gremlinExecutorSupplier, AbstractEvalOpProcessor.BindingSupplier bindingsSupplier)` A generalized implementation of the "eval" operation.
    `protected void` | AbstractOpProcessor.`handleIterator(Context context, Iterator itty)` Provides a generic way of iterating a result set back to the client.
    `protected static Frame` | AbstractOpProcessor.`makeFrame(Context ctx, RequestMessage msg, MessageSerializer<?> serializer, boolean useBinary, List<Object> aggregate, ResponseStatusCode code, Map<String,Object> responseMetaData, Map<String,Object> statusAttributes)`
    `ThrowingConsumer<Context>` | AbstractEvalOpProcessor.`select(Context ctx)`
    `abstract Optional<ThrowingConsumer<Context>>` | AbstractEvalOpProcessor.`selectOther(Context ctx)` A sub-class may have additional "ops" that it will service.

  - ### Uses of Context in org.apache.tinkerpop.gremlin.server.op.session

    Methods in org.apache.tinkerpop.gremlin.server.op.session that return types with arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>` | SessionOpProcessor.`getBindingMaker(Session session)` A useful method for those extending this class, where the means for binding construction can be supplied to this class.
    `ThrowingConsumer<Context>` | SessionOpProcessor.`getEvalOp()`
    `Optional<ThrowingConsumer<Context>>` | SessionOpProcessor.`selectOther(Context ctx)` Older versions of session-based requests accepted a "close" operator in addition to "eval".
    `protected Optional<ThrowingConsumer<Context>>` | SessionOpProcessor.`validateEvalMessage(RequestMessage message)`

    Methods in org.apache.tinkerpop.gremlin.server.op.session with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SessionOpProcessor.`beforeProcessing(Graph graph, Context ctx)`
    `protected void` | SessionOpProcessor.`evalOp(Context context)`
    `protected static Session` | SessionOpProcessor.`getSession(Context context, RequestMessage msg)` Examines the `RequestMessage` and extracts the session token.
    `protected void` | SessionOpProcessor.`handleGraphOperation(Bytecode bytecode, Graph graph, Context context)` If `Bytecode` is detected to contain a "graph operation" then it gets processed by this method.
    `protected void` | SessionOpProcessor.`handleIterator(Context context, Iterator itty, Graph graph)`
    `protected void` | SessionOpProcessor.`onError(Graph graph, Context ctx)`
    `protected void` | SessionOpProcessor.`onTraversalSuccess(Graph graph, Context ctx)`
    `Optional<ThrowingConsumer<Context>>` | SessionOpProcessor.`selectOther(Context ctx)` Older versions of session-based requests accepted a "close" operator in addition to "eval".

    Constructors in org.apache.tinkerpop.gremlin.server.op.session with parameters of type Context
    Constructor and Description
    `Session(String session, Context context, ConcurrentHashMap<String,Session> sessions)`

  - ### Uses of Context in org.apache.tinkerpop.gremlin.server.op.standard

    Fields in org.apache.tinkerpop.gremlin.server.op.standard with type parameters of type Context
    Modifier and Type | Field and Description
    --- | ---
    `protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>` | StandardOpProcessor.`bindingMaker`

    Methods in org.apache.tinkerpop.gremlin.server.op.standard that return types with arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected Function<Context,AbstractEvalOpProcessor.BindingSupplier>` | StandardOpProcessor.`getBindingMaker()` A useful method for those extending this class, where the means for binding construction can be supplied to this class.
    `ThrowingConsumer<Context>` | StandardOpProcessor.`getEvalOp()`
    `Optional<ThrowingConsumer<Context>>` | StandardOpProcessor.`selectOther(Context ctx)`

    Methods in org.apache.tinkerpop.gremlin.server.op.standard with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `Optional<ThrowingConsumer<Context>>` | StandardOpProcessor.`selectOther(Context ctx)`

  - ### Uses of Context in org.apache.tinkerpop.gremlin.server.op.traversal

    Methods in org.apache.tinkerpop.gremlin.server.op.traversal that return types with arguments of type Context
    Modifier and Type | Method and Description
    --- | ---
    `ThrowingConsumer<Context>` | TraversalOpProcessor.`select(Context context)`

    Methods in org.apache.tinkerpop.gremlin.server.op.traversal with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TraversalOpProcessor.`beforeProcessing(Graph graph, Context ctx)`
    `protected void` | TraversalOpProcessor.`handleIterator(Context context, Iterator itty, Graph graph)`
    `protected void` | TraversalOpProcessor.`onError(Graph graph, Context ctx)`
    `protected void` | TraversalOpProcessor.`onTraversalSuccess(Graph graph, Context ctx)`
    `ThrowingConsumer<Context>` | TraversalOpProcessor.`select(Context context)`

Copyright © 2013–2022 Apache Software Foundation. All rights reserved.