File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
src/main/java/org/asynchttpclient Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 31
31
with :
32
32
servers : |
33
33
[{
34
- "id": "ossrh ",
34
+ "id": "central ",
35
35
"username": "${{ secrets.OSSRH_USERNAME }}",
36
36
"password": "${{ secrets.OSSRH_PASSWORD }}"
37
37
}]
Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ Maven:
20
20
<dependency >
21
21
<groupId >org.asynchttpclient</groupId >
22
22
<artifactId >async-http-client</artifactId >
23
- <version >3.0.2 </version >
23
+ <version >3.0.3 </version >
24
24
</dependency >
25
25
</dependencies >
26
26
```
27
27
28
28
Gradle:
29
29
``` groovy
30
30
dependencies {
31
- implementation 'org.asynchttpclient:async-http-client:3.0.2 '
31
+ implementation 'org.asynchttpclient:async-http-client:3.0.3 '
32
32
}
33
33
```
34
34
Original file line number Diff line number Diff line change 19
19
<parent >
20
20
<groupId >org.asynchttpclient</groupId >
21
21
<artifactId >async-http-client-project</artifactId >
22
- <version >3.0.2 </version >
22
+ <version >3.0.3 </version >
23
23
</parent >
24
24
25
25
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change @@ -380,7 +380,10 @@ public interface AsyncHttpClientConfig {
380
380
*
381
381
* @return true if the Authorization header should be stripped, false otherwise.
382
382
*/
383
- boolean isStripAuthorizationOnRedirect ();
383
+ default boolean isStripAuthorizationOnRedirect () {
384
+ // By default, we throw, so that existing implementations don't break.
385
+ throw new UnsupportedOperationException ("IsStripAuthorizationOnRedirect is not supported by " + getClass ().getName ());
386
+ }
384
387
385
388
enum ResponseBodyPartFactory {
386
389
Original file line number Diff line number Diff line change 20
20
21
21
<groupId >org.asynchttpclient</groupId >
22
22
<artifactId >async-http-client-project</artifactId >
23
- <version >3.0.2 </version >
23
+ <version >3.0.3 </version >
24
24
<packaging >pom</packaging >
25
25
26
26
<name >AHC/Project</name >
394
394
</plugin >
395
395
396
396
<plugin >
397
- <groupId >org.sonatype.plugins </groupId >
398
- <artifactId >nexus-staging -maven-plugin</artifactId >
399
- <version >1.7 .0</version >
397
+ <groupId >org.sonatype.central </groupId >
398
+ <artifactId >central-publishing -maven-plugin</artifactId >
399
+ <version >0.8 .0</version >
400
400
<extensions >true</extensions >
401
401
<configuration >
402
- <serverId >ossrh</serverId >
403
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
404
- <autoReleaseAfterClose >false</autoReleaseAfterClose >
405
- <skipRemoteStaging >false</skipRemoteStaging >
402
+ <publishingServerId >central</publishingServerId >
406
403
</configuration >
407
404
</plugin >
408
405
You can’t perform that action at this time.
0 commit comments