@@ -73,15 +73,16 @@ gitLabApi.unsudo();
73
73
As of GitLab4J-API 4.8.2 support has been added for connecting to the GitLab server using an HTTP proxy server:
74
74
``` java
75
75
// 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
+
80
80
// 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 );
83
83
```
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
+
85
86
---
86
87
## GitLab API V3 and V4 Support
87
88
As of GitLab4J-API 4.2.0 support has been added for GitLab API V4. If your application requires GitLab API V3,
0 commit comments