Skip to content
3 changes: 3 additions & 0 deletions src/main/java/com/tencentcloudapi/common/AbstractClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public AbstractClient(
this.profile.getHttpProfile().getWriteTimeout()
);
this.httpConnection.addInterceptors(this.log);
if (this.profile.getHttpProfile().getDomainFailover()) {
this.httpConnection.addInterceptors(new EndpointFailoverInterceptor(this));
}
this.trySetProxy(this.httpConnection);
this.trySetSSLSocketFactory(this.httpConnection);
this.trySetRegionBreaker();
Expand Down
Loading