Class GraphiQLConfigController
- java.lang.Object
-
- org.activiti.cloud.services.notifications.graphql.graphiql.GraphiQLConfigController
-
@RestController @ConditionalOnWebApplication public class GraphiQLConfigController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GraphiQLConfigController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringappendSegmentToPath(java.lang.String path, java.lang.String segment)java.lang.StringgetConfigJs()org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.Object>>getGraphiqlJson()java.lang.StringgetGraphQLWebPath()java.lang.StringgetGraphQLWsPath()
-
-
-
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)
-
-