软件包 com.seeyon.ctp.util.annotation

CTP提供的系统注解。

请参见:
          描述

注释类型摘要
AjaxAccess  
HandleNotification 注册集群通知处理方法。
ListenEvent 事件监听注解,将方法注册为指定类型事件的监听器。
NeedlessCheckLogin 声明一个Controller的action不需要验证用户是否登录,声明的方式有两种:
声明在class上,表示该controller的所有action都不需要验证用户是否登录 声明在method上,表示该controller的当前action不需要验证用户是否登录
SetContentType 声明一个Controller的action方法内部调用了ServletResponse.setContentType(java.lang.String),系统框架不再执行该方法
声明的方式有两种:
声明在class上,表示该controller的所有action都是自己setContentType @SetContentType public class FileUploadController extends BaseController{ public ModelAndView doDownload(HttpServletRequest request, HttpServletResponse response) throws Exception { response.setContentType("application/x-msdownload; charset=UTF-8") ...... } } 声明在method上,表示该controller的当前action是自己setContentType public class FileUploadController extends BaseController{ @SetContentType public ModelAndView doDownload(HttpServletRequest request, HttpServletResponse response) throws Exception { response.setContentType("application/x-msdownload; charset=UTF-8") ...... } }
 

软件包 com.seeyon.ctp.util.annotation 的描述

CTP提供的系统注解。