File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434
3535### API Changes
3636
37+ [ Changing getLocalContext(), setLocalContext()] [ pull-163 ]
38+
39+ The protected method ` getLocalContext() ` now returns
40+ ` HttpContext ` instead of ` BasicHttpContext ` .
41+ So the API has changed from the following:
42+
43+ ``` java
44+ public class JenkinsServer {
45+ protected BasicHttpContext getLocalContext ();
46+ protected void setLocalContext (BasicHttpContext localContext );
47+ .
48+ }
49+ ```
50+
51+ into this:
52+
53+ ``` java
54+ public class JenkinsServer {
55+ protected HttpContext getLocalContext ();
56+ protected void setLocalContext (HttpContext localContext );
57+ .
58+ }
59+ ```
60+
61+ Apart from that the visibility of the class ` PreemptiveAuth ` has been changed
62+ from package private to public.
63+
3764 [ Get Jenkins Version from http header] [ issue-90 ]
3865
3966``` java
@@ -481,5 +508,6 @@ TestReport testReport = mavenJob.getLastSuccessfulBuild().getTestReport();
481508[pull- 123 ]: https: // github.com/jenkinsci/java-client-api/pull/123
482509[pull- 149 ]: https: // github.com/jenkinsci/java-client-api/pull/149
483510[pull- 158 ]: https: // github.com/jenkinsci/java-client-api/pull/158
511+ [pull- 163 ]: https: // github.com/jenkinsci/java-client-api/pull/163
484512[jissue- 35002 ]: https: // issues.jenkins-ci.org/browse/JENKINS-35002
485513[jissue- 35108 ]: https: // issues.jenkins-ci.org/browse/JENKINS-35108
You can’t perform that action at this time.
0 commit comments