public class HttpGraphQLBodyContent extends HttpTextBodyContent
Represents the body content of a HTTP message (request/response) that obtains content from a String. This class is used for validating GraphQL query in request body using displayText
Constructor and description |
---|
HttpGraphQLBodyContent
(String text, String charset, String contentType, String displayText) |
HttpGraphQLBodyContent
(String text, String charset, String contentType) |
HttpGraphQLBodyContent
(String text, String charset) |
HttpGraphQLBodyContent
(String text) |
Type Params | Return Type | Name and description |
---|---|---|
|
public String |
getDisplayText() |
|
public void |
setDisplayText(String displayText) |
Methods inherited from class | Name |
---|---|
class HttpTextBodyContent |
getCharset, getContentEncoding, getContentLength, getContentType, getInputStream, getText, writeTo |