Package | Description |
---|---|
manifold.graphql.rt.api | |
manifold.graphql.rt.api.request |
Modifier and Type | Method and Description |
---|---|
Executor<R> |
GqlQuery.request(Endpoint endpoint)
Provides an HTTP request executor for the query.
|
Executor<R> |
GqlQuery.request(String url)
Provides an HTTP request executor for the query.
|
Executor<R> |
GqlQuery.request(Supplier<Requester<manifold.rt.api.Bindings>> requester)
Provides an HTTP request executor for the query.
|
Modifier and Type | Method and Description |
---|---|
Executor<T> |
Executor.withAuthorization(String tokenType,
String accessToken) |
Executor<T> |
Executor.withBasicAuthorization(String username,
String password)
Set the Basic Authorization header using the provided
username and password |
Executor<T> |
Executor.withBearerAuthorization(String accessToken)
Set the Bearer Authorization header using the provided
accessToken . |
Executor<T> |
Executor.withHeader(String name,
String value)
Set an HTTP request header
name : value pair
See HTTP header fields |
Executor<T> |
Executor.withParam(String name,
String value)
Add a
name=value parameter to the request URL. |
Executor<T> |
Executor.withRawResponseHandler(Function<manifold.rt.api.Bindings,Object> handler) |
Executor<T> |
Executor.withTimeout(int timeout)
The connection timeout setting in milliseconds.
|
Copyright © 2024. All rights reserved.