com.mengweifeng.nettysupport.Handler Maven / Gradle / Ivy
The newest version!
package com.mengweifeng.nettysupport;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Handler {
String value() default "";
/**
* 当前的处理器处理哪个URI的http请求
*
*/
String uri() default "/";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy