Skip to content

Commit bdaddbc

Browse files
committed
enable customization of strict302Handling in AsyncHttpClientConfigBean
need this method for Spring bean configuration
1 parent 0f1a04f commit bdaddbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/src/main/java/org/asynchttpclient/AsyncHttpClientConfigBean.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ public AsyncHttpClientConfigBean setMaxDefaultRedirects(int maxDefaultRedirects)
130130
return this;
131131
}
132132

133+
public AsyncHttpClientConfigBean setStrict302Handling(boolean strict302Handling) {
134+
this.strict302Handling = strict302Handling;
135+
return this;
136+
}
137+
133138
public AsyncHttpClientConfigBean setCompressionEnabled(boolean compressionEnabled) {
134139
this.compressionEnabled = compressionEnabled;
135140
return this;

0 commit comments

Comments
 (0)