public class WebInput extends RequestInput
| Constructor and Description |
|---|
WebInput(java.net.URI uri,
org.springframework.http.HttpHeaders headers,
java.util.Map<java.lang.String,java.lang.Object> body,
java.util.Locale locale,
java.lang.String id)
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
getHeaders()
Return the HTTP headers of the request or WebSocket handshake.
|
org.springframework.web.util.UriComponents |
getUri()
Return the URL for the HTTP request or WebSocket handshake.
|
configureExecutionInput, getId, getLocale, getOperationName, getQuery, getVariables, toExecutionInput, toMap, toStringpublic WebInput(java.net.URI uri,
org.springframework.http.HttpHeaders headers,
java.util.Map<java.lang.String,java.lang.Object> body,
@Nullable
java.util.Locale locale,
java.lang.String id)
uri - the URL for the HTTP request or WebSocket handshakeheaders - the HTTP request headersbody - the content of the request deserialized from JSONlocale - the locale from the HTTP request, if anyid - an identifier for the GraphQL request, e.g. a subscription id for
correlating request and response messages, or it could be an id associated with the
underlying request/connection id, if available