
com.nntk.restplus.annotation.RestPlus Maven / Gradle / Ivy
package com.nntk.restplus.annotation;
import com.nntk.restplus.RestTemplateHttpFactory;
import com.nntk.restplus.abs.AbsHttpFactory;
import com.nntk.restplus.abs.AbsBasicRespObserver;
import com.nntk.restplus.abs.AbsRespHandleRule;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface RestPlus {
String baseUrl() default "";
Class extends AbsRespHandleRule> respHandler() default AbsRespHandleRule.class;
Class extends AbsBasicRespObserver> observe() default AbsBasicRespObserver.class;
Class extends AbsHttpFactory> httpFactory() default RestTemplateHttpFactory.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy