Class GraphiQLConfigController


  • @RestController
    @ConditionalOnWebApplication
    public class GraphiQLConfigController
    extends java.lang.Object
    • Constructor Detail

      • GraphiQLConfigController

        public GraphiQLConfigController()
    • Method Detail

      • getConfigJs

        @GetMapping(value="graphiql/config.js",
                    produces="application/javascript")
        @ResponseStatus(OK)
        public java.lang.String getConfigJs()
      • getGraphiqlJson

        @GetMapping(value="graphiql/config.json",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,​java.lang.Object>> getGraphiqlJson()
      • getGraphQLWebPath

        public java.lang.String getGraphQLWebPath()
      • getGraphQLWsPath

        public java.lang.String getGraphQLWsPath()
      • appendSegmentToPath

        public java.lang.String appendSegmentToPath​(java.lang.String path,
                                                    java.lang.String segment)