Class CachingHttpRequestInvoker

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(graphql.kickstart.execution.input.GraphQLInvocationInput invocationInput, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ListenerHandler listenerHandler)
      Try to return value from cache if cache exists, otherwise process the query normally
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachingHttpRequestInvoker

        public CachingHttpRequestInvoker​(GraphQLConfiguration configuration)
    • Method Detail

      • execute

        public void execute​(graphql.kickstart.execution.input.GraphQLInvocationInput invocationInput,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            ListenerHandler listenerHandler)
        Try to return value from cache if cache exists, otherwise process the query normally
        Specified by:
        execute in interface HttpRequestInvoker