001package io.freefair.spring.okhttp; 002 003import org.springframework.beans.factory.annotation.Qualifier; 004 005import java.lang.annotation.Retention; 006import java.lang.annotation.Target; 007 008import static java.lang.annotation.ElementType.CONSTRUCTOR; 009import static java.lang.annotation.ElementType.FIELD; 010import static java.lang.annotation.ElementType.METHOD; 011import static java.lang.annotation.RetentionPolicy.RUNTIME; 012 013/** 014 * A {@link Qualifier} annotation for {@link okhttp3.Interceptor OkHttp3-Interceptors}. 015 * 016 * @author Lars Grefer 017 * @see ApplicationInterceptor 018 */ 019@SuppressWarnings("WeakerAccess") 020@Target({METHOD, FIELD, CONSTRUCTOR}) 021@Retention(RUNTIME) 022@Qualifier 023public @interface NetworkInterceptor { 024}