
com.github.mkopylec.charon.forwarding.OkClientHttpRequestFactoryCreatorConfigurer 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 okhttp3.OkHttpClient.Builder;
public class OkClientHttpRequestFactoryCreatorConfigurer extends ClientHttpRequestFactoryCreatorConfigurer {
private OkClientHttpRequestFactoryCreatorConfigurer() {
super(new OkClientHttpRequestFactoryCreator());
}
public static OkClientHttpRequestFactoryCreatorConfigurer okClientHttpRequestFactoryCreator() {
return new OkClientHttpRequestFactoryCreatorConfigurer();
}
public OkClientHttpRequestFactoryCreatorConfigurer httpClient(Builder httpClient) {
configuredObject.setHttpClient(httpClient.build());
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy