node-web-mvc
Version:
node spring mvc
21 lines (20 loc) • 904 B
TypeScript
import BasicMapping from './BasicMapping';
declare class DeleteMapping extends BasicMapping {
}
/**
* 配置一个DELETE类型的请求映射
* 例如:
*
* @RequestMapping('/user/')
* @RequestMapping(['/user','/hello'],'GET')
* @RequestMapping('/user','POST','application/json')
* RequestMapping({ value:'/user',method:'POST',produces:'application/json',consumes:'' })
* @param {String/Object/Array} value 可以为对象,或者为path的字符串数组 '/user' ['/user' ] { value:'xxx',method:'' }
*/
declare const _default: {
(options: string | string[] | import("../Target").CreateOptions<typeof DeleteMapping>): MethodDecorator;
(target: {
[x: string]: any;
}, propertyKey: string, descriptor: TypedPropertyDescriptor<any>): any;
} & import("../annotation/type").LinkAnnotationType<typeof DeleteMapping> & typeof DeleteMapping;
export default _default;