Package net.loyin.handler

Examples of net.loyin.handler.SessionHandler


 
  /**
   * 配置处理器
   */
  public void configHandler(Handlers me) {
    me.add(new SessionHandler());//将session里的参数传递到request中直接得到
    //访问路径是/admin/monitor
    DruidStatViewHandler dvh =  new DruidStatViewHandler("/admin/monitor", new IDruidStatViewAuth() {
      public boolean isPermitted(HttpServletRequest request) {//获得查看权限
//        HttpSession hs = request.getSession(false);
//        return (hs != null && hs.getAttribute("$admin$") != null);
View Full Code Here

TOP

Related Classes of net.loyin.handler.SessionHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.