Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addBody(String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
The body of the request.
- addBodyAsStream(InputStream) - Method in class org.gcube.common.gxhttp.reference.GXConnection
- addPath(String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Adds a path part to the connection.
- address - Variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The address of the remote service.
- agent - Variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The path of the remote service.
- APPLICATION_JSON_CHARSET_UTF_8 - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The application/json;charset=UTF-8 content type.
B
- builder - Variable in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
C
- clear() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Clears all the parameter except the address.
- clear() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Clear up the request.
- connect() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the CONNECT request to the web application with no body.
- connect() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- connect() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- CONNECT - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The CONNECT method.
- connection - Variable in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- ContentUtils - Class in org.gcube.common.gxhttp.util
-
Manipulation of a response's content.
- ContentUtils() - Constructor for class org.gcube.common.gxhttp.util.ContentUtils
D
- delete() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the DELETE request to the web application.
- delete() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sends the DELETE request to the web application.
- delete() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- DELETE - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The DELETE method.
F
- from(String) - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sets the identity user agent associated to the request.
- from(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Sets the User-Agent for the request
- from(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Sets the User-Agent for the request
G
- get() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the GET request to the web application.
- get() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sends the GET request to the web application.
- get() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- GET - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The GET method.
- GXConnection - Class in org.gcube.common.gxhttp.reference
-
A remote connection for a
GXHTTPStringRequest. - GXConnection(String) - Constructor for class org.gcube.common.gxhttp.reference.GXConnection
-
Creates a new connection.
- GXConnection.HTTPMETHOD - Enum Class in org.gcube.common.gxhttp.reference
-
The HTTP methods.
- GXHTTP<BODY,
RESPONSE> - Interface in org.gcube.common.gxhttp.reference -
HTTP methods for requests.
- GXHTTPRequestBuilder - Class in org.gcube.common.gxhttp.reference
-
Builder for GXHTTP Requests.
- GXHTTPRequestBuilder() - Constructor for class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- GXHTTPStreamRequest - Class in org.gcube.common.gxhttp.request
-
A context-aware request to a web application.
- GXHTTPStringRequest - Class in org.gcube.common.gxhttp.request
-
A context-aware request to a web application.
H
- head() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the HEAD request to the web application.
- head() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sends the HEAD request to the web application.
- head() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- HEAD - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The HEAD method.
- header(String, String) - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Add headers to the request.
- header(String, String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Adds a header to the request
- header(String, String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Adds a header to the request
L
- logger - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The logger.
- logger - Static variable in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- logger - Static variable in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
N
- newRequest(String) - Static method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Creates a new request.
- newRequest(String) - Static method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Creates a new request.
O
- options() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the OPTIONS request to the web application with no body.
- options() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- options() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- OPTIONS - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The OPTIONS method.
- org.gcube.common.gxhttp.reference - package org.gcube.common.gxhttp.reference
-
GXHTTP core.
- org.gcube.common.gxhttp.request - package org.gcube.common.gxhttp.request
-
GXHTTP requests.
- org.gcube.common.gxhttp.util - package org.gcube.common.gxhttp.util
-
Utilities.
P
- PARAM_EQUALS - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The parameter equals.
- PARAM_SEPARATOR - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The parameter separator.
- PARAM_STARTER - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The parameter starter.
- patch() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the PATCH request to the web application with no body.
- patch() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- patch() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- patch(BODY) - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the PATCH request to the web application.
- patch(InputStream) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- patch(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
- PATCH - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The PATCH method.
- path - Variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The path of the remote service.
- path(String) - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Adds s positional path parameter to the request.
- path(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Adds a path to the request URL
- path(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Adds a path to the request URL
- PATH_SEPARATOR - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The path separator.
- post() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the POST request to the web application with no body.
- post() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- post() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- post(BODY) - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the POST request to the web application.
- post(InputStream) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- post(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
- POST - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The POST method.
- purge() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the PURGE request to the web application.
- purge() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sends the PURGE request to the web application.
- purge() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- PURGE - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The PURGE method.
- put() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the PUT request to the web application with no body.
- put() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- put() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- put(BODY) - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the PUT request to the web application.
- put(InputStream) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- put(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
- PUT - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The PUT method.
Q
- queryParams(Map<String, String>) - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
-
Sets the query parameters for the request.
- queryParams(Map<String, String>) - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
-
Adds query parameters to the request
- queryParams(Map<String, String>) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Adds query parameters to the request
R
- reset() - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Resets the connection.
S
- send(GXConnection.HTTPMETHOD) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Sends the request with the given method
- setAgent(String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Sets the agent for the connection.
- setPathParameters(String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Sets the path parameters for the connection.
- setProperty(String, String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Adds a property as header.
- setQueryParameters(String) - Method in class org.gcube.common.gxhttp.reference.GXConnection
-
Sets the query parameters for the connection.
T
- toByteArray(InputStream) - Static method in class org.gcube.common.gxhttp.util.ContentUtils
-
Gets the contents of an
InputStreamas abyte[]. - toByteArray(Object) - Static method in class org.gcube.common.gxhttp.util.ContentUtils
-
Converts an object to an array of bytes
- toObject(byte[]) - Method in class org.gcube.common.gxhttp.util.ContentUtils
-
Converts the array of bytes into an object.
- toObject(InputStream, Class<T>) - Static method in class org.gcube.common.gxhttp.util.ContentUtils
-
Converts an input stream to an object.
- toString() - Method in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
- toString(byte[]) - Static method in class org.gcube.common.gxhttp.util.ContentUtils
-
Converts a byte array to a string.
- trace() - Method in interface org.gcube.common.gxhttp.reference.GXHTTP
-
Sends the TRACE request to the web application with no body.
- trace() - Method in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
- trace() - Method in class org.gcube.common.gxhttp.request.GXHTTPStreamRequest
- TRACE - Enum constant in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
The TRACE method.
U
- UTF8 - Static variable in class org.gcube.common.gxhttp.reference.GXConnection
-
The UTF-8 charset.
- UUID_REGEX - Static variable in class org.gcube.common.gxhttp.reference.GXHTTPRequestBuilder
V
- valueOf(String) - Static method in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withBody(String) - Method in class org.gcube.common.gxhttp.request.GXHTTPStringRequest
-
Sets the body of the request.
All Classes and Interfaces|All Packages|Constant Field Values