@@ -73,15 +73,16 @@ gitLabApi.unsudo();
7373As of GitLab4J-API 4.8.2 support has been added for connecting to the GitLab server using an HTTP proxy server:
7474``` java
7575// Log in to the GitLab server using a proxy server (with basic auth on proxy)
76- Map<String , Object > proxyConfiguration = ProxyClientConfig . createProxyClientConfig(" http://your-proxy-server " , " proxy-username " , " proxy-password " );
77- GitLabApi gitLabApi = new GitLabApi ( " http://your.gitlab. server.com " , " YOUR_PRIVATE_TOKEN " , null , proxyConfiguration );
78- ```
79- ``` java
76+ Map<String , Object > proxyConfig = ProxyClientConfig . createProxyClientConfig(
77+ " http://your-proxy- server" , " proxy-username " , " proxy-password " );
78+ GitLabApi gitLabApi = new GitLabApi ( " http://your.gitlab.com " , " YOUR_PRIVATE_TOKEN " , null , proxyConfig);
79+
8080// Log in to the GitLab server using a proxy server (no auth on proxy)
81- Map<String , Object > proxyConfiguration = ProxyClientConfig . createProxyClientConfig(" http://your-proxy-server" );
82- GitLabApi gitLabApi = new GitLabApi (" http://your.gitlab.server. com" , " YOUR_PRIVATE_TOKEN" , null , proxyConfiguration );
81+ Map<String , Object > proxyConfig = ProxyClientConfig . createProxyClientConfig(" http://your-proxy-server" );
82+ GitLabApi gitLabApi = new GitLabApi (" http://your.gitlab.com" , " YOUR_PRIVATE_TOKEN" , null , proxyConfig );
8383```
84- * NOTE: See the Javadoc on the GitLabApi class for a complete list of methods accepting the proxy configuration (clientConfiguration parameter)*
84+ See the Javadoc on the GitLabApi class for a complete list of methods accepting the proxy configuration (clientConfiguration parameter)
85+
8586---
8687## GitLab API V3 and V4 Support
8788As of GitLab4J-API 4.2.0 support has been added for GitLab API V4. If your application requires GitLab API V3,
0 commit comments