File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
gitlab4j-api/src/main/java/org/gitlab4j/api Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -880,6 +880,24 @@ public void setIgnoreCertificateErrors(boolean ignoreCertificateErrors) {
880880 apiClient .setIgnoreCertificateErrors (ignoreCertificateErrors );
881881 }
882882
883+ /**
884+ * Returns the configured custom 'User-Agent' header value
885+ *
886+ * @return User-Agent header value
887+ */
888+ public String getUserAgentHeader () {
889+ return apiClient .getUserAgentHeader ();
890+ }
891+
892+ /**
893+ * Configures a custom value for the 'User-Agent' header
894+ *
895+ * @param userAgentHeader User-Agent header value
896+ */
897+ public void setUserAgentHeader (String userAgentHeader ) {
898+ apiClient .setUserAgentHeader (userAgentHeader );
899+ }
900+
883901 /**
884902 * Get the version info for the GitLab server using the GitLab Version API.
885903 *
You can’t perform that action at this time.
0 commit comments