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

com.itcoon.common.starter.annotations.AntRestController Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
package com.itcoon.common.starter.annotations;

import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@RestController
@RequestMapping
public @interface AntRestController {

    @AliasFor(annotation = RestController.class, attribute = "value")
    String value() default "";

    @AliasFor(annotation = RequestMapping.class, attribute = "path")
    String[] path() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy