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

com.github.datalking.annotation.web.RequestMapping Maven / Gradle / Ivy

package com.github.datalking.annotation.web;

import com.github.datalking.annotation.internal.Mapping;
import com.github.datalking.web.http.RequestMethod;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author yaoo on 4/24/18
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface RequestMapping {

    String[] value() default {};

    RequestMethod[] method() default {};

    String[] params() default {};

    String[] headers() default {};

    String[] consumes() default {};

    String[] produces() default {};

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy