Interface GXHTTP<BODY,RESPONSE>
- Type Parameters:
BODY- the type of the body requestRESPONSE- the type of the response
- All Known Implementing Classes:
GXHTTPStreamRequest,GXHTTPStringRequest
Deprecated, for removal: This API element is subject to removal in a future version.
HTTP methods for requests.
- Author:
- Manuele Simi (ISTI-CNR), Luca Frosini (ISTI-CNR)
-
Method Summary
Modifier and TypeMethodDescriptionconnect()Deprecated, for removal: This API element is subject to removal in a future version.Sends the CONNECT request to the web application with no body.delete()Deprecated, for removal: This API element is subject to removal in a future version.Sends the DELETE request to the web application.get()Deprecated, for removal: This API element is subject to removal in a future version.Sends the GET request to the web application.head()Deprecated, for removal: This API element is subject to removal in a future version.Sends the HEAD request to the web application.options()Deprecated, for removal: This API element is subject to removal in a future version.Sends the OPTIONS request to the web application with no body.patch()Deprecated, for removal: This API element is subject to removal in a future version.Sends the PATCH request to the web application with no body.Deprecated, for removal: This API element is subject to removal in a future version.Sends the PATCH request to the web application.post()Deprecated, for removal: This API element is subject to removal in a future version.Sends the POST request to the web application with no body.Deprecated, for removal: This API element is subject to removal in a future version.Sends the POST request to the web application.purge()Deprecated, for removal: This API element is subject to removal in a future version.Sends the PURGE request to the web application.put()Deprecated, for removal: This API element is subject to removal in a future version.Sends the PUT request to the web application with no body.Deprecated, for removal: This API element is subject to removal in a future version.Sends the PUT request to the web application.trace()Deprecated, for removal: This API element is subject to removal in a future version.Sends the TRACE request to the web application with no body.
-
Method Details
-
put
Deprecated, for removal: This API element is subject to removal in a future version.Sends the PUT request to the web application.- Parameters:
body- the body of the request- Returns:
- the response
- Throws:
Exception- if an error occurs
-
put
Deprecated, for removal: This API element is subject to removal in a future version.Sends the PUT request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
delete
Deprecated, for removal: This API element is subject to removal in a future version.Sends the DELETE request to the web application.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
purge
Deprecated, for removal: This API element is subject to removal in a future version.Sends the PURGE request to the web application.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
head
Deprecated, for removal: This API element is subject to removal in a future version.Sends the HEAD request to the web application.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Sends the GET request to the web application.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
post
Deprecated, for removal: This API element is subject to removal in a future version.Sends the POST request to the web application.- Parameters:
body- the body of the request- Returns:
- the response
- Throws:
Exception- if an error occurs
-
post
Deprecated, for removal: This API element is subject to removal in a future version.Sends the POST request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
trace
Deprecated, for removal: This API element is subject to removal in a future version.Sends the TRACE request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
patch
Deprecated, for removal: This API element is subject to removal in a future version.Sends the PATCH request to the web application.- Parameters:
body- the body of the request- Returns:
- the response
- Throws:
Exception- if an error occurs
-
patch
Deprecated, for removal: This API element is subject to removal in a future version.Sends the PATCH request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
options
Deprecated, for removal: This API element is subject to removal in a future version.Sends the OPTIONS request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
connect
Deprecated, for removal: This API element is subject to removal in a future version.Sends the CONNECT request to the web application with no body.- Returns:
- the response
- Throws:
Exception- if an error occurs
-
GXRequest, which returns aGXResponse