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

com.envision.annotation.MarsApiController Maven / Gradle / Ivy

The newest version!
package com.envision.annotation;

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

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

/**
 * @author qiweishi
 * @date 2018/11/13
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@RestController
@RequestMapping(produces = "application/json;charset=UTF-8")
public @interface MarsApiController {

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy