Interface RestDeleteClient

    • Method Detail

      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.data.Scheme aScheme,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aLocator,
                                               org.refcodes.net.FormFields aQueryFields)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aLocator,
                                               org.refcodes.net.FormFields aQueryFields,
                                               Object aRequest)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aLocator,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aLocator,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aUrl,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aUrl,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
                                        throws MalformedURLException
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) including the specific part (such as "//" for "http://") to be used for the destination URL: For HTTP, provide "http://", for HTTPS, provide "https://".
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               int aPort,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.FormFields aQueryFields,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(String aProtocol,
                                               String aHost,
                                               String aPath,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields,
                                               Object aRequest)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.net.Url aUrl)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • buildDelete

        default RestRequestBuilder buildDelete​(org.refcodes.net.Url aUrl,
                                               org.refcodes.net.RequestHeaderFields aHeaderFields)
        Prepares a DELETE request builder with the common attributes and returns the according request's RestRequestBuilder instance. Invoking RestRequestBuilder.toRestResponse() starts the request and synchronously returns the response.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestRequestBuilder which is used to prepare and synchronously issue the request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.data.Scheme aScheme,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.data.Scheme aScheme,
                                           String aHost,
                                           String aPath,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aScheme - The Scheme (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aUrl)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aLocator,
                                      org.refcodes.net.FormFields aQueryFields)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aLocator,
                                      org.refcodes.net.FormFields aQueryFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aLocator,
                                           org.refcodes.net.FormFields aQueryFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aLocator,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aLocator,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aLocator,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aLocator,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aLocator,
                                           org.refcodes.net.FormFields aQueryFields,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aLocator - The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aUrl,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aUrl,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aUrl,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException,
                                      MalformedURLException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aUrl,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestCallerBuilder doDelete​(String aUrl,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
                                    throws MalformedURLException
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aUrl - The targeted URL locating the addressed resource..
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
        Throws:
        MalformedURLException - in case the provided URL is considered being malformed.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      int aPort,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           int aPort,
                                           String aPath,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPort - The port to be used when connecting to the host.
        aPath - The path on the host to which the base destination URL is to point to.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.FormFields aQueryFields,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.FormFields aQueryFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aQueryFields - The Query-Fields to be used for the HTTP Query-String.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(String aProtocol,
                                      String aHost,
                                      String aPath,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(String aProtocol,
                                           String aHost,
                                           String aPath,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aProtocol - The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.
        aHost - The host to which the destination URL is to point to.
        aPath - The path on the host to which the base destination URL is to point to.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.net.Url aUrl)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.net.Url aUrl,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.net.Url aUrl,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestResponse doDelete​(org.refcodes.net.Url aUrl,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestResponse doDelete​(org.refcodes.net.Url aUrl,
                                      org.refcodes.net.RequestHeaderFields aHeaderFields,
                                      Object aRequest)
                               throws org.refcodes.net.HttpResponseException
        Sends a DELETE request with the common attributes and returns the according request's RestResponse instance synchronously.
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        Returns:
        The RestResponse as of your request.
        Throws:
        org.refcodes.net.HttpResponseException - thrown in case of some unexpected response.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.net.Url aUrl,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           Object aRequest,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aRequest - The body to be sent with the request (e.g. when doing a HttpMethod.DELETE request.
        aResponseObserver - The listener processing a response targeted at this RestCallerBuilder.
        Returns:
        The RestCallerBuilder which is used by your request.
      • doDelete

        default RestCallerBuilder doDelete​(org.refcodes.net.Url aUrl,
                                           org.refcodes.net.RequestHeaderFields aHeaderFields,
                                           RestResponseObserver aResponseObserver)
        Creates a DELETE request with the common attributes and returns the according RestCallerBuilder instance used for the request. The HTTP-Request is actually sent not earlier than you calling Openable.open() on the returned RestCallerBuilder as the RestCallerBuilder still may be modified after invoking this method!
        Parameters:
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The HTTP-Header's fields to be used for the request.
        aResponseObserver - The listener processing a response targeted at this RestCaller.
        Returns:
        The RestCallerBuilder which is used by your request.