Interface GXHTTP<BODY,RESPONSE>

Type Parameters:
BODY - the type of the body request
RESPONSE - the type of the response
All Known Implementing Classes:
GXHTTPStreamRequest, GXHTTPStringRequest

@Deprecated(since="1.1.0", forRemoval=true) public interface GXHTTP<BODY,RESPONSE>
Deprecated, for removal: This API element is subject to removal in a future version.
use GXRequest, which returns a GXResponse
HTTP methods for requests.
Author:
Manuele Simi (ISTI-CNR), Luca Frosini (ISTI-CNR)
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sends the HEAD request to the web application.
    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.
    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.
    patch(BODY body)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sends the PATCH request to the web application.
    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.
    post(BODY body)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sends the POST request to the web application.
    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.
    put(BODY body)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sends the PUT request to the web application.
    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

      RESPONSE put(BODY body) throws Exception
      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

      RESPONSE put() throws Exception
      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

      RESPONSE delete() throws Exception
      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

      RESPONSE purge() throws Exception
      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

      RESPONSE head() throws Exception
      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

      RESPONSE get() throws Exception
      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

      RESPONSE post(BODY body) throws Exception
      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

      RESPONSE post() throws Exception
      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

      RESPONSE trace() throws Exception
      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

      RESPONSE patch(BODY body) throws Exception
      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

      RESPONSE patch() throws Exception
      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

      RESPONSE options() throws Exception
      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

      RESPONSE connect() throws Exception
      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