@Component public class GraphQlHandler extends Object
See http://graphql.org/learn/serving-over-http/ for more details of conventions etc.
| Constructor and Description |
|---|
GraphQlHandler(graphql.schema.GraphQLSchema graphQLSchema,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
getQuery(org.springframework.web.reactive.function.server.ServerRequest request) |
reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
getSchema(org.springframework.web.reactive.function.server.ServerRequest request) |
protected reactor.core.publisher.Mono<graphql.ExecutionResult> |
performQuery(graphql.ExecutionInput input) |
reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
postQuery(org.springframework.web.reactive.function.server.ServerRequest request) |
@Autowired
public GraphQlHandler(graphql.schema.GraphQLSchema graphQLSchema,
com.fasterxml.jackson.databind.ObjectMapper mapper)
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> postQuery(org.springframework.web.reactive.function.server.ServerRequest request)
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> getQuery(org.springframework.web.reactive.function.server.ServerRequest request)
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> getSchema(org.springframework.web.reactive.function.server.ServerRequest request)
protected reactor.core.publisher.Mono<graphql.ExecutionResult> performQuery(graphql.ExecutionInput input)
Copyright © 2017–2018 Committed. All rights reserved.