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

org.nico.cat.mvc.scan.annotations.Lobby Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package org.nico.cat.mvc.scan.annotations;

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

import org.nico.cat.mvc.parameter.RequestMethod;


/** 
 * Mapping
 * @author nico
 * @version createTime:2018年1月15日 下午8:09:54
 */
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Lobby {

	/**
	 * Request API mapping
	 * @return entry
	 */
	String mapping() default "";
	
	/**
	 * Request type
	 * @return request type
	 */
	RequestMethod requestMethod() default RequestMethod.DEFAULT;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy