
com.github.mkopylec.charon.forwarding.RetryAwareRestTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of charon-spring-webmvc Show documentation
Show all versions of charon-spring-webmvc Show documentation
Reverse proxy implementation in form of Spring Boot starter
The newest version!
package com.github.mkopylec.charon.forwarding;
import com.github.mkopylec.charon.forwarding.interceptors.resilience.RetryAwareList;
import org.springframework.http.client.ClientHttpRequestInterceptor;
import org.springframework.web.client.RestTemplate;
import java.util.List;
class RetryAwareRestTemplate extends RestTemplate {
private List interceptors = new RetryAwareList<>();
@Override
public void setInterceptors(List interceptors) {
this.interceptors.clear();
this.interceptors.addAll(interceptors);
}
@Override
public List getInterceptors() {
return interceptors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy