|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -25,6 +25,7 @@ import reactor.core.publisher.Mono; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.core.ParameterizedTypeReference; |
|
|
|
import org.springframework.core.ParameterizedTypeReference; |
|
|
|
import org.springframework.http.HttpHeaders; |
|
|
|
import org.springframework.http.HttpHeaders; |
|
|
|
|
|
|
|
import org.springframework.http.HttpRequest; |
|
|
|
import org.springframework.http.HttpStatusCode; |
|
|
|
import org.springframework.http.HttpStatusCode; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.http.ResponseCookie; |
|
|
|
import org.springframework.http.ResponseCookie; |
|
|
@ -68,11 +69,6 @@ public class ClientResponseWrapper implements ClientResponse { |
|
|
|
return this.delegate; |
|
|
|
return this.delegate; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public ExchangeStrategies strategies() { |
|
|
|
|
|
|
|
return this.delegate.strategies(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public HttpStatusCode statusCode() { |
|
|
|
public HttpStatusCode statusCode() { |
|
|
|
return this.delegate.statusCode(); |
|
|
|
return this.delegate.statusCode(); |
|
|
@ -88,6 +84,16 @@ public class ClientResponseWrapper implements ClientResponse { |
|
|
|
return this.delegate.cookies(); |
|
|
|
return this.delegate.cookies(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public ExchangeStrategies strategies() { |
|
|
|
|
|
|
|
return this.delegate.strategies(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public HttpRequest request() { |
|
|
|
|
|
|
|
return this.delegate.request(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public <T> T body(BodyExtractor<T, ? super ClientHttpResponse> extractor) { |
|
|
|
public <T> T body(BodyExtractor<T, ? super ClientHttpResponse> extractor) { |
|
|
|
return this.delegate.body(extractor); |
|
|
|
return this.delegate.body(extractor); |
|
|
|