com.github.zuihou.cloud.http.LbRestTemplate Maven / Gradle / Ivy
package com.github.zuihou.cloud.http;
import org.springframework.http.client.ClientHttpRequestFactory;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.client.RestTemplate;
import java.util.List;
/**
* Loadbalancer RestTemplate
*
* @author zuihou
*/
public class LbRestTemplate extends RestTemplate {
public LbRestTemplate() {
super();
}
public LbRestTemplate(ClientHttpRequestFactory requestFactory) {
super(requestFactory);
}
public LbRestTemplate(List> messageConverters) {
super(messageConverters);
}
}