Package com.jfrog.bintray.client.impl
Class BintrayClient
- java.lang.Object
-
- com.jfrog.bintray.client.impl.BintrayClient
-
public class BintrayClient extends Object
Creates a client to perform api actions with, can be configured with\without proxy (can be passed as null) By default, https://api.bintray.com is used, unless specified otherwise (i.e. can be configured to work with https://dl.bintray.com/).
-
-
Field Summary
Fields Modifier and Type Field Description static StringBINTRAY_API_URLstatic intDEFAULT_TIMEOUTstatic StringUSER_AGENT
-
Constructor Summary
Constructors Constructor Description BintrayClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.jfrog.bintray.client.api.handle.Bintraycreate(String userName, String apiKey)Username and API key, no proxystatic com.jfrog.bintray.client.api.handle.Bintraycreate(String bintrayUserName, String bintrayApiKey, HttpClientConfigurator.ProxyConfig proxyConfig, String url)Username, API key, proxy and custom urlstatic com.jfrog.bintray.client.api.handle.Bintraycreate(String url, String userName, String apiKey)Username, API key, and custom urlstatic com.jfrog.bintray.client.api.handle.Bintraycreate(org.apache.http.auth.UsernamePasswordCredentials creds, HttpClientConfigurator.ProxyConfig proxyConfig)Credentials with proxystatic com.jfrog.bintray.client.api.handle.Bintraycreate(org.apache.http.impl.client.CloseableHttpClient preConfiguredClient, String url, int threadPoolSize, int signRequestTimeoutPerFile)
-
-
-
Field Detail
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
BINTRAY_API_URL
public static final String BINTRAY_API_URL
- See Also:
- Constant Field Values
-
USER_AGENT
public static final String USER_AGENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static com.jfrog.bintray.client.api.handle.Bintray create(org.apache.http.impl.client.CloseableHttpClient preConfiguredClient, String url, int threadPoolSize, int signRequestTimeoutPerFile)
-
create
public static com.jfrog.bintray.client.api.handle.Bintray create(String userName, String apiKey)
Username and API key, no proxy
-
create
public static com.jfrog.bintray.client.api.handle.Bintray create(String url, String userName, String apiKey)
Username, API key, and custom url
-
create
public static com.jfrog.bintray.client.api.handle.Bintray create(org.apache.http.auth.UsernamePasswordCredentials creds, HttpClientConfigurator.ProxyConfig proxyConfig)Credentials with proxy
-
create
public static com.jfrog.bintray.client.api.handle.Bintray create(String bintrayUserName, String bintrayApiKey, HttpClientConfigurator.ProxyConfig proxyConfig, String url)
Username, API key, proxy and custom url
-
-