Interface SplitHttpClient

    • Method Detail

      • get

        SplitHttpResponse get​(URI uri,
                              FetchOptions options,
                              Map<String,​List<String>> additionalHeaders)
        Wrapper for HTTP get method
        Parameters:
        uri - the URL to be used
        options - The FetchOptions object that contains headers.
        Returns:
        The response structure SplitHttpResponse
      • post

        SplitHttpResponse post​(URI uri,
                               String entity,
                               Map<String,​List<String>> additionalHeaders)
                        throws IOException
        Wrapper for HTTP post method
        Parameters:
        uri - the URL to be used
        entity - HttpEntity object that has The body load
        additionalHeaders - Any additional headers to be added.
        Returns:
        The response structure SplitHttpResponse
        Throws:
        IOException