Interface GenHttpClientFactory


  • public interface GenHttpClientFactory
    Defines the interface of an HTTP request factory.
    • Method Detail

      • createHttpRequest

        GenHttpRequest createHttpRequest​(boolean verifyCertificate)
        Creates a new request. Can turn off HTTPS certificate verification.
        Parameters:
        verifyCertificate - verify certificate if true, otherwise do not
        Returns:
        a new instance of GenHttpRequest
      • createUriBuilder

        GenUriBuilder createUriBuilder​(java.lang.String baseUri)
                                throws java.net.URISyntaxException
        Creates an URI builder.
        Parameters:
        baseUri - the URI to begin with
        Returns:
        a new instance of GenUriBuilder
        Throws:
        java.net.URISyntaxException - when base URI is invalid