Interface HttpURLConnectionWrapper


  • public interface HttpURLConnectionWrapper
    Interface wrapping HttpURLConnection creation. Implementations can support connection retry.
    • Method Detail

      • getHttpURLConnection

        java.net.HttpURLConnection getHttpURLConnection()
                                                 throws java.io.IOException
        Get a HttpURLConnection generated from the implementation specifics
        Returns:
        HttpURLConnection which is generated
        Throws:
        java.io.IOException
      • isRetryAllowed

        boolean isRetryAllowed()
        Returns retry allowed status
        Returns:
        true if retry is allowed and false if retry is not allowed