public class GraphQLRequest
extends java.lang.Object
| 构造器和说明 |
|---|
GraphQLRequest(GraphQLOperationRequest request) |
GraphQLRequest(GraphQLOperationRequest request,
GraphQLResponseProjection responseProjection) |
| 限定符和类型 | 方法和说明 |
|---|---|
GraphQLOperationRequest |
getRequest() |
GraphQLResponseProjection |
getResponseProjection() |
java.lang.String |
toHttpJsonBody()
Serializes GraphQL request to be used as HTTP JSON body
according to https://graphql.org/learn/serving-over-http specifications
|
java.lang.String |
toQueryString()
Serializes GraphQL request as raw query string
|
public GraphQLRequest(GraphQLOperationRequest request)
public GraphQLRequest(GraphQLOperationRequest request, GraphQLResponseProjection responseProjection)
public GraphQLOperationRequest getRequest()
public GraphQLResponseProjection getResponseProjection()
public java.lang.String toHttpJsonBody()
public java.lang.String toQueryString()