com.versionone.apiclient

## Class ProxyProvider

- java.lang.Object
- - com.versionone.apiclient.ProxyProvider

-     public class ProxyProvider
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProxyProvider(URI address, String userName, String password)` Create proxy for connection.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addAuthorizationToHeader(HttpURLConnection request)`
    `URI` | `getAddress()`
    `String` | `getPassword()`
    `protected Proxy` | `getProxyObject()`
    `String` | `getUserName()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProxyProvider

          public ProxyProvider(URI address,
                               String userName,
                               String password)

      Create proxy for connection.
      Parameters:
        `address` - host and port for proxy server.
        `userName` - user name for proxy.
        `password` - password for proxy.

  - ### Method Detail

    - #### getAddress

          public URI getAddress()

    - #### getPassword

          public String getPassword()

    - #### getUserName

          public String getUserName()

    - #### getProxyObject

          protected Proxy getProxyObject()

    - #### addAuthorizationToHeader

          protected void addAuthorizationToHeader(HttpURLConnection request)

Copyright © 2021 VersionOne, Inc.. All rights reserved.