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 3131 with :
3232 servers : |
3333 [{
34- "id": "ossrh ",
34+ "id": "central ",
3535 "username": "${{ secrets.OSSRH_USERNAME }}",
3636 "password": "${{ secrets.OSSRH_PASSWORD }}"
3737 }]
Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ Maven:
2020 <dependency >
2121 <groupId >org.asynchttpclient</groupId >
2222 <artifactId >async-http-client</artifactId >
23- <version >3.0.2 </version >
23+ <version >3.0.3 </version >
2424 </dependency >
2525</dependencies >
2626```
2727
2828Gradle:
2929``` groovy
3030dependencies {
31- implementation 'org.asynchttpclient:async-http-client:3.0.2 '
31+ implementation 'org.asynchttpclient:async-http-client:3.0.3 '
3232}
3333```
3434
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >org.asynchttpclient</groupId >
2121 <artifactId >async-http-client-project</artifactId >
22- <version >3.0.2 </version >
22+ <version >3.0.3 </version >
2323 </parent >
2424
2525 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change @@ -380,7 +380,10 @@ public interface AsyncHttpClientConfig {
380380 *
381381 * @return true if the Authorization header should be stripped, false otherwise.
382382 */
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+ }
384387
385388 enum ResponseBodyPartFactory {
386389
Original file line number Diff line number Diff line change 2020
2121 <groupId >org.asynchttpclient</groupId >
2222 <artifactId >async-http-client-project</artifactId >
23- <version >3.0.2 </version >
23+ <version >3.0.3 </version >
2424 <packaging >pom</packaging >
2525
2626 <name >AHC/Project</name >
394394 </plugin >
395395
396396 <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 >
400400 <extensions >true</extensions >
401401 <configuration >
402- <serverId >ossrh</serverId >
403- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
404- <autoReleaseAfterClose >false</autoReleaseAfterClose >
405- <skipRemoteStaging >false</skipRemoteStaging >
402+ <publishingServerId >central</publishingServerId >
406403 </configuration >
407404 </plugin >
408405
You can’t perform that action at this time.
0 commit comments