All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fun.fengwk.convention4j.spring.cloud.starter.feign.FeignInternalInvokerInterceptor Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package fun.fengwk.convention4j.spring.cloud.starter.feign;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import fun.fengwk.convention4j.springboot.starter.result.ResultInternalInvokerUtils;
import lombok.AllArgsConstructor;

/**
 * @author fengwk
 */
@AllArgsConstructor
public class FeignInternalInvokerInterceptor implements RequestInterceptor {

    @Override
    public void apply(RequestTemplate template) {
        ResultInternalInvokerUtils.setIgnoreErrorHttpStatus(template::header);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy