类 net.hasor.plugins.controller.ControllerIgnore
的使用

使用 ControllerIgnore 的软件包
net.hasor.plugins.controller Web 插件,为 WebMVC 开发提供支持。 
 

net.hasor.plugins.controllerControllerIgnore 的使用
 

注释类型为 ControllerIgnorenet.hasor.plugins.controller 中的方法
 AbstractController AbstractController.addHeader(String key, String value)
          设置HttpServletResponseHeader属性
 net.hasor.core.AppContext AbstractController.getAppContext()
          Return AppContext.
<T> T
AbstractController.getAttr(String name)
          Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
 Integer AbstractController.getAttrForInt(String name)
          Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
 String AbstractController.getAttrForStr(String name)
          Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
 Enumeration<String> AbstractController.getAttrNames()
          Returns an Enumeration containing the names of the attributes available to this request.
 String AbstractController.getCookie(String name)
          Get cookie value by cookie name.
 String AbstractController.getCookie(String name, String defaultValue)
          Get cookie value by cookie name.
 javax.servlet.http.Cookie AbstractController.getCookieObject(String name)
          Get cookie object by cookie name.
 javax.servlet.http.Cookie[] AbstractController.getCookieObjects()
          Get all cookie objects.
 Integer AbstractController.getCookieToInt(String name)
          Get cookie value by cookie name and convert to Integer.
 Integer AbstractController.getCookieToInt(String name, Integer defaultValue)
          Get cookie value by cookie name and convert to Integer.
 Long AbstractController.getCookieToLong(String name)
          Get cookie value by cookie name and convert to Long.
 Long AbstractController.getCookieToLong(String name, Long defaultValue)
          Get cookie value by cookie name and convert to Long.
protected  Object AbstractController.getModel(Class<?> modelClass)
          Get model from AppContext.
protected  Object AbstractController.getModel(String modelName)
          Get model from AppContext.
 String AbstractController.getPara(String name)
          Returns the value of a request parameter as a String, or null if the parameter does not exist.
 String AbstractController.getPara(String name, String defaultValue)
          Returns the value of a request parameter as a String, or default value if the parameter does not exist.
 Map<String,String[]> AbstractController.getParaMap()
          Returns the values of the request parameters as a Map.
 Enumeration<String> AbstractController.getParaNames()
          Returns an Enumeration of String objects containing the names of the parameters contained in this request.
 Boolean AbstractController.getParaToBoolean(String name)
          Returns the value of a request parameter and convert to Boolean.
 Boolean AbstractController.getParaToBoolean(String name, Boolean defaultValue)
          Returns the value of a request parameter and convert to Boolean with a default value if it is null.
 Integer AbstractController.getParaToInt(String name)
          Returns the value of a request parameter and convert to Integer.
 Integer AbstractController.getParaToInt(String name, Integer defaultValue)
          Returns the value of a request parameter and convert to Integer with a default value if it is null.
 Long AbstractController.getParaToLong(String name)
          Returns the value of a request parameter and convert to Long.
 Long AbstractController.getParaToLong(String name, Long defaultValue)
          Returns the value of a request parameter and convert to Long with a default value if it is null.
 String[] AbstractController.getParaValues(String name)
          Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
 Integer[] AbstractController.getParaValuesToInt(String name)
          Returns an array of Integer objects containing all of the values the given request parameter has, or null if the parameter does not exist.
 javax.servlet.http.HttpServletRequest AbstractController.getRequest()
          Return HttpServletRequest.
 javax.servlet.http.HttpServletResponse AbstractController.getResponse()
          Return HttpServletResponse.
 javax.servlet.http.HttpSession AbstractController.getSession()
          Return HttpSession.
 javax.servlet.http.HttpSession AbstractController.getSession(boolean create)
          Return HttpSession.
<T> T
AbstractController.getSessionAttr(String key)
          Return a Object from session.
 void AbstractController.initController(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
           
 AbstractController AbstractController.putAtt(String attKey, Object attValue)
          设置HttpServletRequest属性
 AbstractController AbstractController.removeAttr(String name)
          Removes an attribute from this request
 AbstractController AbstractController.removeCookie(String name)
          Remove Cookie with path = "/".
 AbstractController AbstractController.removeCookie(String name, String path)
          Remove Cookie.
 AbstractController AbstractController.removeCookie(String name, String path, String domain)
          Remove Cookie.
 AbstractController AbstractController.removeSessionAttr(String key)
          Remove Object in session.
 void AbstractController.resetController()
           
 AbstractController AbstractController.setAttr(String name, Object value)
          Stores an attribute in this request
 AbstractController AbstractController.setAttrs(Map<String,Object> attrMap)
          Stores attributes in this request, key of the map as attribute name and value of the map as attribute value
 AbstractController AbstractController.setCookie(javax.servlet.http.Cookie cookie)
          Set Cookie to response.
 AbstractController AbstractController.setCookie(String name, String value, int maxAgeInSeconds)
          Set Cookie with path = "/".
 AbstractController AbstractController.setCookie(String name, String value, int maxAgeInSeconds, String path)
          Set Cookie to response.
 AbstractController AbstractController.setCookie(String name, String value, int maxAgeInSeconds, String path, String domain)
          Set Cookie to response.
 AbstractController AbstractController.setHeader(String key, String value)
          设置HttpServletResponseHeader属性
 AbstractController AbstractController.setSessionAttr(String key, Object value)
          Store Object to session.
 Integer AbstractController.toInt(String value, Integer defaultValue)
           
 Long AbstractController.toLong(String value, Long defaultValue)
           
 



Copyright © 2013-2014. All Rights Reserved.