com.yeskery.nut.annotation.websocket.PathParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nut Show documentation
Show all versions of nut Show documentation
A web mvc framework with runtime environment build on java8
The newest version!
package com.yeskery.nut.annotation.websocket;
import java.lang.annotation.*;
/**
* 路径参数获取注解
* @author sprout
* @version 1.0
* 2023-04-16 18:02
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
@Documented
public @interface PathParam {
/**
* 路径参数名
* @return 路径参数名
*/
String value() default "";
}