Uses of Class
org.gcube.common.gxhttp.request.GXRequest
Packages that use GXRequest
-
Uses of GXRequest in org.gcube.common.gxhttp.request
Methods in org.gcube.common.gxhttp.request that return GXRequestModifier and TypeMethodDescriptionGXRequest.connectTimeout(int connectTimeout) Sets the connect timeout of this request.Sets the agent sent asUser-Agent.Sets a header.static GXRequestGXRequest.newRequest(String address) Creates a request.Appends a part to the path; each segment is encoded.GXRequest.pathParams(String pathParameters) Sets path parameters, appended as they are after the path (e.g.GXRequest.queryParams(Map<String, String> parameters) Sets the query parameters; names and values are encoded.GXRequest.queryString(String queryParameters) Sets the query string as it is.GXRequest.readTimeout(int readTimeout) Sets the read timeout of this request: the time allowed, once connected, to receive the response status and headers.GXRequest.withBody(InputStream body) Sets the body as a stream, read while the request is sent.Sets the body as text, sent in UTF-8.