We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Metadata
1 parent 81945e1 commit b4761f8Copy full SHA for b4761f8
azd/src/main/java/org/azd/utils/RestClient.java
@@ -50,7 +50,15 @@ static OptionalLong retryAfterInterval() {
50
*/
51
public static final class Metadata {
52
public static String getResponseHeader(String value) {
53
- return RestClient.headersFromLastRequest.firstValue(value).orElse("");
+ return RestClient.headersFromLastRequest.firstValue(value).orElse(null);
54
+ }
55
+
56
+ public static HttpHeaders getResponseHeaders() {
57
+ return RestClient.headersFromLastRequest;
58
59
60
+ public OptionalLong getRetryAfterInterval() {
61
+ return RestClient.retryAfterInterval();
62
}
63
64
0 commit comments