- C3p0Plugin - com.jfinal.plugin.c3p0中的类
-
The c3p0 datasource plugin.
- C3p0Plugin(String, String, String) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(String, String, String, String) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(String, String, String, String, Integer, Integer, Integer, Integer, Integer) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(File) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(Properties) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- Cache - com.jfinal.plugin.redis中的类
-
Cache.
- Cache() - 类 的构造器com.jfinal.plugin.redis.Cache
-
- Cache(String, JedisPool, ISerializer, IKeyNamingPolicy) - 类 的构造器com.jfinal.plugin.redis.Cache
-
- cacheAction(String, String, Controller) - 类 中的方法com.jfinal.plugin.ehcache.CacheInterceptor
-
- CacheInterceptor - com.jfinal.plugin.ehcache中的类
-
CacheInterceptor.
- CacheInterceptor() - 类 的构造器com.jfinal.plugin.ehcache.CacheInterceptor
-
- CacheKit - com.jfinal.plugin.ehcache中的类
-
CacheKit.
- CacheKit() - 类 的构造器com.jfinal.plugin.ehcache.CacheKit
-
- CacheName - com.jfinal.plugin.ehcache中的注释类型
-
CacheName can configure CacheInterceptor's cache name or EvictInterceptor's evict cache name.
- cacheName - 类 中的变量com.jfinal.plugin.redis.RedisPlugin
-
- call(Connection) - 接口 中的方法com.jfinal.plugin.activerecord.ICallback
-
Place codes here that need call back by active record plugin.
- call(Cache) - 接口 中的方法com.jfinal.plugin.redis.ICallback
-
- call(ICallback) - 类 中的静态方法com.jfinal.plugin.redis.Redis
-
- call(ICallback, String) - 类 中的静态方法com.jfinal.plugin.redis.Redis
-
- Call - com.jfinal.template.stat.ast中的类
-
Call 调用模板函数,两种用法:
1:常规调用
#@funcName(p1, p2, ..., pn)
2:安全调用,函数被定义才调用,否则跳过
#@funcName?
- Call(String, ExprList, boolean) - 类 的构造器com.jfinal.template.stat.ast.Call
-
- call(Env, Scope, ExprList, Writer) - 类 中的方法com.jfinal.template.stat.ast.Define
-
真正调用模板函数
- Captcha - com.jfinal.captcha中的类
-
验证码
- Captcha(String, String, int) - 类 的构造器com.jfinal.captcha.Captcha
-
验证码构造
- Captcha(String, String) - 类 的构造器com.jfinal.captcha.Captcha
-
- CaptchaCache - com.jfinal.captcha中的类
-
ICaptchaCache 默认实现,可用于单实例部署
集群部署需自行实现 ICaptchaCache 接口,并使用
CaptchaManager.setCaptchaCache(...)
- CaptchaCache() - 类 的构造器com.jfinal.captcha.CaptchaCache
-
- CaptchaManager - com.jfinal.captcha中的类
-
CaptchaManager
- captchaName - 类 中的静态变量com.jfinal.captcha.CaptchaRender
-
- CaptchaRender - com.jfinal.captcha中的类
-
CaptchaRender.
- CaptchaRender() - 类 的构造器com.jfinal.captcha.CaptchaRender
-
- CaptchaRender - com.jfinal.ext.render中的类
-
已过时。
- CaptchaRender(String) - 类 的构造器com.jfinal.ext.render.CaptchaRender
-
已过时。
- CaseInsensitiveContainerFactory - com.jfinal.plugin.activerecord中的类
-
CaseInsensitiveContainerFactory.
- CaseInsensitiveContainerFactory() - 类 的构造器com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory
-
- CaseInsensitiveContainerFactory(boolean) - 类 的构造器com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory
-
- CaseInsensitiveContainerFactory.CaseInsensitiveMap<V> - com.jfinal.plugin.activerecord中的类
-
- CaseInsensitiveContainerFactory.CaseInsensitiveSet - com.jfinal.plugin.activerecord中的类
-
- CaseInsensitiveMap() - 类 的构造器com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory.CaseInsensitiveMap
-
- CaseInsensitiveSet() - 类 的构造器com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory.CaseInsensitiveSet
-
- charArray - 类 中的静态变量com.jfinal.captcha.CaptchaRender
-
- CharTable - com.jfinal.template.stat中的类
-
CharTable 空间换时间优化字符判断性能
负值参数强转 char 会自动变正值,无需判断负值数组下标
isLetter(EOF) 不会下标越界
- checkUrlPara(int, int) - 类 中的方法com.jfinal.core.Controller
-
- checkUrlPara(int) - 类 中的方法com.jfinal.core.Controller
-
- classDefineForSetterChainTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- classDefineTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- classDefineTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- classDefineTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- classLoader - 类 中的变量com.jfinal.template.source.ClassPathSource
-
- ClassPathSource - com.jfinal.template.source中的类
-
ClassPathSource 用于从 class path 以及 jar 包之中加载模板内容
注意:
1:如果被加载的文件是 class path 中的普通文件,则该文件支持热加载
2:如果被加载的文件处于 jar 包之中,则该文件不支持热加载,jar 包之中的文件在运行时通常不会被修改
在极少数情况下如果需要对 jar 包之中的模板文件进行热加载,可以通过继承 ClassPathSource
的方式进行扩展
3:JFinal Template Engine 开启热加载需要配置 engine.setDevMode(true)
- ClassPathSource(String) - 类 的构造器com.jfinal.template.source.ClassPathSource
-
- ClassPathSource(String, String) - 类 的构造器com.jfinal.template.source.ClassPathSource
-
- ClassPathSource(String, String, String) - 类 的构造器com.jfinal.template.source.ClassPathSource
-
- ClassPathSourceFactory - com.jfinal.template.source中的类
-
ClassPathSourceFactory 用于配置 Engine 使用 ClassPathSource 加载模板文件
配置示例:
engine.baseTemplatePath(null); // 清掉 base path
engine.setSourceFactory(new ClassPathSourceFactory());
- ClassPathSourceFactory() - 类 的构造器com.jfinal.template.source.ClassPathSourceFactory
-
- clazz - 类 中的变量com.jfinal.template.expr.ast.MethodInfo
-
- Clear - com.jfinal.aop中的注释类型
-
Clear is used to clear all interceptors or the specified interceptors,
it can not clear the interceptor which declare on method.
- clear() - 类 中的方法com.jfinal.config.Routes
-
- clear() - 类 中的静态方法com.jfinal.kit.PropKit
-
- clear() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- clear() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- clear() - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Remove all attributes of this model.
- clear() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Remove all columns of this record.
- clear() - 类 中的方法com.jfinal.plugin.activerecord.SqlPara
-
- clear() - 类 中的静态方法com.jfinal.plugin.activerecord.Sqls
-
已过时。
- clearExcludedAttrs() - 类 中的静态方法com.jfinal.render.JsonRender
-
- clientName - 类 中的变量com.jfinal.plugin.redis.RedisPlugin
-
- close(ResultSet, Statement, Connection) - 类 中的方法com.jfinal.plugin.activerecord.Config
-
Close ResultSet、Statement、Connection
ThreadLocal support declare transaction.
- close(Statement, Connection) - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- close(Connection) - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- close(Jedis) - 类 中的方法com.jfinal.plugin.redis.Cache
-
- close() - 类 中的方法com.jfinal.template.FastStringWriter
-
- colDefaultValueMaxLen - 类 中的变量com.jfinal.plugin.activerecord.generator.TableMeta
-
- colNameMaxLen - 类 中的变量com.jfinal.plugin.activerecord.generator.TableMeta
-
- colTypeMaxLen - 类 中的变量com.jfinal.plugin.activerecord.generator.TableMeta
-
- ColumnMeta - com.jfinal.plugin.activerecord.generator中的类
-
ColumnMeta
- ColumnMeta() - 类 的构造器com.jfinal.plugin.activerecord.generator.ColumnMeta
-
- columnMetas - 类 中的变量com.jfinal.plugin.activerecord.generator.TableMeta
-
- com.jfinal.aop - 程序包 com.jfinal.aop
-
- com.jfinal.captcha - 程序包 com.jfinal.captcha
-
- com.jfinal.config - 程序包 com.jfinal.config
-
- com.jfinal.core - 程序包 com.jfinal.core
-
- com.jfinal.core.converter - 程序包 com.jfinal.core.converter
-
- com.jfinal.ext.handler - 程序包 com.jfinal.ext.handler
-
- com.jfinal.ext.interceptor - 程序包 com.jfinal.ext.interceptor
-
- com.jfinal.ext.kit - 程序包 com.jfinal.ext.kit
-
- com.jfinal.ext.render - 程序包 com.jfinal.ext.render
-
- com.jfinal.handler - 程序包 com.jfinal.handler
-
- com.jfinal.i18n - 程序包 com.jfinal.i18n
-
- com.jfinal.json - 程序包 com.jfinal.json
-
- com.jfinal.kit - 程序包 com.jfinal.kit
-
- com.jfinal.log - 程序包 com.jfinal.log
-
- com.jfinal.plugin - 程序包 com.jfinal.plugin
-
- com.jfinal.plugin.activerecord - 程序包 com.jfinal.plugin.activerecord
-
- com.jfinal.plugin.activerecord.cache - 程序包 com.jfinal.plugin.activerecord.cache
-
- com.jfinal.plugin.activerecord.dialect - 程序包 com.jfinal.plugin.activerecord.dialect
-
- com.jfinal.plugin.activerecord.generator - 程序包 com.jfinal.plugin.activerecord.generator
-
- com.jfinal.plugin.activerecord.sql - 程序包 com.jfinal.plugin.activerecord.sql
-
- com.jfinal.plugin.activerecord.tx - 程序包 com.jfinal.plugin.activerecord.tx
-
- com.jfinal.plugin.auth - 程序包 com.jfinal.plugin.auth
-
- com.jfinal.plugin.c3p0 - 程序包 com.jfinal.plugin.c3p0
-
- com.jfinal.plugin.cron4j - 程序包 com.jfinal.plugin.cron4j
-
- com.jfinal.plugin.druid - 程序包 com.jfinal.plugin.druid
-
- com.jfinal.plugin.ehcache - 程序包 com.jfinal.plugin.ehcache
-
- com.jfinal.plugin.hikaricp - 程序包 com.jfinal.plugin.hikaricp
-
- com.jfinal.plugin.redis - 程序包 com.jfinal.plugin.redis
-
- com.jfinal.plugin.redis.serializer - 程序包 com.jfinal.plugin.redis.serializer
-
- com.jfinal.render - 程序包 com.jfinal.render
-
- com.jfinal.server - 程序包 com.jfinal.server
-
- com.jfinal.template - 程序包 com.jfinal.template
-
- com.jfinal.template.expr - 程序包 com.jfinal.template.expr
-
- com.jfinal.template.expr.ast - 程序包 com.jfinal.template.expr.ast
-
- com.jfinal.template.ext.directive - 程序包 com.jfinal.template.ext.directive
-
- com.jfinal.template.ext.extensionmethod - 程序包 com.jfinal.template.ext.extensionmethod
-
- com.jfinal.template.ext.sharedmethod - 程序包 com.jfinal.template.ext.sharedmethod
-
- com.jfinal.template.ext.spring - 程序包 com.jfinal.template.ext.spring
-
- com.jfinal.template.source - 程序包 com.jfinal.template.source
-
- com.jfinal.template.stat - 程序包 com.jfinal.template.stat
-
- com.jfinal.template.stat.ast - 程序包 com.jfinal.template.stat.ast
-
- com.jfinal.token - 程序包 com.jfinal.token
-
- com.jfinal.upload - 程序包 com.jfinal.upload
-
- com.jfinal.validate - 程序包 com.jfinal.validate
-
- Compare - com.jfinal.template.expr.ast中的类
-
Compare
1:支持 byte short int long float double BigDecimal 的 == !
- Compare(Sym, Expr, Expr, Location) - 类 的构造器com.jfinal.template.expr.ast.Compare
-
- compositeKeyTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- config() - 类 中的方法com.jfinal.aop.InterceptorStack
-
- config() - 类 中的方法com.jfinal.config.Routes
-
Implement this method to add route, add interceptor and set baseViewPath
- Config - com.jfinal.plugin.activerecord中的类
-
- Config(String, DataSource, Dialect, boolean, boolean, int, IContainerFactory, ICache) - 类 的构造器com.jfinal.plugin.activerecord.Config
-
Constructor with full parameters
- Config(String, DataSource) - 类 的构造器com.jfinal.plugin.activerecord.Config
-
Constructor with name and dataSource
- Config(String, DataSource, Dialect) - 类 的构造器com.jfinal.plugin.activerecord.Config
-
Constructor with name, dataSource and dialect
- config - 类 中的变量com.jfinal.plugin.activerecord.DbPro
-
- configConstant(Constants) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config constant
- configEngine(Engine) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config engine
- configHandler(Handlers) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config handler
- configInterceptor(Interceptors) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config interceptor applied to all actions.
- configPlugin(Plugins) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config plugin
- configRoute(Routes) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config route
- conn - 类 中的变量com.jfinal.plugin.activerecord.generator.MetaBuilder
-
- Const - com.jfinal.core中的接口
-
Global constants definition
- Const - com.jfinal.template.expr.ast中的类
-
STR INT LONG FLOAT DOUBLE true false null
- Const(Sym, String) - 类 的构造器com.jfinal.template.expr.ast.Const
-
- Constants - com.jfinal.config中的类
-
The constant for JFinal runtime.
- Constants() - 类 的构造器com.jfinal.config.Constants
-
- constants - 类 中的变量com.jfinal.render.RenderFactory
-
- contains(String) - 类 中的方法com.jfinal.captcha.CaptchaCache
-
- contains(String) - 类 中的方法com.jfinal.kit.JavaKeyword
-
- contains(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- contains(Token) - 接口 中的方法com.jfinal.token.ITokenCache
-
- containsAll(Collection<?>) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- containsKey(String) - 类 中的方法com.jfinal.kit.Prop
-
- containsKey(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- containsKey(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- containsValue(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- ContentType - com.jfinal.render中的枚举
-
ContentType
TOMCAT-HOME/conf/web.xml
http://tool.oschina.net/commons
- contentType - 类 中的静态变量com.jfinal.render.ErrorRender
-
- contextDestroyed(ServletContextEvent) - 类 中的方法com.jfinal.ext.kit.ElResolverListener
-
- contextInitialized(ServletContextEvent) - 类 中的方法com.jfinal.ext.kit.ElResolverListener
-
- ContextPathHandler - com.jfinal.ext.handler中的类
-
Provide a context path to view if you need.
- ContextPathHandler() - 类 的构造器com.jfinal.ext.handler.ContextPathHandler
-
- ContextPathHandler(String) - 类 的构造器com.jfinal.ext.handler.ContextPathHandler
-
- Continue - com.jfinal.template.stat.ast中的类
-
Continue
- Controller - com.jfinal.core中的类
-
Controller
昨夜西风凋碧树。
- Controller() - 类 的构造器com.jfinal.core.Controller
-
- controller - 类 中的变量com.jfinal.validate.Validator
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.BigDecimalConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.BigIntegerConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.BooleanConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.ByteConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.DateConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.DoubleConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.FloatConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.IntegerConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.LongConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.SqlDateConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.TimeConverter
-
- convert(String) - 类 中的方法com.jfinal.core.converter.Converters.TimestampConverter
-
- convert(String) - 接口 中的方法com.jfinal.core.converter.IConverter
-
- convert(Class<?>, String) - 类 中的方法com.jfinal.core.converter.TypeConverter
-
将 String 数据转换为指定的类型
- convertDepth - 类 中的变量com.jfinal.json.JFinalJson
-
- Converters - com.jfinal.core.converter中的类
-
针对 Integer、Long、Date 等类型实现 IConverter 接口
- Converters.BigDecimalConverter - com.jfinal.core.converter中的类
-
- Converters.BigIntegerConverter - com.jfinal.core.converter中的类
-
- Converters.BooleanConverter - com.jfinal.core.converter中的类
-
- Converters.ByteConverter - com.jfinal.core.converter中的类
-
- Converters.DateConverter - com.jfinal.core.converter中的类
-
- Converters.DoubleConverter - com.jfinal.core.converter中的类
-
- Converters.FloatConverter - com.jfinal.core.converter中的类
-
- Converters.IntegerConverter - com.jfinal.core.converter中的类
-
- Converters.LongConverter - com.jfinal.core.converter中的类
-
- Converters.SqlDateConverter - com.jfinal.core.converter中的类
-
- Converters.TimeConverter - com.jfinal.core.converter中的类
-
- Converters.TimestampConverter - com.jfinal.core.converter中的类
-
- CPI - com.jfinal.plugin.activerecord中的类
-
Cross Package Invoking pattern for package activerecord.
- CPI() - 类 的构造器com.jfinal.plugin.activerecord.CPI
-
- create(Object, Object) - 类 中的静态方法com.jfinal.kit.JMap
-
已过时。
- create() - 类 中的静态方法com.jfinal.kit.JMap
-
已过时。
- create() - 类 中的静态方法com.jfinal.kit.Kv
-
- create() - 类 中的静态方法com.jfinal.kit.Okv
-
- create(Object, Object) - 类 中的静态方法com.jfinal.kit.Ret
-
- create() - 类 中的静态方法com.jfinal.kit.Ret
-
- create(String) - 类 中的静态方法com.jfinal.template.Engine
-
Create engine with engine name managed by JFinal
- createCaptcha() - 类 中的方法com.jfinal.captcha.CaptchaRender
-
- createControllerInterceptor(Class<? extends Controller>) - 类 中的方法com.jfinal.aop.InterceptorManager
-
- createInterceptor(Before) - 类 中的方法com.jfinal.aop.InterceptorManager
-
- createInterceptor(Class<? extends Interceptor>[]) - 类 中的方法com.jfinal.aop.InterceptorManager
-
- createJFinalConfig(String) - 类 中的方法com.jfinal.core.JFinalFilter
-
- createRender() - 类 中的方法com.jfinal.plugin.ehcache.RenderInfo
-
- createRenderInfo(Render) - 类 中的方法com.jfinal.plugin.ehcache.CacheInterceptor
-
通过继承 CacheInterceptor 并覆盖此方法支持更多类型的 Render
- createServiceInterceptor(Class<?>) - 类 中的方法com.jfinal.aop.InterceptorManager
-
- createToken(String, int) - 类 中的方法com.jfinal.core.Controller
-
Create a token.
- createToken() - 类 中的方法com.jfinal.core.Controller
-
Create a token with default token name and with default seconds of time out.
- createToken(String) - 类 中的方法com.jfinal.core.Controller
-
Create a token with default seconds of time out.
- createToken(Controller, String, int) - 类 中的静态方法com.jfinal.token.TokenManager
-
Create Token.
- Cron4jPlugin - com.jfinal.plugin.cron4j中的类
-
Cron4jPlugin 封装 cron4j,使用 cron 表达式调试 Task 执行
cron 表达式由五部分组成:分 时 天 月 周
分 :从 0 到 59
时 :从 0 到 23
天 :从 1 到 31,字母 L 可以表示月的最后一天
月 :从 1 到 12,可以别名:jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov" and "dec"
周 :从 0 到 6,0 表示周日,6 表示周六,可以使用别名: "sun", "mon", "tue", "wed", "thu", "fri" and "sat"
数字 n:表示一个具体的时间点,例如 5 * * * * 表示 5 分这个时间点时执行
逗号 , :表示指定多个数值,例如 3,5 * * * * 表示 3 和 5 分这两个时间点执行
减号 -:表示范围,例如 1-3 * * * * 表示 1 分、2 分再到 3 分这三个时间点执行
星号 *:表示每一个时间点,例如 * * * * * 表示每分钟执行
除号 /:表示指定一个值的增加幅度。
- Cron4jPlugin() - 类 的构造器com.jfinal.plugin.cron4j.Cron4jPlugin
-
- Cron4jPlugin(String) - 类 的构造器com.jfinal.plugin.cron4j.Cron4jPlugin
-
- Cron4jPlugin(Prop) - 类 的构造器com.jfinal.plugin.cron4j.Cron4jPlugin
-
- Cron4jPlugin(String, String) - 类 的构造器com.jfinal.plugin.cron4j.Cron4jPlugin
-
- Cron4jPlugin(Prop, String) - 类 的构造器com.jfinal.plugin.cron4j.Cron4jPlugin
-
- Ctrl - com.jfinal.template.stat中的类
-
Ctrl
封装 AST 执行过程中的控制状态,避免使用 Scope.data 保存控制状态
从而污染用户空间数据,目前仅用于 nullSafe、break、continue、return 控制
未来可根据需求引入更多控制状态
- Ctrl() - 类 的构造器com.jfinal.template.stat.Ctrl
-
- genAesKey() - 类 中的静态方法com.jfinal.kit.AesKit
-
- genBaseModelContent(TableMeta) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genCell(int, String, String, String, String, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- genClassDefine(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genClassDefine(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- genClassDefine(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- genColumn(TableMeta, ColumnMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- genDao(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- generate(HttpServletRequest) - 类 中的方法com.jfinal.ext.kit.SessionIdKit
-
- generate(List<TableMeta>) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- generate(List<TableMeta>) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- generate() - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
- generate(List<TableMeta>) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- generate(List<TableMeta>) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- generateChainSetter - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- generateDaoInModel - 类 中的变量com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- generateDataDictionary - 类 中的变量com.jfinal.plugin.activerecord.generator.Generator
-
- generateNullValue - 类 中的变量com.jfinal.json.Jackson
-
- generateSalt(int) - 类 中的静态方法com.jfinal.kit.HashKit
-
md5 128bit 16bytes
sha1 160bit 20bytes
sha256 256bit 32bytes
sha384 384bit 48bytes
sha512 512bit 64bytes
- generateSaltForSha256() - 类 中的静态方法com.jfinal.kit.HashKit
-
- generateSaltForSha512() - 类 中的静态方法com.jfinal.kit.HashKit
-
- generateTable(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- Generator - com.jfinal.plugin.activerecord.generator中的类
-
生成器
1:生成时会强制覆盖 Base model、MappingKit、DataDictionary,建议不要修改三类文件,在数据库有变化重新生成一次便可
2:生成 Model 不会覆盖已经存在的文件,Model 通常会被人为修改和维护
3:MappingKit 文件默认会在生成 Model 文件的同时生成
4:DataDictionary 文件默认不会生成。
- Generator(DataSource, String, String, String, String) - 类 的构造器com.jfinal.plugin.activerecord.generator.Generator
-
构造 Generator,生成 BaseModel、Model、MappingKit 三类文件,其中 MappingKit 输出目录与包名与 Model相同
- Generator(DataSource, String, String) - 类 的构造器com.jfinal.plugin.activerecord.generator.Generator
-
构造 Generator,只生成 baseModel
- Generator(DataSource, BaseModelGenerator) - 类 的构造器com.jfinal.plugin.activerecord.generator.Generator
-
- Generator(DataSource, BaseModelGenerator, ModelGenerator) - 类 的构造器com.jfinal.plugin.activerecord.generator.Generator
-
使用指定 BaseModelGenerator、ModelGenerator 构造 Generator
生成 BaseModel、Model、MappingKit 三类文件,其中 MappingKit 输出目录与包名与 Model相同
- genGetMethodName(ColumnMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genImport(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genImport(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- genImport(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- genMappingMethod(List<TableMeta>, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- genModelContent(TableMeta) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- genPackage(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genPackage(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- genPackage(StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- genSeparateLine(TableMeta) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- genSetMethodName(ColumnMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- genTableHead(TableMeta, StringBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- get(String) - 类 中的方法com.jfinal.captcha.CaptchaCache
-
- get(String) - 接口 中的方法com.jfinal.captcha.ICaptchaCache
-
- GET - com.jfinal.ext.interceptor中的类
-
Accept GET method only.
- GET() - 类 的构造器com.jfinal.ext.interceptor.GET
-
- get(String) - 类 中的方法com.jfinal.i18n.Res
-
Get the message value from ResourceBundle of the related Locale.
- get(String, Map<String, String>, Map<String, String>) - 类 中的静态方法com.jfinal.kit.HttpKit
-
Send GET request
- get(String, Map<String, String>) - 类 中的静态方法com.jfinal.kit.HttpKit
-
- get(String) - 类 中的静态方法com.jfinal.kit.HttpKit
-
- get(String) - 类 中的方法com.jfinal.kit.Prop
-
- get(String, String) - 类 中的方法com.jfinal.kit.Prop
-
- get(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- get(String, String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- get(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.cache.EhCache
-
- get(String, Object) - 接口 中的方法com.jfinal.plugin.activerecord.cache.ICache
-
- get(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- get(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of any mysql type
- get(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of any mysql type.
- get(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of any mysql type
- get(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of any mysql type.
- get(String) - 类 中的静态方法com.jfinal.plugin.activerecord.Sqls
-
已过时。
- get(String, String) - 类 中的静态方法com.jfinal.plugin.activerecord.Sqls
-
已过时。
- get(String, Object) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- get(String, Object, IDataLoader) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- get(String, Object, Class<? extends IDataLoader>) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- get(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回 key 所关联的 value 值
如果 key 不存在那么返回特殊值 nil 。
- get(int) - 类 中的方法com.jfinal.template.expr.ast.RangeArray.RangeList
-
- get(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
获取变量
自内向外在作用域栈中查找变量,返回最先找到的变量
- getAccessToken(HttpServletRequest) - 类 中的静态方法com.jfinal.plugin.auth.AccessTokenBuilder
-
- getAction(String, String[]) - 类 中的方法com.jfinal.core.JFinal
-
- getActionKey() - 类 中的方法com.jfinal.aop.Invocation
-
Return the action key.
- getActionKey() - 类 中的方法com.jfinal.core.Action
-
- getActionKey() - 类 中的方法com.jfinal.validate.Validator
-
Return the action key of this action.
- getActionMethod() - 类 中的方法com.jfinal.validate.Validator
-
Return the method of this action.
- getActionMethodName() - 类 中的方法com.jfinal.validate.Validator
-
Return the method name of this action.
- getAll() - 接口 中的方法com.jfinal.token.ITokenCache
-
- getAllActionKeys() - 类 中的方法com.jfinal.core.JFinal
-
- getArg(int) - 类 中的方法com.jfinal.aop.Invocation
-
- getArgs() - 类 中的方法com.jfinal.aop.Invocation
-
- getAs(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- getAs(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getAs(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getAs(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getAttr(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getAttr(String) - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- getAttrForInt(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getAttrForStr(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getAttrNames() - 类 中的方法com.jfinal.core.Controller
-
Returns an Enumeration containing the names of the attributes available to this request.
- getAttrNames() - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- getAttrs(Model) - 类 中的静态方法com.jfinal.plugin.activerecord.CPI
-
Return the attributes map of the model
- getAttrs() - 类 中的方法com.jfinal.render.JsonRender
-
- getAttrsMap() - 类 中的方法com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory
-
- getAttrsMap() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory
-
- getAttrsMap() - 接口 中的方法com.jfinal.plugin.activerecord.IContainerFactory
-
- getAttrsMap() - 类 中的方法com.jfinal.plugin.activerecord.OrderedFieldContainerFactory
-
- getBaseDownloadPath() - 类 中的方法com.jfinal.config.Constants
-
- getBaseName() - 类 中的方法com.jfinal.i18n.I18nInterceptor
-
Return the baseName, which is used as base name of the i18n resource file.
- getBaseTemplatePath() - 类 中的方法com.jfinal.template.Engine
-
- getBaseTemplatePath() - 类 中的方法com.jfinal.template.EngineConfig
-
- getBaseUploadPath() - 类 中的方法com.jfinal.config.Constants
-
- getBaseViewPath() - 类 中的方法com.jfinal.config.Routes
-
- getBean(Class<T>) - 类 中的方法com.jfinal.core.Controller
-
- getBean(Class<T>, boolean) - 类 中的方法com.jfinal.core.Controller
-
- getBean(Class<T>, String) - 类 中的方法com.jfinal.core.Controller
-
- getBean(Class<T>, String, boolean) - 类 中的方法com.jfinal.core.Controller
-
- getBigDecimal(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: decimal, numeric
- getBigDecimal(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: decimal, numeric
- getBigInteger(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: unsigned bigint
- getBigInteger(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: unsigned bigint
- getBoolean(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- getBoolean(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getBoolean(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getBoolean(String) - 类 中的方法com.jfinal.kit.Prop
-
- getBoolean(String, Boolean) - 类 中的方法com.jfinal.kit.Prop
-
- getBoolean(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getBoolean(String, Boolean) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getBoolean(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getBoolean(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: bit, tinyint(1)
- getBoolean(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: bit, tinyint(1)
- getBoolean() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getBuffer() - 类 中的方法com.jfinal.template.FastStringWriter
-
- getBytes(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: binary, varbinary, tinyblob, blob, mediumblob, longblob
- getBytes(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: binary, varbinary, tinyblob, blob, mediumblob, longblob
I have not finished the test.
- getCache() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getCache() - 类 中的方法com.jfinal.plugin.redis.RedisInterceptor
-
通过继承 RedisInterceptor 类并覆盖此方法,可以指定
当前线程所使用的 cache
- getCacheManager() - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- getCaptchaCache() - 类 中的方法com.jfinal.captcha.CaptchaManager
-
- getCaptchaKeyFromCookie() - 类 中的方法com.jfinal.captcha.CaptchaRender
-
- getCaptchaRender() - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getCaptchaRender() - 类 中的方法com.jfinal.render.RenderFactory
-
- getClassLoader() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
- getColumnNames() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Return column names of this record.
- getColumns() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Return columns map.
- getColumnsMap() - 类 中的方法com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory
-
- getColumnsMap() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory
-
- getColumnsMap() - 接口 中的方法com.jfinal.plugin.activerecord.IContainerFactory
-
- getColumnsMap() - 类 中的方法com.jfinal.plugin.activerecord.OrderedFieldContainerFactory
-
- getColumnType(String) - 类 中的方法com.jfinal.plugin.activerecord.Table
-
- getColumnTypeMap() - 类 中的方法com.jfinal.plugin.activerecord.Table
-
- getColumnTypeMapEntrySet() - 类 中的方法com.jfinal.plugin.activerecord.Table
-
- getColumnValues() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Return column values of this record.
- getComboPooledDataSource() - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- getCommonPropertyType(ELContext, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- getCond() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- getConfig() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- getConfig() - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- getConfig(String) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- getConfig(Class<? extends Model>) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- getConfig() - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getConfigSet() - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- getConfiguration() - 类 中的静态方法com.jfinal.render.FreeMarkerRender
-
freemarker can not load freemarker.properies automatically
- getConfigWithTxConfig(Invocation) - 类 中的静态方法com.jfinal.plugin.activerecord.tx.Tx
-
- getConnection() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
Get Connection.
- getConstants() - 类 中的方法com.jfinal.core.JFinal
-
- getConstants() - 类 中的方法com.jfinal.render.RenderManager
-
- getContainerFactory() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getContent() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
- getContent() - 类 中的方法com.jfinal.template.source.FileSource
-
- getContent() - 接口 中的方法com.jfinal.template.source.ISource
-
content of ISource
- getContent() - 类 中的方法com.jfinal.template.source.StringSource
-
- getContent() - 类 中的方法com.jfinal.template.stat.ast.Text
-
- getContent() - 类 中的方法com.jfinal.template.stat.ParaToken
-
- getContentType() - 类 中的方法com.jfinal.render.FreeMarkerRender
-
继承类可通过覆盖此方法改变 contentType,从而重用 freemarker 模板功能
例如利用 freemarker 实现 FreeMarkerXmlRender 生成 Xml 内容
- getContentType() - 类 中的方法com.jfinal.render.TemplateRender
-
- getContentType() - 类 中的方法com.jfinal.render.TextRender
-
- getContentType() - 类 中的方法com.jfinal.render.VelocityRender
-
继承类可通过覆盖此方法改变 contentType,从而重用 velocity 模板功能
例如利用 velocity 实现 VelocityXmlRender
- getContentType() - 类 中的方法com.jfinal.render.XmlRender
-
- getContentType() - 类 中的方法com.jfinal.upload.UploadFile
-
- getContextPath() - 类 中的方法com.jfinal.core.JFinal
-
- getController() - 类 中的方法com.jfinal.aop.Invocation
-
Return the controller of this action.
- getController() - 类 中的方法com.jfinal.validate.Validator
-
Return the controller of this action.
- getControllerClass() - 类 中的方法com.jfinal.config.Routes.Route
-
- getControllerClass() - 类 中的方法com.jfinal.core.Action
-
- getControllerKey() - 类 中的方法com.jfinal.aop.Invocation
-
Return the controller key.
- getControllerKey() - 类 中的方法com.jfinal.config.Routes.Route
-
- getControllerKey() - 类 中的方法com.jfinal.core.Action
-
- getControllerKey() - 类 中的方法com.jfinal.validate.Validator
-
Return the controller key of this action.
- getCookie(String, String) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name.
- getCookie(String) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name.
- getCookieObject(String) - 类 中的方法com.jfinal.core.Controller
-
Get cookie object by cookie name.
- getCookieObjects() - 类 中的方法com.jfinal.core.Controller
-
Get all cookie objects.
- getCookieToInt(String) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name and convert to Integer.
- getCookieToInt(String, Integer) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name and convert to Integer.
- getCookieToLong(String) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name and convert to Long.
- getCookieToLong(String, Long) - 类 中的方法com.jfinal.core.Controller
-
Get cookie value by cookie name and convert to Long.
- getCount() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getCount() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getCounter(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
获取记数器的值
- getCtrl() - 类 中的方法com.jfinal.template.stat.Scope
-
- getData() - 类 中的方法com.jfinal.template.stat.Scope
-
获取本层作用域 data,可能为 null 值
- getDataSource() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getDataSource() - 接口 中的方法com.jfinal.plugin.activerecord.IDataSourceProvider
-
- getDataSource() - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- getDataSource() - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- getDataSource() - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
- getDate(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: date, year
- getDate(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: date, year
- getDatePattern() - 类 中的方法com.jfinal.json.Json
-
- getDatePattern() - 类 中的方法com.jfinal.template.Engine
-
- getDatePattern() - 类 中的方法com.jfinal.template.EngineConfig
-
- getDatePattern() - 类 中的方法com.jfinal.validate.Validator
-
- getDbPro(String) - 接口 中的方法com.jfinal.plugin.activerecord.IDbProFactory
-
- getDbProFactory() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getDefaultDatePattern() - 类 中的方法com.jfinal.json.Json
-
- getDefaultPrimaryKey() - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- getDefaultPrimaryKey() - 类 中的方法com.jfinal.plugin.activerecord.dialect.OracleDialect
-
- getDefaultRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getDefaultRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getDevMode() - 类 中的方法com.jfinal.config.Constants
-
- getDevMode() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- getDevMode() - 类 中的静态方法com.jfinal.render.Render
-
- getDevMode() - 类 中的方法com.jfinal.template.Engine
-
- getDialect() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getDirective(String) - 类 中的方法com.jfinal.template.EngineConfig
-
- getDouble(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: real, double
- getDouble(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: real, double
- getDouble() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getEncoding() - 类 中的方法com.jfinal.config.Constants
-
- getEncoding() - 类 中的静态方法com.jfinal.render.Render
-
- getEncoding() - 类 中的方法com.jfinal.template.Engine
-
- getEncoding() - 类 中的方法com.jfinal.template.EngineConfig
-
- getEncoding() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
- getEncoding() - 类 中的方法com.jfinal.template.source.FileSource
-
- getEncoding() - 接口 中的方法com.jfinal.template.source.ISource
-
encoding of content
- getEncoding() - 类 中的方法com.jfinal.template.source.StringSource
-
- getEngine() - 类 中的方法com.jfinal.kit.ElKit
-
- getEngine() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- getEngine() - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
- getEngine() - 类 中的方法com.jfinal.render.RenderManager
-
- getEngine() - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
- getEngineConfig() - 类 中的方法com.jfinal.template.Engine
-
- getEngineConfig() - 类 中的方法com.jfinal.template.Env
-
- getErrorCode() - 异常错误 中的方法com.jfinal.core.ActionException
-
- getErrorCode() - 类 中的方法com.jfinal.render.ErrorRender
-
- getErrorHtml() - 类 中的方法com.jfinal.render.ErrorRender
-
- getErrorRender() - 异常错误 中的方法com.jfinal.core.ActionException
-
- getErrorRender(int, String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getErrorRender(int) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getErrorRender(int, String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getErrorRender(int) - 类 中的方法com.jfinal.render.RenderFactory
-
- getErrorView(int) - 类 中的方法com.jfinal.config.Constants
-
- getEven() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getEven() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getExpirationTime() - 类 中的方法com.jfinal.token.Token
-
- getExpireAt() - 类 中的方法com.jfinal.captcha.Captcha
-
- getExpr(int) - 类 中的方法com.jfinal.template.expr.ast.ExprList
-
- getExpr() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- getExprArray() - 类 中的方法com.jfinal.template.expr.ast.ExprList
-
- getFeatureDescriptors(ELContext, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- getField(String, Class<?>, String) - 类 中的静态方法com.jfinal.template.expr.ast.FieldKit
-
- getFieldKey(Class<?>, String) - 类 中的静态方法com.jfinal.template.expr.ast.FieldKit
-
获取 Field 用于缓存的 key
- getFile(String, String, Integer, String) - 类 中的方法com.jfinal.core.Controller
-
- getFile(String, String, int) - 类 中的方法com.jfinal.core.Controller
-
- getFile(String, String) - 类 中的方法com.jfinal.core.Controller
-
- getFile() - 类 中的方法com.jfinal.core.Controller
-
- getFile(String) - 类 中的方法com.jfinal.core.Controller
-
- getFile() - 类 中的方法com.jfinal.upload.UploadFile
-
- getFileExtension(String) - 类 中的静态方法com.jfinal.kit.FileKit
-
- getFileExtension(File) - 类 中的静态方法com.jfinal.kit.FileKit
-
- getFileFromJar(String) - 类 中的静态方法com.jfinal.kit.PathKit
-
- getFileName() - 类 中的方法com.jfinal.template.source.FileSource
-
- getFileName() - 类 中的方法com.jfinal.upload.UploadFile
-
- getFileRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getFileRender(String, String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getFileRender(File) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getFileRender(File, String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getFileRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getFileRender(String, String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getFileRender(File) - 类 中的方法com.jfinal.render.RenderFactory
-
- getFileRender(File, String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getFiles(String, Integer, String) - 类 中的方法com.jfinal.core.Controller
-
Get upload file from multipart request.
- getFiles(String, int) - 类 中的方法com.jfinal.core.Controller
-
- getFiles(String) - 类 中的方法com.jfinal.core.Controller
-
- getFiles() - 类 中的方法com.jfinal.core.Controller
-
- getFiles() - 类 中的方法com.jfinal.upload.MultipartRequest
-
- getFinalFileName() - 类 中的方法com.jfinal.template.source.FileSource
-
- getFinalViewPath(String) - 类 中的方法com.jfinal.config.Routes.Route
-
- getFirst() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getFirst() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getFloat(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: float
- getFloat(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: float
- getFloat() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getForIE() - 类 中的方法com.jfinal.render.JsonRender
-
- getFreeMarkerRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getFreeMarkerRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getFreeMarkerTemplateUpdateDelay() - 类 中的方法com.jfinal.config.Constants
-
- getFunction(String) - 类 中的方法com.jfinal.template.Env
-
Get function of current template first, getting shared function if null before
- getFunctionName() - 类 中的方法com.jfinal.template.stat.ast.Define
-
- getGetterMethod(String, Class<?>, String) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
获取 getter 方法
使用与 Field 相同的 key,避免生成两次 key值
- getGetterOfModel(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
针对 Model 中六种可以自动转换类型的 getter 方法,调用其具有确定类型返回值的 getter 方法
享用自动类型转换的便利性,例如 getInt(String)、getStr(String)
其它方法使用泛型返回值方法: get(String)
注意:jfinal 3.2 及以上版本 Model 中的六种 getter 方法才具有类型转换功能
- getGlobal(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
获取全局变量
全局作用域是指本次请求的整个 template
- getHandler(List<Handler>, Handler) - 类 中的静态方法com.jfinal.handler.HandlerFactory
-
Build handler chain
- getHandlerList() - 类 中的方法com.jfinal.config.Handlers
-
- getHeader(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of the specified request header as a String.
- getHtmlRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getHtmlRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getId() - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- getId() - 类 中的方法com.jfinal.template.expr.ast.Assign
-
获取 assign 表达式左侧标识符 id
在自定义指令中得到 id 值,可以得知该赋值表达式是针对哪个变量在操作,有助于扩展
需求来源:http://www.jfinal.com/share/379
- getId() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- getId() - 类 中的方法com.jfinal.template.expr.ast.Id
-
- getId() - 类 中的方法com.jfinal.token.Token
-
Returns a string containing the unique identifier assigned to this token.
- getIndex() - 类 中的方法com.jfinal.template.expr.ast.Assign
-
- getIndex() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getIndex() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getInit() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- getInt(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- getInt(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getInt(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getInt(String) - 类 中的方法com.jfinal.kit.Prop
-
- getInt(String, Integer) - 类 中的方法com.jfinal.kit.Prop
-
- getInt(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getInt(String, Integer) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getInt(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getInt(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: int, integer, tinyint(n) n > 1, smallint, mediumint
- getInt(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: int, integer, tinyint(n) n > 1, smallint, mediumint
- getInt() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getInterceptors() - 类 中的方法com.jfinal.config.Routes
-
- getInterceptors() - 类 中的方法com.jfinal.core.Action
-
- getJavascriptRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJavascriptRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getJedis() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- getJedisPoolConfig() - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
当RedisPlugin 提供的设置属性仍然无法满足需求时,通过此方法获取到
JedisPoolConfig 对象,可对 redis 进行更加细致的配置
例如:
redisPlugin.getJedisPoolConfig().setMaxTotal(100);
- getJson() - 类 中的静态方法com.jfinal.json.FastJson
-
- getJson() - 类 中的方法com.jfinal.json.FastJsonFactory
-
- getJson() - 接口 中的方法com.jfinal.json.IJsonFactory
-
- getJson() - 类 中的静态方法com.jfinal.json.Jackson
-
- getJson() - 类 中的方法com.jfinal.json.JacksonFactory
-
- getJson() - 类 中的静态方法com.jfinal.json.JFinalJson
-
- getJson() - 类 中的方法com.jfinal.json.JFinalJsonFactory
-
- getJson() - 类 中的静态方法com.jfinal.json.Json
-
- getJson() - 类 中的方法com.jfinal.json.MixedJsonFactory
-
- getJsonRender() - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJsonRender(String, Object) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJsonRender(String[]) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJsonRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJsonRender(Object) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJsonRender() - 类 中的方法com.jfinal.render.RenderFactory
-
- getJsonRender(String, Object) - 类 中的方法com.jfinal.render.RenderFactory
-
- getJsonRender(String[]) - 类 中的方法com.jfinal.render.RenderFactory
-
- getJsonRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getJsonRender(Object) - 类 中的方法com.jfinal.render.RenderFactory
-
- getJsonText() - 类 中的方法com.jfinal.render.JsonRender
-
- getJspRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getJspRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getKey() - 类 中的方法com.jfinal.captcha.Captcha
-
- getKey() - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- getKey() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
- getKey() - 类 中的方法com.jfinal.template.source.FileSource
-
- getKey() - 接口 中的方法com.jfinal.template.source.ISource
-
key used to cache, return null if do not cache the template
注意:如果不希望缓存从该 ISource 解析出来的 Template 对象
让 getKey() 返回 null 值即可
- getKey() - 类 中的方法com.jfinal.template.source.StringSource
-
- getKey() - 类 中的方法com.jfinal.template.stat.ast.ForEntry
-
- getKeyName(Object) - 接口 中的方法com.jfinal.plugin.redis.IKeyNamingPolicy
-
- getKeyNamingPolicy() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- getKeys(String) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- getLast() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getLastModified() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
- getLength() - 类 中的方法com.jfinal.template.expr.ast.Array.ArrayListExt
-
- getList() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
Return list of this page.
- getLocal(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
获取局部变量
- getLocaleParaName() - 类 中的方法com.jfinal.i18n.I18nInterceptor
-
Return the localeParaName, which is used as para name to get locale from the request para and the cookie.
- getLocation() - 类 中的方法com.jfinal.template.stat.ast.Stat
-
- getLog(Class<?>) - 接口 中的方法com.jfinal.log.ILogFactory
-
- getLog(String) - 接口 中的方法com.jfinal.log.ILogFactory
-
- getLog(Class<?>) - 类 中的静态方法com.jfinal.log.JdkLog
-
- getLog(String) - 类 中的静态方法com.jfinal.log.JdkLog
-
- getLog(Class<?>) - 类 中的方法com.jfinal.log.JdkLogFactory
-
- getLog(String) - 类 中的方法com.jfinal.log.JdkLogFactory
-
- getLog(Class<?>) - 类 中的静态方法com.jfinal.log.Log
-
- getLog(String) - 类 中的静态方法com.jfinal.log.Log
-
- getLog(Class<?>) - 类 中的静态方法com.jfinal.log.Log4jLog
-
- getLog(String) - 类 中的静态方法com.jfinal.log.Log4jLog
-
- getLog(Class<?>) - 类 中的方法com.jfinal.log.Log4jLogFactory
-
- getLog(String) - 类 中的方法com.jfinal.log.Log4jLogFactory
-
- getLong(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- getLong(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getLong(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getLong(String) - 类 中的方法com.jfinal.kit.Prop
-
- getLong(String, Long) - 类 中的方法com.jfinal.kit.Prop
-
- getLong(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getLong(String, Long) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getLong(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getLong(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: bigint, unsign int
- getLong(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: bigint
- getLong() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getMapOfValue(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
自内向外在作用域栈中查找变量,获取变量所在的 Map,主要用于 IncDec
- getMaxPostSize() - 类 中的方法com.jfinal.config.Constants
-
- getMethod() - 类 中的方法com.jfinal.aop.Invocation
-
Return the method of this action.
- getMethod() - 类 中的方法com.jfinal.core.Action
-
- getMethod(Class<?>, String, Object[]) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
- getMethodName() - 类 中的方法com.jfinal.aop.Invocation
-
Return the method name of this action's method.
- getMethodName() - 类 中的方法com.jfinal.core.Action
-
- getModel(Class<T>) - 类 中的方法com.jfinal.core.Controller
-
Get model from http request.
- getModel(Class<T>, boolean) - 类 中的方法com.jfinal.core.Controller
-
- getModel(Class<T>, String) - 类 中的方法com.jfinal.core.Controller
-
Get model from http request.
- getModel(Class<T>, String, boolean) - 类 中的方法com.jfinal.core.Controller
-
- getModelClass() - 类 中的方法com.jfinal.plugin.activerecord.Table
-
- getModelGeneratedKey(Model<?>, PreparedStatement, Table) - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
用于获取 Model.save() 以后自动生成的主键值,可通过覆盖此方法实现更精细的控制
目前只有 PostgreSqlDialect,覆盖过此方法
- getModelGeneratedKey(Model<?>, PreparedStatement, Table) - 类 中的方法com.jfinal.plugin.activerecord.dialect.PostgreSqlDialect
-
解决 PostgreSql 获取自增主键时 rs.getObject(1) 总是返回第一个字段的值,而非返回了 id 值
issue: https://www.oschina.net/question/2312705_2243354
相对于 Dialect 中的默认实现,仅将 rs.getXxx(1) 改成了 rs.getXxx(pKey)
- getModifyFlag(Model) - 类 中的静态方法com.jfinal.plugin.activerecord.CPI
-
- getModifyFlagSet() - 类 中的方法com.jfinal.plugin.activerecord.CaseInsensitiveContainerFactory
-
- getModifyFlagSet() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory
-
- getModifyFlagSet() - 接口 中的方法com.jfinal.plugin.activerecord.IContainerFactory
-
- getModifyFlagSet() - 类 中的方法com.jfinal.plugin.activerecord.OrderedFieldContainerFactory
-
- getName() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getName() - 类 中的方法com.jfinal.plugin.activerecord.Table
-
- getName() - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- getName() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- getName() - 类 中的方法com.jfinal.template.Engine
-
- getName() - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- getNullRender() - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getNullRender() - 类 中的方法com.jfinal.render.RenderFactory
-
- getNumber(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getNumber(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getNumber(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getNumber(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of any type that extends from Number
- getNumber(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of any type that extends from Number
- getNumberValue() - 类 中的方法com.jfinal.template.expr.NumTok
-
- getObjectMapper() - 类 中的方法com.jfinal.json.Jackson
-
通过获取 ObjectMapper 进行更个性化设置,满足少数特殊情况
- getOdd() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getOdd() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getOriginalFileName() - 类 中的方法com.jfinal.upload.UploadFile
-
- getOuter() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getOuter() - 类 中的方法com.jfinal.template.stat.ast.ForLoopStatus
-
- getOutputDirective(ExprList, Location) - 类 中的方法com.jfinal.template.EngineConfig
-
- getOutputDirective(ExprList, Location) - 接口 中的方法com.jfinal.template.IOutputDirectiveFactory
-
- getOutputDirective(ExprList, Location) - 类 中的方法com.jfinal.template.OutputDirectiveFactory
-
- getPackagePath(Object) - 类 中的静态方法com.jfinal.kit.PathKit
-
- getPageNumber() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
Return page number.
- getPageSize() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
Return page size.
- getPara(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter as a String, or null if the parameter does not exist.
- getPara(String, String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter as a String, or default value if the parameter does not exist.
- getPara() - 类 中的方法com.jfinal.core.Controller
-
Get all para with separator char from url
- getPara(int) - 类 中的方法com.jfinal.core.Controller
-
Get para from url.
- getPara(int, String) - 类 中的方法com.jfinal.core.Controller
-
Get para from url with default value if it is null or "".
- getPara() - 类 中的方法com.jfinal.plugin.activerecord.SqlPara
-
- getParaMap() - 类 中的方法com.jfinal.core.Controller
-
Returns the values of the request parameters as a Map.
- getParameter(String) - 类 中的方法com.jfinal.upload.MultipartRequest
-
- getParameterMap() - 类 中的方法com.jfinal.upload.MultipartRequest
-
- getParameterName() - 类 中的方法com.jfinal.upload.UploadFile
-
- getParameterNames() - 类 中的方法com.jfinal.template.stat.ast.Define
-
- getParameterNames() - 类 中的方法com.jfinal.upload.MultipartRequest
-
Methods to replace HttpServletRequest methods
- getParameterTypes() - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- getParameterValues(String) - 类 中的方法com.jfinal.upload.MultipartRequest
-
- getParaNames() - 类 中的方法com.jfinal.core.Controller
-
Returns an Enumeration of String objects containing the names of the parameters
contained in this request.
- getParaToBoolean(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Boolean.
- getParaToBoolean(String, Boolean) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Boolean with a default value if it is null.
- getParaToBoolean() - 类 中的方法com.jfinal.core.Controller
-
Get all para from url and convert to Boolean
- getParaToBoolean(int) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Boolean.
- getParaToBoolean(int, Boolean) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Boolean with default value if it is null.
- getParaToDate(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Date.
- getParaToDate(String, Date) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Date with a default value if it is null.
- getParaToDate() - 类 中的方法com.jfinal.core.Controller
-
Get all para from url and convert to Date
- getParaToInt(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Integer.
- getParaToInt(String, Integer) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Integer with a default value if it is null.
- getParaToInt(int) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Integer.
- getParaToInt(int, Integer) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Integer with default value if it is null.
- getParaToInt() - 类 中的方法com.jfinal.core.Controller
-
Get all para from url and convert to Integer
- getParaToLong(String) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Long.
- getParaToLong(String, Long) - 类 中的方法com.jfinal.core.Controller
-
Returns the value of a request parameter and convert to Long with a default value if it is null.
- getParaToLong(int) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Long.
- getParaToLong(int, Long) - 类 中的方法com.jfinal.core.Controller
-
Get para from url and conver to Long with default value if it is null.
- getParaToLong() - 类 中的方法com.jfinal.core.Controller
-
Get all para from url and convert to Long
- getParaValues(String) - 类 中的方法com.jfinal.core.Controller
-
Returns an array of String objects containing all of the values the given request
parameter has, or null if the parameter does not exist.
- getParaValuesToInt(String) - 类 中的方法com.jfinal.core.Controller
-
Returns an array of Integer objects containing all of the values the given request
parameter has, or null if the parameter does not exist.
- getParaValuesToLong(String) - 类 中的方法com.jfinal.core.Controller
-
- getPath(Class) - 类 中的静态方法com.jfinal.kit.PathKit
-
- getPath(Object) - 类 中的静态方法com.jfinal.kit.PathKit
-
- getPluginList() - 类 中的方法com.jfinal.config.Plugins
-
- getPrimaryKey() - 类 中的方法com.jfinal.plugin.activerecord.Table
-
update() and delete() need this method.
- getProp() - 类 中的静态方法com.jfinal.kit.PropKit
-
- getProp(String) - 类 中的静态方法com.jfinal.kit.PropKit
-
- getProperties() - 类 中的方法com.jfinal.kit.Prop
-
- getProperty(String) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getProperty(String, String) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToBoolean(String) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToBoolean(String, Boolean) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToInt(String) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToInt(String, Integer) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToLong(String) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getPropertyToLong(String, Long) - 类 中的方法com.jfinal.config.JFinalConfig
-
- getQrCodeRender(String, int, int) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getQrCodeRender(String, int, int, char) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getQrCodeRender(String, int, int) - 类 中的方法com.jfinal.render.RenderFactory
-
- getQrCodeRender(String, int, int, char) - 类 中的方法com.jfinal.render.RenderFactory
-
- getRandColor(int, int) - 类 中的方法com.jfinal.captcha.CaptchaRender
-
- getRandomString() - 类 中的方法com.jfinal.captcha.CaptchaRender
-
- getRandomUUID() - 类 中的静态方法com.jfinal.kit.StrKit
-
- getRecordGeneratedKey(PreparedStatement, Record, String[]) - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
用于获取 Db.save(tableName, record) 以后自动生成的主键值,可通过覆盖此方法实现更精细的控制
目前只有 PostgreSqlDialect,覆盖过此方法
- getRecordGeneratedKey(PreparedStatement, Record, String[]) - 类 中的方法com.jfinal.plugin.activerecord.dialect.PostgreSqlDialect
-
解决 PostgreSql 获取自增主键时 rs.getObject(1) 总是返回第一个字段的值,而非返回了 id 值
issue: https://www.oschina.net/question/2312705_2243354
相对于 Dialect 中的默认实现,仅将 rs.getXxx(1) 改成了 rs.getXxx(pKey)
- getRedirect301Render(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getRedirect301Render(String, boolean) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getRedirect301Render(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getRedirect301Render(String, boolean) - 类 中的方法com.jfinal.render.RenderFactory
-
- getRedirectRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getRedirectRender(String, boolean) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getRedirectRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getRedirectRender(String, boolean) - 类 中的方法com.jfinal.render.RenderFactory
-
- getRender() - 类 中的方法com.jfinal.core.Controller
-
- getRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
Create Render for Controller.render(String view)
- getRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
Return Render by default ViewType which config in JFinalConfig
- getRenderFactory() - 类 中的方法com.jfinal.render.RenderManager
-
- getRequest() - 类 中的方法com.jfinal.core.Controller
-
Return HttpServletRequest.
- getResName() - 类 中的方法com.jfinal.i18n.I18nInterceptor
-
Return the resName, which is used as attribute name to pass the Res object to the view.
- getResourceBundle() - 类 中的方法com.jfinal.i18n.Res
-
- getResponse() - 类 中的方法com.jfinal.core.Controller
-
Return HttpServletResponse.
- getReturnValue() - 类 中的方法com.jfinal.aop.Invocation
-
Get the return value of the target method
- getRight() - 类 中的方法com.jfinal.template.expr.ast.Assign
-
- getRootClassPath() - 类 中的静态方法com.jfinal.kit.PathKit
-
- getRootData() - 类 中的方法com.jfinal.template.stat.Scope
-
获取顶层作用域 data,可能为 null 值
- getRouteItemList() - 类 中的方法com.jfinal.config.Routes
-
- getRoutesList() - 类 中的静态方法com.jfinal.config.Routes
-
- getRow() - 类 中的方法com.jfinal.template.stat.Location
-
- getSerializer() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- getServer(String, int, String, int) - 类 中的静态方法com.jfinal.server.ServerFactory
-
Return web server.
- getServer(String, int, String) - 类 中的静态方法com.jfinal.server.ServerFactory
-
- getServer(int, String, int) - 类 中的静态方法com.jfinal.server.ServerFactory
-
- getServer(int, String) - 类 中的静态方法com.jfinal.server.ServerFactory
-
- getServer(int) - 类 中的静态方法com.jfinal.server.ServerFactory
-
- getServer() - 类 中的静态方法com.jfinal.server.ServerFactory
-
- getServletContext() - 类 中的方法com.jfinal.core.JFinal
-
- getServletContext() - 类 中的方法com.jfinal.render.RenderManager
-
- getSession() - 类 中的方法com.jfinal.core.Controller
-
Return HttpSession.
- getSession(boolean) - 类 中的方法com.jfinal.core.Controller
-
Return HttpSession.
- getSession(String, boolean) - 类 中的方法com.jfinal.plugin.auth.SessionKit
-
- getSession(String) - 类 中的方法com.jfinal.plugin.auth.SessionKit
-
- getSessionAttr(String) - 类 中的方法com.jfinal.core.Controller
-
Return a Object from session.
- getSet(Object, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将给定 key 的值设为 value ,并返回 key 的旧值(old value)。
- getSharedMethodInfo(String, Object[]) - 类 中的方法com.jfinal.template.expr.ast.SharedMethodKit
-
- getSharedMethodKit() - 类 中的方法com.jfinal.template.EngineConfig
-
- getShort(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
- getShort(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
- getSize() - 类 中的方法com.jfinal.template.stat.ast.ForIteratorStatus
-
- getSource(String, String, String) - 类 中的方法com.jfinal.template.source.ClassPathSourceFactory
-
- getSource(String, String, String) - 类 中的方法com.jfinal.template.source.FileSourceFactory
-
- getSource(String, String, String) - 接口 中的方法com.jfinal.template.source.ISourceFactory
-
- getSourceFactory() - 类 中的方法com.jfinal.template.Engine
-
- getSourceFactory() - 类 中的方法com.jfinal.template.EngineConfig
-
- getSql(String) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- getSql(String) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getSql(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
- getSql(String) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
- getSql() - 类 中的方法com.jfinal.plugin.activerecord.SqlPara
-
- getSqlKit() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- getSqlKit() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getSqlMapEntrySet() - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
- getSqlPara(String, Record) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- getSqlPara(String, Model) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- getSqlPara(String, Map) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- getSqlPara(String, Object...) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- getSqlPara(String, Record) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getSqlPara(String, Model) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getSqlPara(String, Map) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getSqlPara(String, Object...) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- getSqlPara(String, Model) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
可以在模板中利用 Model 自身的属性参与动态生成 sql,例如:
select * from user where nickName = #(nickName)
new Account().setNickName("James").getSqlPara(...)
- getSqlPara(String, Map) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
- getSqlPara(String, Object...) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
- getSqlPara(String, Map) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
示例:
1:sql 定义
#sql("key")
select * from xxx where id = #para(id) and age > #para(age)
#end
2:java 代码
Kv cond = Kv.by("id", 123).set("age", 18);
getSqlPara("key", cond);
- getSqlPara(String, Object...) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
示例:
1:sql 定义
#sql("key")
select * from xxx where a = #para(0) and b = #para(1)
#end
2:java 代码
getSqlPara("key", 123, 456);
- getStat(int) - 类 中的方法com.jfinal.template.stat.ast.StatList
-
- getStr(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- getStr(Object) - 类 中的方法com.jfinal.kit.Kv
-
- getStr(Object) - 类 中的方法com.jfinal.kit.Okv
-
- getStr(Object) - 类 中的方法com.jfinal.kit.Ret
-
- getStr(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: varchar, char, enum, set, text, tinytext, mediumtext, longtext
- getStr(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: varchar, char, enum, set, text, tinytext, mediumtext, longtext
- getStr() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getSubFileName(String, String) - 类 中的静态方法com.jfinal.template.stat.ast.Include
-
获取在父模板之下子模板的最终文件名,子模板目录相对于父模板文件目录来确定
以 "/" 打头则以 baseTemplatePath 为根,否则以父文件所在路径为根
- getTable(Class<? extends Model>) - 类 中的方法com.jfinal.plugin.activerecord.TableMapping
-
- getTablesResultSet() - 类 中的方法com.jfinal.plugin.activerecord.generator.MetaBuilder
-
不同数据库 dbMeta.getTables(...)
- getTarget(String) - 类 中的静态方法com.jfinal.aop.Duang
-
- getTarget(String) - 类 中的静态方法com.jfinal.aop.Enhancer
-
- getTarget() - 类 中的方法com.jfinal.aop.Invocation
-
Get the target object which be intercepted
Example:
OrderService os = getTarget();
- getTemplate(String) - 类 中的方法com.jfinal.template.Engine
-
Get template with file name
- getTemplate(ISource) - 类 中的方法com.jfinal.template.Engine
-
Get template with implementation of ISource
- getTemplateByString(String) - 类 中的方法com.jfinal.template.Engine
-
Get template by string content and do not cache the template
重要:StringSource 中的 key = HashKit.md5(content),也即 key
与 content 有紧密的对应关系,当 content 发生变化时 key 值也相应变化
因此,原先 key 所对应的 Template 缓存对象已无法被获取,当 getTemplateByString(String)
的 String 参数的数量不确定时会引发内存泄漏
当 getTemplateByString(String, boolean) 中的 String 参数的
数量可控并且确定时,才可对其使用缓存
- getTemplateByString(String, boolean) - 类 中的方法com.jfinal.template.Engine
-
Get template by string content
- getTemplateCacheSize() - 类 中的方法com.jfinal.template.Engine
-
- getTemplateFile() - 类 中的方法com.jfinal.template.stat.Location
-
- getTemplateRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getTemplateRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getterTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- getterTypeMap - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- getText() - 类 中的方法com.jfinal.render.TextRender
-
- getTextRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getTextRender(String, String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getTextRender(String, ContentType) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getTextRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getTextRender(String, String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getTextRender(String, ContentType) - 类 中的方法com.jfinal.render.RenderFactory
-
- getThreadLocalConnection() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
Helps to implement nested transaction.
- getThreadLocalJedis() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- getTime(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: time
- getTime(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: time
- getTimestamp(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Get attribute of mysql type: timestamp, datetime
- getTimestamp(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Get column of mysql type: timestamp, datetime
- getTokenCache() - 类 中的方法com.jfinal.config.Constants
-
- getTotalPage() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
Return total page.
- getTotalRow() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
Return total row.
- getTransactionLevel() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- getTransactionLevel(Config) - 类 中的方法com.jfinal.plugin.activerecord.tx.Tx
-
- getTransactionLevel(Config) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxReadCommitted
-
- getTransactionLevel(Config) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxReadUncommitted
-
- getTransactionLevel(Config) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxRepeatableRead
-
- getTransactionLevel(Config) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxSerializable
-
- getType(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.TypeMapping
-
- getType(String) - 类 中的方法com.jfinal.plugin.activerecord.JavaType
-
- getType(ELContext, Object, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- getUpdate() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- getUploadPath() - 类 中的方法com.jfinal.upload.UploadFile
-
- getUrlParaSeparator() - 类 中的方法com.jfinal.config.Constants
-
- getUsefulClass(Class<? extends Model>) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- getValue() - 类 中的方法com.jfinal.captcha.Captcha
-
- getValue(ELContext, Object, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- getValue() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- getValue() - 类 中的方法com.jfinal.template.stat.ast.ForEntry
-
- getVelocityRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getVelocityRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- getView() - 类 中的方法com.jfinal.render.Render
-
- getViewExtension() - 类 中的方法com.jfinal.config.Constants
-
- getViewPath() - 类 中的方法com.jfinal.aop.Invocation
-
Return view path of this controller.
- getViewPath() - 类 中的方法com.jfinal.core.Action
-
- getViewPath() - 类 中的方法com.jfinal.validate.Validator
-
Return view path of this controller.
- getViewType() - 类 中的方法com.jfinal.config.Constants
-
- getWebRootPath() - 类 中的静态方法com.jfinal.kit.PathKit
-
- getXmlRender(String) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- getXmlRender(String) - 类 中的方法com.jfinal.render.RenderFactory
-
- I18n - com.jfinal.i18n中的类
-
I18N support.
- I18nInterceptor - com.jfinal.i18n中的类
-
I18nInterceptor is used to change the locale by request para,
and it is also switch the view or pass Res object to the view.
- I18nInterceptor() - 类 的构造器com.jfinal.i18n.I18nInterceptor
-
- I18nInterceptor(String, String) - 类 的构造器com.jfinal.i18n.I18nInterceptor
-
- I18nInterceptor(String, String, boolean) - 类 的构造器com.jfinal.i18n.I18nInterceptor
-
- I18nInterceptor(boolean) - 类 的构造器com.jfinal.i18n.I18nInterceptor
-
- IAtom - com.jfinal.plugin.activerecord中的接口
-
IAtom support transaction of database.
- IBean - com.jfinal.plugin.activerecord中的接口
-
IBean 标记型接口.
- ICache - com.jfinal.plugin.activerecord.cache中的接口
-
ICache.
- ICallback - com.jfinal.plugin.activerecord中的接口
-
ICallback provide a JDBC Connection if you need it or the active record plugin can not satisfy you requirement.
- ICallback - com.jfinal.plugin.redis中的接口
-
ICallback.
- ICaptchaCache - com.jfinal.captcha中的接口
-
ICaptchaCache
- IContainerFactory - com.jfinal.plugin.activerecord中的接口
-
- IConverter<T> - com.jfinal.core.converter中的接口
-
将一个字符串转换成特定类型
- Id - com.jfinal.template.expr.ast中的类
-
Id
- Id(String) - 类 的构造器com.jfinal.template.expr.ast.Id
-
- IDataLoader - com.jfinal.plugin.ehcache中的接口
-
IDataLoader.
- IDataSourceProvider - com.jfinal.plugin.activerecord中的接口
-
IDataSourceProvider
ActiveRecordPlugin constructor accept DataSourceProvider and DataSource
- IDbProFactory - com.jfinal.plugin.activerecord中的接口
-
IDbProFactory
用于自义扩展 DbPro 实现类,实现定制化功能
1:创建 DbPro 继承类: public class MyDbPro extends DbPro
2:创建 IDbProFactory 实现类:public class MyDbProFactory implements IDbProFactory,让其 getDbPro 方法 返回 MyDbPro 对象
3:配置生效: activeRecordPlugin.setDbProFactory(new MyDbProFactory())
注意:每个 ActiveRecordPlugin 对象拥有独立的 IDbProFactory 对象,多数据源使用时注意要对每个 arp 进行配置
- IDruidStatViewAuth - com.jfinal.plugin.druid中的接口
-
授权
- If - com.jfinal.template.stat.ast中的类
-
If
- If(ExprList, Stat, Location) - 类 的构造器com.jfinal.template.stat.ast.If
-
- IJsonFactory - com.jfinal.json中的接口
-
IJsonFactory.
- IKeyNamingPolicy - com.jfinal.plugin.redis中的接口
-
IKeyNamingPolicy.
- ILogFactory - com.jfinal.log中的接口
-
ILogFactory.
- ImageKit - com.jfinal.kit中的类
-
- importTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- importTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- importTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- IncDec - com.jfinal.template.expr.ast中的类
-
自增与自减
- IncDec(Sym, boolean, Expr, Location) - 类 的构造器com.jfinal.template.expr.ast.IncDec
-
- Include - com.jfinal.template.stat.ast中的类
-
Include
1:父模板被缓存时,被 include 的模板会被间接缓存,无需关心缓存问题
2:同一个模板文件被多个父模板 include,所处的背景环境不同,例如各父模板中定义的模板函数不同
各父模板所处的相对路径不同,所以多个父模板不能共用一次 parse 出来的结果,而是在每个被include
的地方重新 parse
两种用法:
1:只传入一个参数,参数必须是 String 常量,如果希望第一个参数是变量可以使用 #render 指令去实现
#include("_hot.html")
2:传入任意多个参数,除第一个参数以外的所有参数必须是赋值表达式,用于实现参数传递功能
#include("_hot.html", title = "热门新闻", list = newsList)
上例中传递了 title、list 两个参数,可以代替父模板中的 #set 指令传参方式
并且此方式传入的参数只在子模板作用域有效,不会污染父模板作用域
这种传参方式有利于将子模板模块化,例如上例的调用改成如下的参数:
#include("_hot.html", title = "热门项目", list = projectList)
通过这种传参方式在子模板 _hot.html 之中,完全不需要修改对于 title 与 list
这两个变量的处理代码,就实现了对 “热门项目” 数据的渲染
- Include(Env, ExprList, String, Location) - 类 的构造器com.jfinal.template.stat.ast.Include
-
- incr(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将 key 中储存的数字值增一。
- incrBy(Object, long) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将 key 所储存的值加上增量 increment 。
- Index - com.jfinal.template.expr.ast中的类
-
index : expr '[' expr ']'
支持 a[i]、 a[b[i]]、a[i][j]、a[i][j]...
- Index(Expr, Expr, Location) - 类 的构造器com.jfinal.template.expr.ast.Index
-
- info(String) - 类 中的静态方法com.jfinal.kit.LogKit
-
- info(String, Throwable) - 类 中的静态方法com.jfinal.kit.LogKit
-
- info(String) - 类 中的方法com.jfinal.log.JdkLog
-
- info(String, Throwable) - 类 中的方法com.jfinal.log.JdkLog
-
- info(String) - 类 中的方法com.jfinal.log.Log
-
- info(String, Throwable) - 类 中的方法com.jfinal.log.Log
-
- info(String) - 类 中的方法com.jfinal.log.Log4jLog
-
- info(String, Throwable) - 类 中的方法com.jfinal.log.Log4jLog
-
- init(FilterConfig) - 类 中的方法com.jfinal.core.JFinalFilter
-
- init() - 类 中的方法com.jfinal.log.LogManager
-
- init(ServletContext) - 类 中的静态方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- init() - 类 中的静态方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- init(Engine, Constants, ServletContext) - 接口 中的方法com.jfinal.render.IRenderFactory
-
- init(Engine, Constants, ServletContext) - 类 中的方法com.jfinal.render.RenderFactory
-
- init(Engine, Constants, ServletContext) - 类 中的方法com.jfinal.render.RenderManager
-
- init(ITokenCache) - 类 中的静态方法com.jfinal.token.TokenManager
-
- init(String, int, String) - 类 中的静态方法com.jfinal.upload.OreillyCos
-
- initServletContext(ServletContext) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
spring 回调,利用 ServletContext 做必要的初始化工作
- injectBean(Class<T>, HttpServletRequest, boolean) - 类 中的静态方法com.jfinal.core.Injector
-
- injectBean(Class<T>, String, HttpServletRequest, boolean) - 类 中的静态方法com.jfinal.core.Injector
-
- injectModel(Class<T>, HttpServletRequest, boolean) - 类 中的静态方法com.jfinal.core.Injector
-
- injectModel(Class<T>, String, HttpServletRequest, boolean) - 类 中的静态方法com.jfinal.core.Injector
-
- Injector - com.jfinal.core中的类
-
Injector.
- Injector() - 类 的构造器com.jfinal.core.Injector
-
- InnerEvalDirective() - 类 的构造器com.jfinal.kit.ElKit.InnerEvalDirective
-
- INT - 类 中的静态变量com.jfinal.template.expr.ast.Arith
-
- IntegerConverter() - 类 的构造器com.jfinal.core.converter.Converters.IntegerConverter
-
- IntegerExt - com.jfinal.template.ext.extensionmethod中的类
-
针对 java.lang.Integer 的扩展方法
重要用途:
Controller.keepPara() 方法会将所有类型的数据当成 String 并传回到
到模板中,所以模板中的如下代码将无法工作:
#if(age > 18)
....
- IntegerExt() - 类 的构造器com.jfinal.template.ext.extensionmethod.IntegerExt
-
- intercept(Invocation) - 接口 中的方法com.jfinal.aop.Interceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.aop.InterceptorStack
-
- intercept(Invocation) - 类 中的方法com.jfinal.aop.PrototypeInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.GET
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.LogInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.NotAction
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.NoUrlPara
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.POST
-
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.Restful
-
add edit 无需处理
GET /user ---> index
GET /user/id ---> show
POST /user ---> save
PUT /user/id ---> update
DELECT /user/id ---> delete
- intercept(Invocation) - 类 中的方法com.jfinal.ext.interceptor.SessionInViewInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.i18n.I18nInterceptor
-
1: use the locale from request para if exists. change the locale write to the cookie
2: use the locale from cookie para if exists.
3: use the default locale
4: use setAttr(resName, resObject) pass Res object to the view.
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.OneConnectionPerThread
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.tx.Tx
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxByActionKeyRegex
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxByActionKeys
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxByMethodRegex
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.activerecord.tx.TxByMethods
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.ehcache.CacheInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.ehcache.EvictInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.plugin.redis.RedisInterceptor
-
- intercept(Invocation) - 类 中的方法com.jfinal.validate.Validator
-
- Interceptor - com.jfinal.aop中的接口
-
Interceptor.
- InterceptorManager - com.jfinal.aop中的类
-
InterceptorManager.
1:管理控制层、业务层全局拦截器
2:缓存业务层 Class 级拦截器数组。
- Interceptors - com.jfinal.config中的类
-
The Interceptors is used to config global action interceptors and global service interceptors.
- Interceptors() - 类 的构造器com.jfinal.config.Interceptors
-
- InterceptorStack - com.jfinal.aop中的类
-
InterceptorStack.
- InterceptorStack() - 类 的构造器com.jfinal.aop.InterceptorStack
-
- invalid - 类 中的变量com.jfinal.validate.Validator
-
- invalidate(String) - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- Invocation - com.jfinal.aop中的类
-
Invocation is used to invoke the interceptors and the target method
- Invocation() - 类 的构造器com.jfinal.aop.Invocation
-
- Invocation(Action, Controller) - 类 的构造器com.jfinal.aop.Invocation
-
- Invocation(Object, Method, Object[], MethodProxy, Interceptor[]) - 类 的构造器com.jfinal.aop.Invocation
-
- invocation - 类 中的变量com.jfinal.validate.Validator
-
- invoke() - 类 中的方法com.jfinal.aop.Invocation
-
- invoke(Object, Method, Object[]) - 类 中的方法com.jfinal.plugin.activerecord.SqlReporter
-
- invoke(Object, Object...) - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- invoke(Object, Object...) - 类 中的方法com.jfinal.template.expr.ast.MethodInfoExt
-
- invokeVarArgsMethod(Object, Object[]) - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- IOutputDirectiveFactory - com.jfinal.template中的接口
-
IOutputDirectiveFactory
用于定制自定义输出指令,替换系统默认输出指令,满足个性化需求
用法:
1:定义 MyOutput
public class MyOutput extends Output {
public MyOutput(ExprList exprList) {
super(exprList);
}
public void exec(Env env, Scope scope, Writer writer) {
write(writer, exprList.eval(scope));
}
}
2:定义 MyOutputDirectiveFactory
public class MyOutputDirectiveFactory implements IOutputDirectiveFactory {
public Output getOutputDirective(ExprList exprList) {
return new MyOutput(exprList);
}
}
3:配置
engine.setOutputDirectiveFactory(new MyOutputDirectiveFactory())
- IPlugin - com.jfinal.plugin中的接口
-
IPlugin
- IRenderFactory - com.jfinal.render中的接口
-
IRenderFactory.
- isAbsolutelyPath(String) - 类 中的静态方法com.jfinal.kit.PathKit
-
- isActionInvocation() - 类 中的方法com.jfinal.aop.Invocation
-
return true if it is action invocation.
- isBlank(String) - 类 中的静态方法com.jfinal.kit.StrKit
-
字符串为 null 或者内部字符全部为 ' ' '\t' '\n' '\r' 这四类字符时返回 true
- isBlank(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isBlankOrLineFeed(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isBoolean() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isBreak() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isContinue() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isDebugEnabled() - 类 中的静态方法com.jfinal.kit.LogKit
-
- isDebugEnabled() - 类 中的方法com.jfinal.log.JdkLog
-
- isDebugEnabled() - 类 中的方法com.jfinal.log.Log
-
- isDebugEnabled() - 类 中的方法com.jfinal.log.Log4jLog
-
- isDevMode() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- isDevMode() - 类 中的方法com.jfinal.template.EngineConfig
-
- isDigit(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isDouble() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isEmpty() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- isEmpty() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- isEmpty() - 类 中的方法com.jfinal.template.stat.ast.Text
-
- ISerializer - com.jfinal.plugin.redis.serializer中的接口
-
ISerializer.
- isErrorEnabled() - 类 中的静态方法com.jfinal.kit.LogKit
-
- isErrorEnabled() - 类 中的方法com.jfinal.log.JdkLog
-
- isErrorEnabled() - 类 中的方法com.jfinal.log.Log
-
- isErrorEnabled() - 类 中的方法com.jfinal.log.Log4jLog
-
- IServer - com.jfinal.server中的接口
-
- ISession - com.jfinal.plugin.auth中的接口
-
- isExpired() - 类 中的方法com.jfinal.captcha.Captcha
-
- isExprChar(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isFail() - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- isFail() - 类 中的方法com.jfinal.kit.Kv
-
已过时。
- isFail() - 类 中的方法com.jfinal.kit.Ret
-
- isFalse(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
key 存在,并且 value 为 false,则返回 true
- isFalse(Object) - 类 中的方法com.jfinal.kit.Kv
-
key 存在,并且 value 为 false,则返回 true
- isFalse(Object) - 类 中的方法com.jfinal.kit.Okv
-
key 存在,并且 value 为 false,则返回 true
- isFalse(Object) - 类 中的方法com.jfinal.kit.Ret
-
key 存在,并且 value 为 false,则返回 true
- isFalse() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isFalse(Object) - 类 中的静态方法com.jfinal.template.expr.ast.Logic
-
- isFatalEnabled() - 类 中的静态方法com.jfinal.kit.LogKit
-
- isFatalEnabled() - 类 中的方法com.jfinal.log.JdkLog
-
- isFatalEnabled() - 类 中的方法com.jfinal.log.Log
-
- isFatalEnabled() - 类 中的方法com.jfinal.log.Log4jLog
-
- isFirstPage() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
- isFloat() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isForbiddenClass(Class<?>) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
- isForbiddenMethod(String) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
- isGlobalAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isHexadecimalDigit(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isInfoEnabled() - 类 中的静态方法com.jfinal.kit.LogKit
-
- isInfoEnabled() - 类 中的方法com.jfinal.log.JdkLog
-
- isInfoEnabled() - 类 中的方法com.jfinal.log.Log
-
- isInfoEnabled() - 类 中的方法com.jfinal.log.Log4jLog
-
- isInJar - 类 中的变量com.jfinal.template.source.ClassPathSource
-
- isInt() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isInTransaction() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
Return true if current thread in transaction.
- isIterator() - 类 中的方法com.jfinal.template.expr.ast.ForCtrl
-
- isJump() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isLastPage() - 类 中的方法com.jfinal.plugin.activerecord.Page
-
- isLetter(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isLetterOrDigit(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isLocalAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isLong() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isModified() - 类 中的方法com.jfinal.template.source.ClassPathSource
-
模板文件在 jar 包文件之内则不支持热加载
- isModified() - 类 中的方法com.jfinal.template.source.FileSource
-
- isModified() - 接口 中的方法com.jfinal.template.source.ISource
-
reload template if modified on devMode
- isModified() - 类 中的方法com.jfinal.template.source.StringSource
-
- isModified() - 类 中的方法com.jfinal.template.Template
-
- isNull(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
key 不存在,或者 key 存在但 value 为null
- isNull(Object) - 类 中的方法com.jfinal.kit.Kv
-
key 不存在,或者 key 存在但 value 为null
- isNull(Object) - 类 中的方法com.jfinal.kit.Okv
-
key 不存在,或者 key 存在但 value 为null
- isNull(Object) - 类 中的方法com.jfinal.kit.Ret
-
key 不存在,或者 key 存在但 value 为null
- isNull() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isNullable - 类 中的变量com.jfinal.plugin.activerecord.generator.ColumnMeta
-
- isNullSafe() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isOctalDigit(char) - 类 中的静态方法com.jfinal.template.stat.CharTable
-
- isOk() - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- isOk() - 类 中的方法com.jfinal.kit.Kv
-
已过时。
- isOk() - 类 中的方法com.jfinal.kit.Ret
-
- isOracle() - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- isOracle() - 类 中的方法com.jfinal.plugin.activerecord.dialect.OracleDialect
-
- ISource - com.jfinal.template.source中的接口
-
ISource 用于表示模板内容的来源
- ISourceFactory - com.jfinal.template.source中的接口
-
ISourceFactory 用于为 engine 切换不同的 ISource 实现类
FileSourceFactory 用于从指定的目录中加载模板文件
ClassPathSourceFactory 用于从 class path 以及 jar 文件中加载模板文件
配置示例:
engine.setSourceFactory(new ClassPathSourceFactory());
- isParaBlank(String) - 类 中的方法com.jfinal.core.Controller
-
Return true if the para value is blank otherwise return false
- isParaBlank(int) - 类 中的方法com.jfinal.core.Controller
-
Return true if the urlPara value is blank otherwise return false
- isParaExists(String) - 类 中的方法com.jfinal.core.Controller
-
Return true if the para exists otherwise return false
- isParaExists(int) - 类 中的方法com.jfinal.core.Controller
-
Return true if the urlPara exists otherwise return false
- isPermitted(HttpServletRequest) - 接口 中的方法com.jfinal.plugin.druid.IDruidStatViewAuth
-
- isPrimaryKey(String, String[]) - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- isPrimaryKey - 类 中的变量com.jfinal.plugin.activerecord.generator.ColumnMeta
-
- isReadOnly(ELContext, Object, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- isReportAfterInvocation(HttpServletRequest) - 类 中的静态方法com.jfinal.core.ActionReporter
-
- isReturn() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- isShowSql() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- isSkipTable(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.MetaBuilder
-
通过继承并覆盖此方法,跳过一些不希望处理的 table,定制更加灵活的 table 过滤规则
- isSourceListModified() - 类 中的方法com.jfinal.template.Env
-
本方法用于在 devMode 之下,判断当前 Template 以及其下 #include 指令
所涉及的所有 ISource 对象是否被修改,以便于在 devMode 下重新加载
sourceList 属性用于存放主模板以及 #include 进来的模板所对应的
ISource 对象
- isSourceModifiedForDevMode() - 类 中的方法com.jfinal.template.stat.ast.Define
-
- isStatic() - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- isStr() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isTakeOverDbPaginate() - 类 中的方法com.jfinal.plugin.activerecord.dialect.AnsiSqlDialect
-
- isTakeOverDbPaginate() - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- isTakeOverModelPaginate() - 类 中的方法com.jfinal.plugin.activerecord.dialect.AnsiSqlDialect
-
- isTakeOverModelPaginate() - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- isTrue(Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
key 存在,并且 value 为 true,则返回 true
- isTrue(Object) - 类 中的方法com.jfinal.kit.Kv
-
key 存在,并且 value 为 true,则返回 true
- isTrue(Object) - 类 中的方法com.jfinal.kit.Okv
-
key 存在,并且 value 为 true,则返回 true
- isTrue(Object) - 类 中的方法com.jfinal.kit.Ret
-
key 存在,并且 value 为 true,则返回 true
- isTrue() - 类 中的方法com.jfinal.template.expr.ast.Const
-
- isTrue(Object) - 类 中的静态方法com.jfinal.template.expr.ast.Logic
-
规则:
1:null 返回 false
2:boolean 类型,原值返回
3:Map、Connection(List被包括在内) 返回 size() > 0
4:数组,返回 length > 0
5:String、StringBuilder、StringBuffer 等继承自 CharSequence 类的对象,返回 length > 0
6:Number 类型,返回 value !
- isVarArgs - 类 中的变量com.jfinal.template.expr.ast.MethodInfo
-
- isVarArgs() - 类 中的方法com.jfinal.template.expr.ast.MethodInfo
-
- isWarnEnabled() - 类 中的静态方法com.jfinal.kit.LogKit
-
- isWarnEnabled() - 类 中的方法com.jfinal.log.JdkLog
-
- isWarnEnabled() - 类 中的方法com.jfinal.log.Log
-
- isWarnEnabled() - 类 中的方法com.jfinal.log.Log4jLog
-
- isWisdomAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- ITask - com.jfinal.plugin.cron4j中的接口
-
实现 ITask 接口的 Task,多了一个 stop 方法,插件在停止时会进行回调
- iterator() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- iteratorToJson(Iterator, int) - 类 中的方法com.jfinal.json.JFinalJson
-
- ITokenCache - com.jfinal.token中的接口
-
ITokenCache.
- random - 类 中的静态变量com.jfinal.captcha.CaptchaRender
-
- random - 类 中的静态变量com.jfinal.ext.kit.SessionIdKit
-
- RANDOM_FONT - 类 中的静态变量com.jfinal.captcha.CaptchaRender
-
- RandomDirective - com.jfinal.template.ext.directive中的类
-
输出随机数
- RandomDirective() - 类 的构造器com.jfinal.template.ext.directive.RandomDirective
-
- randomKey() - 类 中的方法com.jfinal.plugin.redis.Cache
-
从当前数据库中随机返回(不删除)一个 key 。
- RangeArray - com.jfinal.template.expr.ast中的类
-
RangeArray : [expr .. expr]
用法:
1:[1..3]
2:[3..1]
- RangeArray(Expr, Expr, Location) - 类 的构造器com.jfinal.template.expr.ast.RangeArray
-
array : '[' exprList ?
- RangeArray.RangeList - com.jfinal.template.expr.ast中的类
-
- RangeList(int, int, Location) - 类 的构造器com.jfinal.template.expr.ast.RangeArray.RangeList
-
- readData(HttpServletRequest) - 类 中的静态方法com.jfinal.kit.HttpKit
-
- readIncommingRequestData(HttpServletRequest) - 类 中的静态方法com.jfinal.kit.HttpKit
-
已过时。
- rebuildColumnMetas(List<TableMeta>) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- Record - com.jfinal.plugin.activerecord中的类
-
Record
- Record() - 类 的构造器com.jfinal.plugin.activerecord.Record
-
- RecordBuilder - com.jfinal.plugin.activerecord中的类
-
RecordBuilder.
- RecordBuilder() - 类 的构造器com.jfinal.plugin.activerecord.RecordBuilder
-
- redirect(String) - 类 中的方法com.jfinal.core.Controller
-
Redirect to url
- redirect(String, boolean) - 类 中的方法com.jfinal.core.Controller
-
Redirect to url
- redirect(String, HttpServletRequest, HttpServletResponse, boolean[]) - 类 中的静态方法com.jfinal.kit.HandlerKit
-
- redirect301(String) - 类 中的方法com.jfinal.core.Controller
-
Render with url and 301 status
- redirect301(String, boolean) - 类 中的方法com.jfinal.core.Controller
-
Render with url and 301 status
- redirect301(String, HttpServletRequest, HttpServletResponse, boolean[]) - 类 中的静态方法com.jfinal.kit.HandlerKit
-
- Redirect301Render - com.jfinal.render中的类
-
Redirect301Render.
- Redirect301Render(String) - 类 的构造器com.jfinal.render.Redirect301Render
-
- Redirect301Render(String, boolean) - 类 的构造器com.jfinal.render.Redirect301Render
-
- RedirectRender - com.jfinal.render中的类
-
RedirectRender with status: 302 Found.
- RedirectRender(String) - 类 的构造器com.jfinal.render.RedirectRender
-
- RedirectRender(String, boolean) - 类 的构造器com.jfinal.render.RedirectRender
-
- Redis - com.jfinal.plugin.redis中的类
-
Redis.
- Redis() - 类 的构造器com.jfinal.plugin.redis.Redis
-
- RedisInterceptor - com.jfinal.plugin.redis中的类
-
RedisInterceptor 用于在同一线程中共享同一个 jedis 对象,提升性能.
- RedisInterceptor() - 类 的构造器com.jfinal.plugin.redis.RedisInterceptor
-
- RedisPlugin - com.jfinal.plugin.redis中的类
-
RedisPlugin.
- RedisPlugin(String, String) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int, int) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int, int, String) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int, int, String, int) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int, int, String, int, String) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, int, String) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- RedisPlugin(String, String, String) - 类 的构造器com.jfinal.plugin.redis.RedisPlugin
-
- ReflectKit - com.jfinal.kit中的类
-
反射工具类
- ReflectKit() - 类 的构造器com.jfinal.kit.ReflectKit
-
- regist(Class<T>, IConverter<T>) - 类 中的方法com.jfinal.core.converter.TypeConverter
-
- remarks - 类 中的变量com.jfinal.plugin.activerecord.generator.ColumnMeta
-
- remarks - 类 中的变量com.jfinal.plugin.activerecord.generator.TableMeta
-
- remove(String) - 类 中的方法com.jfinal.captcha.CaptchaCache
-
- remove(String) - 接口 中的方法com.jfinal.captcha.ICaptchaCache
-
- remove(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.cache.EhCache
-
- remove(String, Object) - 接口 中的方法com.jfinal.plugin.activerecord.cache.ICache
-
- remove(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- remove(Object) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- remove(String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Remove attribute of this model.
- remove(String...) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Remove attributes of this model.
- remove(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Remove attribute of this record.
- remove(String...) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Remove columns of this record.
- remove(String, Object) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- remove(String) - 类 中的静态方法com.jfinal.template.Engine
-
Remove engine with engine name managed by JFinal
- remove(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
移除变量
自内向外在作用域栈中查找变量,移除最先找到的变量
- remove(Token) - 接口 中的方法com.jfinal.token.ITokenCache
-
- removeAll() - 类 中的方法com.jfinal.captcha.CaptchaCache
-
- removeAll() - 接口 中的方法com.jfinal.captcha.ICaptchaCache
-
- removeAll(String) - 类 中的方法com.jfinal.plugin.activerecord.cache.EhCache
-
- removeAll(String) - 接口 中的方法com.jfinal.plugin.activerecord.cache.ICache
-
- removeAll(Collection<?>) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- removeAll(String) - 类 中的静态方法com.jfinal.plugin.ehcache.CacheKit
-
- removeAllTemplateCache() - 类 中的方法com.jfinal.template.Engine
-
Remove all template cache
- removeAttr(String) - 类 中的方法com.jfinal.core.Controller
-
Removes an attribute from this request
- removeAttr(String) - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- removeCache(String) - 类 中的静态方法com.jfinal.plugin.redis.Redis
-
- removeConfig(String) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- removeCookie(String) - 类 中的方法com.jfinal.core.Controller
-
Remove Cookie.
- removeCookie(String, String) - 类 中的方法com.jfinal.core.Controller
-
Remove Cookie.
- removeCookie(String, String, String) - 类 中的方法com.jfinal.core.Controller
-
Remove Cookie.
- removeDirective(String) - 类 中的方法com.jfinal.template.Engine
-
Remove directive
- removeDirective(String) - 类 中的方法com.jfinal.template.EngineConfig
-
- removedTableNamePrefixes - 类 中的变量com.jfinal.plugin.activerecord.generator.MetaBuilder
-
- removeExcludedAttrs(String...) - 类 中的静态方法com.jfinal.render.JsonRender
-
- removeExtensionMethod(Class<?>, Object) - 类 中的静态方法com.jfinal.template.Engine
-
- removeExtensionMethod(Class<?>, Class<?>) - 类 中的静态方法com.jfinal.template.Engine
-
- removeExtensionMethod(Class<?>, Object) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
- removeExtensionMethod(Class<?>, Class<?>) - 类 中的静态方法com.jfinal.template.expr.ast.MethodKit
-
- removeGlobal(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
移除全局变量
全局作用域是指本次请求的整个 template
- removeKeyword(String) - 类 中的方法com.jfinal.kit.JavaKeyword
-
- removeLocal(Object) - 类 中的方法com.jfinal.template.stat.Scope
-
移除局部变量
- removeNullValueAttrs() - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Remove attributes if it is null.
- removeNullValueColumns() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Remove columns if it is null.
- removeSession(String) - 类 中的方法com.jfinal.plugin.auth.SessionKit
-
- removeSessionAttr(String) - 类 中的方法com.jfinal.core.Controller
-
Remove Object in session.
- removeSharedMethod(String) - 类 中的方法com.jfinal.template.Engine
-
Remove shared Method with method name
- removeSharedMethod(Class<?>) - 类 中的方法com.jfinal.template.Engine
-
Remove shared Method of the Class
- removeSharedMethod(Method) - 类 中的方法com.jfinal.template.Engine
-
Remove shared Method
- removeSharedMethod(String) - 类 中的方法com.jfinal.template.EngineConfig
-
Remove shared Method with method name
- removeSharedMethod(Class<?>) - 类 中的方法com.jfinal.template.EngineConfig
-
Remove shared Method of the Class
- removeSharedMethod(Method) - 类 中的方法com.jfinal.template.EngineConfig
-
Remove shared Method
- removeSharedMethod(String) - 类 中的方法com.jfinal.template.expr.ast.SharedMethodKit
-
- removeSharedMethod(Class<?>) - 类 中的方法com.jfinal.template.expr.ast.SharedMethodKit
-
- removeSharedMethod(Method) - 类 中的方法com.jfinal.template.expr.ast.SharedMethodKit
-
- removeTemplateCache(String) - 类 中的方法com.jfinal.template.Engine
-
Remove template cache with template key
- removeThreadLocalConnection() - 类 中的方法com.jfinal.plugin.activerecord.Config
-
- removeThreadLocalJedis() - 类 中的方法com.jfinal.plugin.redis.Cache
-
- rename(Object, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将 key 改名为 newkey 。
- render() - 类 中的方法com.jfinal.captcha.CaptchaRender
-
生成验证码
- render(Render) - 类 中的方法com.jfinal.core.Controller
-
Render with any Render which extends Render
- render(String) - 类 中的方法com.jfinal.core.Controller
-
Render with view use default type Render configured in JFinalConfig
- render(String, int) - 类 中的方法com.jfinal.core.Controller
-
Render with view and status use default type Render configured in JFinalConfig
- render() - 类 中的方法com.jfinal.ext.render.CaptchaRender
-
已过时。
- render() - 类 中的方法com.jfinal.ext.render.StaticHtmlRender
-
- render() - 类 中的方法com.jfinal.render.ErrorRender
-
- render() - 类 中的方法com.jfinal.render.FileRender
-
- render() - 类 中的方法com.jfinal.render.FreeMarkerRender
-
- render() - 类 中的方法com.jfinal.render.JsonRender
-
- render() - 类 中的方法com.jfinal.render.JspRender
-
- render() - 类 中的方法com.jfinal.render.NullRender
-
Render nothing
- render() - 类 中的方法com.jfinal.render.QrCodeRender
-
- render() - 类 中的方法com.jfinal.render.Redirect301Render
-
- render() - 类 中的方法com.jfinal.render.RedirectRender
-
- Render - com.jfinal.render中的类
-
Render.
- Render() - 类 的构造器com.jfinal.render.Render
-
- render() - 类 中的方法com.jfinal.render.Render
-
Render to client
- render() - 类 中的方法com.jfinal.render.TemplateRender
-
- render() - 类 中的方法com.jfinal.render.TextRender
-
- render() - 类 中的方法com.jfinal.render.VelocityRender
-
- render(Map<?, ?>, Writer) - 类 中的方法com.jfinal.template.Template
-
渲染到 Writer 中去
- render(Writer) - 类 中的方法com.jfinal.template.Template
-
支持无 data 参数,渲染到 Writer 中去
适用于数据在模板中通过表达式和语句直接计算得出等等应用场景
此外,其它所有 render 方法也支持传入 null 值 data 参数
- render(Map<?, ?>, FastStringWriter) - 类 中的方法com.jfinal.template.Template
-
渲染到 FastStringWriter 中去
- renderCaptcha() - 类 中的方法com.jfinal.core.Controller
-
- RenderDirective - com.jfinal.template.ext.directive中的类
-
#render 指令用于动态渲染子模板,作为 include 指令的补充
两种用法:
1:只传入一个参数,参数可以是 String 常量,也可以是任意表达式
#render("_hot.html")
#render(subFile)
2:传入任意多个参数,除第一个参数以外的所有参数必须是赋值表达式,用于实现参数传递功能
#render("_hot.html", title = "热门新闻", list = newsList)
上例中传递了 title、list 两个参数,可以代替父模板中的 #set 指令传参方式
并且此方式传入的参数只在子模板作用域有效,不会污染父模板作用域
这种传参方式有利于将子模板模块化,例如上例的调用改成如下的参数:
#render("_hot.html", title = "热门项目", list = projectList)
通过这种传参方式在子模板 _hot.html 之中,完全不需要修改对于 title 与 list
这两个变量的处理代码,就实现了对 “热门项目” 数据的渲染
- RenderDirective() - 类 的构造器com.jfinal.template.ext.directive.RenderDirective
-
- renderError(int, String) - 类 中的方法com.jfinal.core.Controller
-
Render with view and errorCode status
- renderError(int, Render) - 类 中的方法com.jfinal.core.Controller
-
Render with render and errorCode status
- renderError(int) - 类 中的方法com.jfinal.core.Controller
-
Render with view and errorCode status configured in JFinalConfig
- renderError404(String, HttpServletRequest, HttpServletResponse, boolean[]) - 类 中的静态方法com.jfinal.kit.HandlerKit
-
- renderError404(HttpServletRequest, HttpServletResponse, boolean[]) - 类 中的静态方法com.jfinal.kit.HandlerKit
-
- RenderException - com.jfinal.render中的异常错误
-
RenderException.
- RenderException() - 异常错误 的构造器com.jfinal.render.RenderException
-
- RenderException(String) - 异常错误 的构造器com.jfinal.render.RenderException
-
- RenderException(Throwable) - 异常错误 的构造器com.jfinal.render.RenderException
-
- RenderException(String, Throwable) - 异常错误 的构造器com.jfinal.render.RenderException
-
- RenderFactory - com.jfinal.render中的类
-
RenderFactory.
- RenderFactory() - 类 的构造器com.jfinal.render.RenderFactory
-
- renderFile(String) - 类 中的方法com.jfinal.core.Controller
-
Render with file
- renderFile(String, String) - 类 中的方法com.jfinal.core.Controller
-
Render with file, using the new file name to the client
- renderFile(File) - 类 中的方法com.jfinal.core.Controller
-
Render with file
- renderFile(File, String) - 类 中的方法com.jfinal.core.Controller
-
Render with file, using the new file name to the client
- renderFreeMarker(String) - 类 中的方法com.jfinal.core.Controller
-
Render with freemarker view
- renderHtml(String) - 类 中的方法com.jfinal.core.Controller
-
Render with html text.
- RenderInfo - com.jfinal.plugin.ehcache中的类
-
RenderInfo.
- RenderInfo(Render) - 类 的构造器com.jfinal.plugin.ehcache.RenderInfo
-
- renderJavascript(String) - 类 中的方法com.jfinal.core.Controller
-
Render with javascript text.
- renderJson(String, Object) - 类 中的方法com.jfinal.core.Controller
-
Render with json
Example:
renderJson("message", "Save successful");
renderJson("users", users);
- renderJson() - 类 中的方法com.jfinal.core.Controller
-
Render with json
- renderJson(String[]) - 类 中的方法com.jfinal.core.Controller
-
Render with attributes set by setAttr(...) before.
- renderJson(String) - 类 中的方法com.jfinal.core.Controller
-
Render with json text.
- renderJson(Object) - 类 中的方法com.jfinal.core.Controller
-
Render json with object.
- renderJsp(String) - 类 中的方法com.jfinal.core.Controller
-
Render with jsp view
- RenderManager - com.jfinal.render中的类
-
RenderManager.
- renderMergedTemplateModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - 类 中的方法com.jfinal.template.ext.spring.JFinalView
-
- renderNull() - 类 中的方法com.jfinal.core.Controller
-
Render nothing, no response to browser
- renderQrCode(String, int, int) - 类 中的方法com.jfinal.core.Controller
-
渲染二维码
- renderQrCode(String, int, int, char) - 类 中的方法com.jfinal.core.Controller
-
渲染二维码,并指定纠错级别
- renderTemplate(String) - 类 中的方法com.jfinal.core.Controller
-
Render with JFinal template
- renderText(String) - 类 中的方法com.jfinal.core.Controller
-
Render with text.
- renderText(String, String) - 类 中的方法com.jfinal.core.Controller
-
Render with text and content type.
- renderText(String, ContentType) - 类 中的方法com.jfinal.core.Controller
-
Render with text and ContentType.
- renderToString(String, Map) - 类 中的方法com.jfinal.core.Controller
-
Render template to String content, it is useful for:
1: Generate HTML fragment for AJAX request
2: Generate email, short message and so on
- renderToString(Map<?, ?>) - 类 中的方法com.jfinal.template.Template
-
渲染到 String 中去
- renderToStringBuilder(Map<?, ?>) - 类 中的方法com.jfinal.template.Template
-
渲染到 StringBuilder 中去
- renderType - 类 中的变量com.jfinal.plugin.ehcache.RenderInfo
-
- RenderType - com.jfinal.plugin.ehcache中的类
-
RenderType
- RenderType() - 类 的构造器com.jfinal.plugin.ehcache.RenderType
-
- renderVelocity(String) - 类 中的方法com.jfinal.core.Controller
-
Render with velocity view
- renderXml(String) - 类 中的方法com.jfinal.core.Controller
-
Render with xml view using freemarker.
- replaceOrderBy(String) - 类 中的方法com.jfinal.plugin.activerecord.dialect.Dialect
-
- report(String, Controller, Action) - 类 中的静态方法com.jfinal.core.ActionReporter
-
Report the action
- request - 类 中的变量com.jfinal.render.Render
-
- requiredViewClass() - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
- Res - com.jfinal.i18n中的类
-
Res is used to get the message value from the ResourceBundle of the related Locale.
- Res(String, String) - 类 的构造器com.jfinal.i18n.Res
-
- response - 类 中的变量com.jfinal.render.Render
-
- Restful - com.jfinal.ext.interceptor中的类
-
Invocation 中添加 Method method
The standard definition is as follows:
index - GET - A view of all (or a selection of) the records
show - GET - A view of a single record
add - GET - A form to post to create
save - POST - Create a new record
edit - GET - A form to edit a single record
update - PUT - Update a record
delete - DELETE - Delete a record
GET /user ---> index
GET /user/id ---> show
GET /user/add ---> add
POST /user ---> save
GET /user/edit/id ---> edit
PUT /user/id ---> update
DELETE /user/id ---> delete
- Restful() - 类 的构造器com.jfinal.ext.interceptor.Restful
-
- Ret - com.jfinal.kit中的类
-
Ret 用于返回值封装,也用于服务端与客户端的 json 数据通信
一、主要应用场景:
1:业务层需要返回多个返回值,例如要返回业务状态以及数据
2:renderJson(ret) 响应 json 数据给客户端
二、两种工作模式:
1:默认情况下即为新工作模式,当调用 ok()、fail()、setOk()、setFail() 方法之后
Ret 生成的 json 数据的状态属性为:state:ok 以及 state:fail
2:通过调用 Ret.setToOldWorkMode() 可以切换到旧工作模式,与新工作模式的不同在于
Ret 生成的 json 数据的状态属性为:isOk:true/false 以及 isFail:true/false
3:旧工作模式为了兼容 JFinal 3.2 之前的版本而保留,强烈建议使用新工作模式
新工作模式非常有利于使用 json 数据格式的 API 类型项目
三、实例
1:服务端
Ret ret = service.justDoIt(paras);
renderJson(ret);
2:javascript 客户端 ajax 回调函数通常这么用:
success: function(ret) {
if(ret.state == "ok") {
...
}
if (ret.state == "fail") {
...
}
}
3:普通应用程序通常这么用:
String json = HttpKit.readData(getRequest());
Ret ret = FastJson.getJson().parse(json, Ret.class);
if (ret.isOk()) {
...
}
if (ret.isFail()) {
...
}
- Ret() - 类 的构造器com.jfinal.kit.Ret
-
- retainAll(Collection<?>) - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- Return - com.jfinal.template.stat.ast中的类
-
Return
通常用于 #define 指令内部,不支持返回值
- Route(String, Class<? extends Controller>, String) - 类 的构造器com.jfinal.config.Routes.Route
-
- Routes - com.jfinal.config中的类
-
Routes.
- Routes() - 类 的构造器com.jfinal.config.Routes
-
- Routes.Route - com.jfinal.config中的类
-
- RoutesHandler - com.jfinal.ext.handler中的类
-
RoutesHandler.
- RoutesHandler() - 类 的构造器com.jfinal.ext.handler.RoutesHandler
-
- rpop(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
移除并返回列表 key 的尾元素。
- rpoplpush(Object, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
命令 RPOPLPUSH 在一个原子时间内,执行以下两个动作:
将列表 source 中的最后一个元素(尾元素)弹出,并返回给客户端。
- rpush(Object, Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将一个或多个值 value 插入到列表 key 的表尾(最右边)。
- run() - 接口 中的方法com.jfinal.plugin.activerecord.IAtom
-
Place codes here that need transaction support.
- sadd(Object, Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
- save(String, String, Record) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
Save record.
- save(String, Record) - 类 中的静态方法com.jfinal.plugin.activerecord.Db
-
- save(String, String, Record) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
Save record.
- save(String, Record) - 类 中的方法com.jfinal.plugin.activerecord.DbPro
-
- save() - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Save model.
- Scanner - com.jfinal.server中的类
-
Scanner.
- Scanner(String, int) - 类 的构造器com.jfinal.server.Scanner
-
- scard(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回集合 key 的基数(集合中元素的数量)。
- Scope - com.jfinal.template.stat中的类
-
Scope
1:顶层 scope.parent 为 null
2:scope.set(...)
- Scope(Map, Map<String, Object>) - 类 的构造器com.jfinal.template.stat.Scope
-
构建顶层 Scope, parent 为 null 是顶层 Scope 的标志
- Scope(Scope) - 类 的构造器com.jfinal.template.stat.Scope
-
构建 AST 执行过程中作用域栈
- sdiff(Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
- select(int) - 类 中的方法com.jfinal.plugin.redis.Cache
-
切换到指定的数据库,数据库索引号 index 用数字值指定,以 0 作为起始索引值。
- serializer - 类 中的变量com.jfinal.plugin.redis.Cache
-
- serializer - 类 中的变量com.jfinal.plugin.redis.RedisPlugin
-
- ServerFactory - com.jfinal.server中的类
-
ServerFactory
- ServerNameRedirect301Handler - com.jfinal.ext.handler中的类
-
ServerNameRedirect301Handler redirect to new server name with 301 Moved Permanently.
- ServerNameRedirect301Handler(String, String) - 类 的构造器com.jfinal.ext.handler.ServerNameRedirect301Handler
-
Example: new ServerNameRedirectHandler("http://abc.com", "http://www.abc.com")
- servletContext - 类 中的变量com.jfinal.render.RenderFactory
-
- SessionIdKit - com.jfinal.ext.kit中的类
-
SessionIdKit.
- SessionInViewInterceptor - com.jfinal.ext.interceptor中的类
-
SessionInViewInterceptor.
- SessionInViewInterceptor() - 类 的构造器com.jfinal.ext.interceptor.SessionInViewInterceptor
-
- SessionInViewInterceptor(boolean) - 类 的构造器com.jfinal.ext.interceptor.SessionInViewInterceptor
-
- SessionKit - com.jfinal.plugin.auth中的类
-
- SessionKit() - 类 的构造器com.jfinal.plugin.auth.SessionKit
-
- set(Object, Object) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- set(Map) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- set(JMap) - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- set(Object, Object) - 类 中的方法com.jfinal.kit.Kv
-
- set(Map) - 类 中的方法com.jfinal.kit.Kv
-
- set(Kv) - 类 中的方法com.jfinal.kit.Kv
-
- set(Object, Object) - 类 中的方法com.jfinal.kit.Okv
-
- set(Map) - 类 中的方法com.jfinal.kit.Okv
-
- set(Okv) - 类 中的方法com.jfinal.kit.Okv
-
- set(Object, Object) - 类 中的方法com.jfinal.kit.Ret
-
- set(Map) - 类 中的方法com.jfinal.kit.Ret
-
- set(Ret) - 类 中的方法com.jfinal.kit.Ret
-
- set(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Set attribute to model.
- set(String, Object) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Set column to record.
- set(int, int, int) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- set(Object, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
存放 key value 对到 redis
如果 key 已经持有其他值, SET 就覆写旧值,无视类型。
- Set - com.jfinal.template.stat.ast中的类
-
Set 赋值,从内向外作用域查找变量,找到则替换变量值,否则在顶层作用域赋值
用法:
1:#set(k = v)
2:#set(k1 = v1, k2 = v2, ..., kn = vn)
3:#set(x = 1+2)
4:#set(x = 1+2, y = 3>4, ..., z = c ?
- Set(ExprList, Location) - 类 的构造器com.jfinal.template.stat.ast.Set
-
- set(Object, Object) - 类 中的方法com.jfinal.template.stat.Scope
-
设置变量
自内向外在作用域栈中查找变量,如果找到则改写变量值,否则将变量存放到顶层 Scope
- setAcquireIncrement(int) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setArg(int, Object) - 类 中的方法com.jfinal.aop.Invocation
-
- setAttr(String, Object) - 类 中的方法com.jfinal.core.Controller
-
Stores an attribute in this request
- setAttr(String, Object) - 接口 中的方法com.jfinal.plugin.auth.ISession
-
- setAttrs(Map<String, Object>) - 类 中的方法com.jfinal.core.Controller
-
Stores attributes in this request, key of the map as attribute name and value of the map as attribute value
- setAutoCommit(boolean) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
是否自动提交
- setBaseDownloadPath(String) - 类 中的方法com.jfinal.config.Constants
-
Set file base download path for Controller.renderFile(...)
- setBaseSqlTemplatePath(String) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setBaseSqlTemplatePath(String) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
- setBaseTemplatePath(String) - 类 中的方法com.jfinal.template.Engine
-
- setBaseTemplatePath(String) - 类 中的方法com.jfinal.template.EngineConfig
-
- setBaseTemplatePath(String) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置模板基础路径
- setBaseUploadPath(String) - 类 中的方法com.jfinal.config.Constants
-
Set file base upload path.
- setBaseViewPath(String) - 类 中的方法com.jfinal.config.Routes
-
Set base view path for controller in this routes
- setBreak() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setCache(ICache) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setCaptchaCache(ICaptchaCache) - 类 中的方法com.jfinal.captcha.CaptchaManager
-
- setCaptchaCache(ICaptchaCache) - 类 中的方法com.jfinal.config.Constants
-
- setCaptchaName(String) - 类 中的静态方法com.jfinal.captcha.CaptchaRender
-
设置 captchaName
- setCatalog(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
支持 catalog 概念的数据库可以设定该参数
- setCharSet(String) - 类 中的静态方法com.jfinal.kit.HttpKit
-
- setColumns(Map<String, Object>) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Set columns value with map.
- setColumns(Record) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Set columns value with Record.
- setColumns(Model<?>) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Set columns value with Model object.
- setColumnsMap(Record, Map<String, Object>) - 类 中的静态方法com.jfinal.plugin.activerecord.CPI
-
Return the columns map of the record
- setConnectionInitSql(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
添加连接时的初始化sql。
- setConnectionInitSql(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
新连接生成后,添加到连接池前执行的初始化sql
- setConnectionProperties(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setConnectionTestQuery(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
JDBC4以下版本数据库驱动需要设定此参数
- setConnectionTimeout(long) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
- setContainerFactory(IContainerFactory) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setContainerFactoryByConfigName(String) - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Set the containerFactory by configName.
- setContext(HttpServletRequest, HttpServletResponse) - 类 中的方法com.jfinal.render.Render
-
- setContext(HttpServletRequest, HttpServletResponse, String) - 类 中的方法com.jfinal.render.Render
-
- setContinue() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setConvertDepth(int) - 类 中的方法com.jfinal.json.JFinalJson
-
- setCookie(String, String, int, boolean) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie.
- setCookie(String, String, int) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie.
- setCookie(Cookie) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie to response.
- setCookie(String, String, int, String, boolean) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie to response.
- setCookie(String, String, int, String) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie to response.
- setCookie(String, String, int, String, String, boolean) - 类 中的方法com.jfinal.core.Controller
-
Set Cookie to response.
- setCreateSession(boolean) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
在使用 request.getSession(createSession) 时传入
用来指示 session 不存在时是否立即创建
- setData(Map) - 类 中的方法com.jfinal.template.stat.Scope
-
设置/替换本层作用域 data,通常用于在扩展指令中使用现成可用的 Map 来存放数据,
从而避免 Scope 内部创建 data,节省时空
注意:本方法会替换掉已经存在的 data 对象
- setDataDictionaryFileName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- setDataDictionaryFileName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置数据字典 DataDictionary 文件输出目录,默认值为 "_DataDictionary.txt"
- setDataDictionaryGenerator(DataDictionaryGenerator) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 DataDictionaryGenerator,便于扩展自定义 DataDictionaryGenerator
- setDataDictionaryOutputDir(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.DataDictionaryGenerator
-
- setDataDictionaryOutputDir(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置数据字典 DataDictionary 文件输出目录,默认与 modelOutputDir 相同
- setDatePattern(String) - 类 中的静态方法com.jfinal.ext.kit.DateKit
-
- setDatePattern(String) - 类 中的方法com.jfinal.json.JFinalJson
-
- setDatePattern(String) - 类 中的方法com.jfinal.json.Json
-
- setDatePattern(String) - 类 中的方法com.jfinal.template.Engine
-
- setDatePattern(String) - 类 中的方法com.jfinal.template.EngineConfig
-
- setDatePattern(String) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置 #date(...)
- setDatePattern(String) - 类 中的方法com.jfinal.validate.Validator
-
- setDbProFactory(IDbProFactory) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setDefaultBaseName(String) - 类 中的静态方法com.jfinal.i18n.I18n
-
- setDefaultConvertDepth(int) - 类 中的静态方法com.jfinal.json.JFinalJson
-
设置全局性默认转换深度
- setDefaultDatePattern(String) - 类 中的方法com.jfinal.json.JsonManager
-
- setDefaultGenerateNullValue(boolean) - 类 中的静态方法com.jfinal.json.Jackson
-
- setDefaultJsonFactory(IJsonFactory) - 类 中的方法com.jfinal.json.JsonManager
-
- setDefaultLocale(String) - 类 中的静态方法com.jfinal.i18n.I18n
-
- setDefaultLogFactory(ILogFactory) - 类 中的方法com.jfinal.log.LogManager
-
- setDevMode(boolean) - 类 中的方法com.jfinal.config.Constants
-
Set development mode.
- setDevMode(boolean) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setDevMode(boolean) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlKit
-
- setDevMode(boolean) - 类 中的方法com.jfinal.template.Engine
-
设置 true 为开发模式,支持模板文件热加载
设置 false 为生产模式,不支持模板文件热加载,以达到更高的性能
- setDevMode(boolean) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置开发模式,值为 true 时支持模板文件热加载
- setDialect(Dialect) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setDialect(Dialect) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置数据库方言,默认为 MysqlDialect
- setDialect(Dialect) - 类 中的方法com.jfinal.plugin.activerecord.generator.MetaBuilder
-
- setDriverClass(String) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setDriverClass(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setDriverClass(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
驱动类名
- setEncoding(String) - 类 中的方法com.jfinal.config.Constants
-
Set encoding.
- setEncoding(String) - 类 中的方法com.jfinal.template.Engine
-
- setEncoding(String) - 类 中的方法com.jfinal.template.EngineConfig
-
- setEncoding(String) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置 encoding
- setEnvForDevMode(Env) - 类 中的方法com.jfinal.template.stat.ast.Define
-
- setError401View(String) - 类 中的方法com.jfinal.config.Constants
-
Set error 401 view.
- setError403View(String) - 类 中的方法com.jfinal.config.Constants
-
Set error 403 view.
- setError404View(String) - 类 中的方法com.jfinal.config.Constants
-
Set error 404 view.
- setError500View(String) - 类 中的方法com.jfinal.config.Constants
-
Set error 500 view.
- setErrorView(int, String) - 类 中的方法com.jfinal.config.Constants
-
- setex(Object, int, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
存放 key value 对到 redis,并将 key 的生存时间设为 seconds (以秒为单位)。
- setExprList(ExprList) - 类 中的方法com.jfinal.plugin.activerecord.sql.NameSpaceDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.plugin.activerecord.sql.ParaDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.plugin.activerecord.sql.SqlDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.template.Directive
-
指令被解析时注入指令参数表达式列表,继承类可以通过覆盖此方法对参数长度和参数类型进行校验
- setExprList(ExprList) - 类 中的方法com.jfinal.template.ext.directive.DateDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.template.ext.directive.RenderDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.template.ext.directive.StringDirective
-
- setExprList(ExprList) - 类 中的方法com.jfinal.template.stat.ast.Stat
-
- setExrpList(ExprList) - 类 中的方法com.jfinal.template.ext.directive.NowDirective
-
- setFail() - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- setFail() - 类 中的方法com.jfinal.kit.Kv
-
已过时。
- setFail() - 类 中的方法com.jfinal.kit.Ret
-
- setFileRenamePolicy(FileRenamePolicy) - 类 中的静态方法com.jfinal.upload.OreillyCos
-
- setFilters(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
设置过滤器,如果要开启监控统计需要使用此方法或在构造方法中进行设置
监控统计:"stat"
防SQL注入:"wall"
组合使用: "stat,wall"
- setFreeMarkerTemplateUpdateDelay(int) - 类 中的方法com.jfinal.config.Constants
-
FreeMarker template update delay for not devMode.
- setGenerateChainSetter(boolean) - 类 中的方法com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- setGenerateChainSetter(boolean) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 BaseMode 是否生成链式 setter 方法
- setGenerateDaoInModel(boolean) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置是否在 Model 中生成 dao 对象,默认生成
- setGenerateDaoInModel(boolean) - 类 中的方法com.jfinal.plugin.activerecord.generator.ModelGenerator
-
- setGenerateDataDictionary(boolean) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置是否生成数据字典 Dictionary 文件,默认不生成
- setGenerateNullValue(boolean) - 类 中的方法com.jfinal.json.Jackson
-
- SetGlobal - com.jfinal.template.stat.ast中的类
-
SetLocal 设置全局变量,全局作用域是指本次请求的整个 template
适用于极少数的在内层作用域中希望直接操作顶层作用域的场景
- SetGlobal(ExprList, Location) - 类 的构造器com.jfinal.template.stat.ast.SetGlobal
-
- setGlobal(Object, Object) - 类 中的方法com.jfinal.template.stat.Scope
-
设置全局变量
全局作用域是指本次请求的整个 template
- setGlobalAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setHttpServletRequest(HttpServletRequest) - 类 中的方法com.jfinal.core.Controller
-
- setHttpServletResponse(HttpServletResponse) - 类 中的方法com.jfinal.core.Controller
-
- setI18nDefaultBaseName(String) - 类 中的方法com.jfinal.config.Constants
-
Set default base name to load Resource bundle.
- setI18nDefaultLocale(String) - 类 中的方法com.jfinal.config.Constants
-
Set default locale to load Resource bundle.
- setIdleTimeout(long) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
空闲超时时间(单位:毫秒),默认600000 (10 分钟)
- setInitialPoolSize(int) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setInitialSize(int) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setJdbcUrl(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
jdbc连接url
- setJsonDatePattern(String) - 类 中的方法com.jfinal.config.Constants
-
设置json转换时日期格式,常用格式有:"yyyy-MM-dd HH:mm:ss"、 "yyyy-MM-dd"
- setJsonFactory(IJsonFactory) - 类 中的方法com.jfinal.config.Constants
-
设置 Json 转换工厂实现类,目前支持:JFinalJsonFactory(默认)、JacksonFactory、FastJsonFactory
分别支持 JFinalJson、Jackson、FastJson
- setJumpNone() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setKeyNamingPolicy(IKeyNamingPolicy) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setLeakDetectionThreshold(long) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
内存泄露侦测周期,最小为2000(2秒)
- SetLocal - com.jfinal.template.stat.ast中的类
-
SetLocal 设置局部变量
通常用于 #define #include 指令内部需要与外层作用域区分,以便于定义重用型模块的场景
也常用于 #for 循环内部的临时变量
- SetLocal(ExprList, Location) - 类 的构造器com.jfinal.template.stat.ast.SetLocal
-
- setLocal(Object, Object) - 类 中的方法com.jfinal.template.stat.Scope
-
设置局部变量
- setLocalAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setLocation(Location) - 类 中的方法com.jfinal.template.stat.ast.Stat
-
- setLog(boolean) - 类 中的静态方法com.jfinal.plugin.activerecord.SqlReporter
-
- setLogAbandoned(boolean) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setLogFactory(ILogFactory) - 类 中的方法com.jfinal.config.Constants
-
- setMainCache(String) - 类 中的静态方法com.jfinal.plugin.redis.Redis
-
提供一个设置设置主缓存 mainCache 的机会,否则第一个被初始化的 Cache 将成为 mainCache
- setMainEngine(Engine) - 类 中的静态方法com.jfinal.template.Engine
-
Set main engine
- setMappingKitClassName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 MappingKit 类名,默认值为: "_MappingKit"
- setMappingKitClassName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- setMappingKitGenerator(MappingKitGenerator) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 MappingKitGenerator,便于扩展自定义 MappingKitGenerator
- setMappingKitOutputDir(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 MappingKit 文件输出目录,默认与 modelOutputDir 相同,
在设置此变量的同时需要设置 mappingKitPackageName
- setMappingKitOutputDir(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- setMappingKitPackageName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 MappingKit 文件包名,默认与 modelPackageName 相同,
在设置此变的同时需要设置 mappingKitOutputDir
- setMappingKitPackageName(String) - 类 中的方法com.jfinal.plugin.activerecord.generator.MappingKitGenerator
-
- setMaxActive(int) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setMaxIdleTime(int) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setMaximumPoolSize(int) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
连接池最大连接数 默认10
- setMaxLifetime(long) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
最大生命周期/最大存活时间(单位:毫秒) ,默认1800000 (30 分钟)
- setMaxOutputLengthOfParaValue(int) - 类 中的静态方法com.jfinal.core.ActionReporter
-
- setMaxPoolPreparedStatementPerConnectionSize(int) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setMaxPoolSize(int) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setMaxPostSize(int) - 类 中的方法com.jfinal.config.Constants
-
Set max size of http post.
- setMaxWait(long) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setMetaBuilder(MetaBuilder) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置 MetaBuilder,便于扩展自定义 MetaBuilder
- setMinEvictableIdleTimeMillis(long) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setMinEvictableIdleTimeMillis(int) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setMinIdle(int) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setMinPoolSize(int) - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- setName(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
连接池名称
- setNullSafe(boolean) - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setNumTestsPerEvictionRun(int) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setOk() - 类 中的方法com.jfinal.kit.JMap
-
已过时。
- setOk() - 类 中的方法com.jfinal.kit.Kv
-
已过时。
- setOk() - 类 中的方法com.jfinal.kit.Ret
-
- setOutputDirectiveFactory(IOutputDirectiveFactory) - 类 中的方法com.jfinal.template.Engine
-
Set output directive factory
- setOutputDirectiveFactory(IOutputDirectiveFactory) - 类 中的方法com.jfinal.template.EngineConfig
-
Set output directive factory
- setPassword(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
数据库密码
- setPoolName(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
用户指定的连接池名
- setPrimaryKey(String, String) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
当使用 create table 语句创建用于开发使用的数据表副本时,假如create table 中使用的
复合主键次序不同,那么MappingKitGeneretor 反射生成的复合主键次序也会不同。
- setProperties(Properties) - 类 中的静态方法com.jfinal.render.FreeMarkerRender
-
- setProperties(Properties) - 类 中的静态方法com.jfinal.render.VelocityRender
-
- setProperty(String, String) - 类 中的静态方法com.jfinal.render.FreeMarkerRender
-
Set freemarker's property.
- setPublicKey(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setReadOnly(boolean) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
是否是只读连接 ,是否有效取决于相应的数据库是否支持
- setReloadModifiedSharedFunctionInDevMode(boolean) - 类 中的方法com.jfinal.template.Engine
-
Engine 独立设置为 devMode 可以方便模板文件在修改后立即生效,
但如果在 devMode 之下并不希望对 addSharedFunction(...),
添加的模板进行是否被修改的检测可以通过此方法设置 false 参进去
注意:Engine 在生产环境下(devMode 为 false),该参数无效
- setReloadModifiedSharedFunctionInDevMode(boolean) - 类 中的方法com.jfinal.template.EngineConfig
-
- setRemoveAbandoned(boolean) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setRemoveAbandonedTimeoutMillis(long) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setRemovedTableNamePrefixes(String...) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
设置需要被移除的表名前缀,仅用于生成 modelName 与 baseModelName
例如表名 "osc_account",移除前缀 "osc_" 后变为 "account"
- setRemovedTableNamePrefixes(String...) - 类 中的方法com.jfinal.plugin.activerecord.generator.MetaBuilder
-
设置需要被移除的表名前缀,仅用于生成 modelName 与 baseModelName
例如表名 "osc_account",移除前缀 "osc_" 后变为 "account"
- setRenderFactory(IRenderFactory) - 类 中的方法com.jfinal.config.Constants
-
Set the renderFactory
- setRenderFactory(IRenderFactory) - 类 中的方法com.jfinal.render.RenderManager
-
- setReportAfterInvocation(boolean) - 类 中的方法com.jfinal.config.Constants
-
设置 devMode 之下的 action report 是否在 invocation 之后,默认值为 true
- setReportAfterInvocation(boolean) - 类 中的静态方法com.jfinal.core.ActionReporter
-
- setResolveBeanAsModel(boolean) - 类 中的静态方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
设置为 true 时,使用生成器生成的实现了 IBean 接口的 Class 将被当成 Model 来处理,
getter 不被 jsp/jstl 用来输出数据,仍然使用 model.get(String attr) 来输出数据。
- setReturn() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setReturnValue(Object) - 类 中的方法com.jfinal.aop.Invocation
-
Set the return value of the target method
- setRootClassPath(String) - 类 中的静态方法com.jfinal.kit.PathKit
-
- setRootData(Map) - 类 中的方法com.jfinal.template.stat.Scope
-
设置/替换顶层作用域 data,可以在扩展指令之中通过此方法切换掉顶层作用域
实现作用域完全隔离的功能
注意:本方法会替换掉顶层已经存在的 data 对象
- setSerializer(ISerializer) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setSessionAttr(String, Object) - 类 中的方法com.jfinal.core.Controller
-
Store Object to session.
- setSessionInView(boolean) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置为 true 时支持在模板中使用 #(session.value) 形式访问 session 中的数据
- setSharedFunction(String) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置 shared function 文件,多个文件用逗号分隔
主要用于 Spring MVC 的 xml 配置方式
Spring Boot 的代码配置方式可使用 addSharedFunction(...)
- setSharedVariable(String, Object) - 类 中的静态方法com.jfinal.render.FreeMarkerRender
-
注入对象到 FreeMarker 页面供调用,通常注入一些辅助内容输出的工具类,相当于是 freemarker 的一种扩展方式
- setShortCircuit(boolean) - 类 中的方法com.jfinal.validate.Validator
-
设置短路验证.
- setShowSql(boolean) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- setSourceFactory(ISourceFactory) - 类 中的方法com.jfinal.template.Engine
-
设置 ISourceFactory 用于为 engine 切换不同的 ISource 实现类
ISource 用于从不同的来源加载模板内容
配置为 ClassPathSourceFactory 时特别注意:
由于 JFinal 会在 configEngine(Engine me) 方法调用 “之前”,会默认调用一次如下方法:
me.setBaseTemplatePath(PathKit.getWebRootPath())
而 ClassPathSourceFactory 在以上默认值下不能工作,所以需要通过如下方式清掉该值:
me.setBaseTemplatePath(null)
或者配置具体要用的 baseTemplatePath 值,例如:
me.setBaseTemplatePath("view");
- setSourceFactory(ISourceFactory) - 类 中的方法com.jfinal.template.ext.spring.JFinalViewResolver
-
设置 ISourceFactory 用于为 engine 切换不同的 ISource 实现类
配置为 ClassPathSourceFactory 时特别注意:
由于在 initServletContext() 通过如下方法中已设置了 baseTemplatePath 值:
setBaseTemplatePath(servletContext.getRealPath("/"))
而 ClassPathSourceFactory 在 initServletContext() 方法中设置的
值之下不能工作,所以在本方法中通过如下方法清掉了该值:
setBaseTemplatePath(null)
这种处理方式适用于绝大部分场景,如果在使用 ClassPathSourceFactory 的同时
仍然需要设置 baseTemplatePath,则在调用该方法 “之后” 通过如下代码再次配置:
setBaseTemplatePath(value)
- setSql(String) - 类 中的方法com.jfinal.plugin.activerecord.SqlPara
-
- setStat(Stat) - 类 中的方法com.jfinal.template.Directive
-
指令被解析时注入指令 body 内容,仅对于具有 #end 结束符的指令有效
- setStat(Stat) - 类 中的方法com.jfinal.template.stat.ast.ElseIf
-
take over setStat(...) method of super class
- setStat(Stat) - 类 中的方法com.jfinal.template.stat.ast.If
-
take over setStat(...) method of super class
- setStat(Stat) - 类 中的方法com.jfinal.template.stat.ast.Stat
-
- setSupportActiveRecord(boolean) - 类 中的静态方法com.jfinal.render.JspRender
-
已过时。
- setTablePrimaryKey(Table, String) - 类 中的静态方法com.jfinal.plugin.activerecord.CPI
-
- setTemplateLoadingPath(String) - 类 中的静态方法com.jfinal.render.FreeMarkerRender
-
Create public void afterJFinalStart() in YourJFinalConfig and
use this method in MyJFinalConfig.afterJFinalStart() to set
ServletContext for template loading
- setterChainTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- setterTemplate - 类 中的变量com.jfinal.plugin.activerecord.generator.BaseModelGenerator
-
- setTestOnBorrow(boolean) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setTestOnReturn(boolean) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setTestWhileIdle(boolean) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setTestWhileIdle(boolean) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setThreadLocalConnection(Connection) - 类 中的方法com.jfinal.plugin.activerecord.Config
-
Support transaction with Transaction interceptor
- setThreadLocalJedis(Jedis) - 类 中的方法com.jfinal.plugin.redis.Cache
-
- setTimeBetweenConnectErrorMillis(long) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setTimeBetweenEvictionRunsMillis(long) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- setTimeBetweenEvictionRunsMillis(int) - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- setTimeStampPattern(String) - 类 中的静态方法com.jfinal.ext.kit.DateKit
-
- setTimestampPattern(String) - 类 中的方法com.jfinal.json.JFinalJson
-
- setTokenCache(ITokenCache) - 类 中的方法com.jfinal.config.Constants
-
Set ITokenCache implementation otherwise JFinal will use the HttpSesion to hold the token.
- setToOldWorkMode() - 类 中的静态方法com.jfinal.kit.Ret
-
设置为旧工作模式,为了兼容 jfinal 3.2 之前的版本
- setTransactionIsolation(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
事物等级
- setTransactionLevel(int) - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
Set transaction level define in java.sql.Connection
- setTypeMapping(TypeMapping) - 类 中的方法com.jfinal.plugin.activerecord.generator.Generator
-
- setTypeMapping(TypeMapping) - 类 中的方法com.jfinal.plugin.activerecord.generator.MetaBuilder
-
- setUrlPara(String) - 类 中的方法com.jfinal.core.Controller
-
- setUrlParaSeparator(String) - 类 中的方法com.jfinal.config.Constants
-
Set urlPara separator.
- setUsername(String) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
数据库类型
- setValidationQuery(String) - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
Oracle - "select 1 from dual"
DB2 - "select 1 from sysibm.sysdummy1"
mysql - "select 1"
- setValidationTimeout(long) - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
连接是否存活测试周期,默认5000(5秒)
- setValue(ELContext, Object, Object, Object) - 类 中的方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- setValue(Object) - 类 中的方法com.jfinal.template.stat.ast.ForEntry
-
- setView(String) - 类 中的方法com.jfinal.render.Render
-
- setViewExtension(String) - 类 中的方法com.jfinal.config.Constants
-
Set view extension for the IRenderFactory.getDefaultRender(...)
- setViewType(ViewType) - 类 中的方法com.jfinal.config.Constants
-
Set view type.
- setWebRootPath(String) - 类 中的静态方法com.jfinal.kit.PathKit
-
- setWisdomAssignment() - 类 中的方法com.jfinal.template.stat.Ctrl
-
- setWorking(boolean) - 类 中的静态方法com.jfinal.plugin.activerecord.ModelRecordElResolver
-
- setWriter(Writer) - 类 中的静态方法com.jfinal.core.ActionReporter
-
- sha1(String) - 类 中的静态方法com.jfinal.kit.HashKit
-
- sha256(String) - 类 中的静态方法com.jfinal.kit.HashKit
-
- sha384(String) - 类 中的静态方法com.jfinal.kit.HashKit
-
- sha512(String) - 类 中的静态方法com.jfinal.kit.HashKit
-
- SharedMethod - com.jfinal.template.expr.ast中的类
-
SharedMethod
用法:
engine.addSharedMethod(object);
engine.addSharedStaticMethod(Xxx.class);
#(method(para))
- SharedMethod(SharedMethodKit, String, ExprList, Location) - 类 的构造器com.jfinal.template.expr.ast.SharedMethod
-
- SharedMethodKit - com.jfinal.template.expr.ast中的类
-
SharedMethodKit
- SharedMethodKit() - 类 的构造器com.jfinal.template.expr.ast.SharedMethodKit
-
- shortCircuit - 类 中的变量com.jfinal.validate.Validator
-
- ShortExt - com.jfinal.template.ext.extensionmethod中的类
-
针对 java.lang.Short 的扩展方法
用法:
#if(value.toInt() == 123)
- ShortExt() - 类 的构造器com.jfinal.template.ext.extensionmethod.ShortExt
-
- sinter(Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回多个集合的交集,多个集合由 keys 指定
- sismember(Object, Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
判断 member 元素是否集合 key 的成员。
- size() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoMap
-
- size() - 类 中的方法com.jfinal.plugin.activerecord.DaoContainerFactory.DaoSet
-
- size() - 类 中的方法com.jfinal.template.expr.ast.RangeArray.RangeList
-
- slowEquals(byte[], byte[]) - 类 中的静态方法com.jfinal.kit.HashKit
-
- slowEquals(String, String) - 类 中的静态方法com.jfinal.kit.StrKit
-
- smembers(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回集合 key 中的所有成员。
- sourceList - 类 中的变量com.jfinal.template.Env
-
- spop(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
移除并返回集合中的一个随机元素。
- SqlDateConverter() - 类 的构造器com.jfinal.core.converter.Converters.SqlDateConverter
-
- SqlDirective - com.jfinal.plugin.activerecord.sql中的类
-
SqlDirective
- SqlDirective() - 类 的构造器com.jfinal.plugin.activerecord.sql.SqlDirective
-
- Sqlite3Dialect - com.jfinal.plugin.activerecord.dialect中的类
-
SqliteDialect.
- Sqlite3Dialect() - 类 的构造器com.jfinal.plugin.activerecord.dialect.Sqlite3Dialect
-
- SqlKit - com.jfinal.plugin.activerecord.sql中的类
-
SqlKit
- SqlKit(String, boolean) - 类 的构造器com.jfinal.plugin.activerecord.sql.SqlKit
-
- SqlKit(String) - 类 的构造器com.jfinal.plugin.activerecord.sql.SqlKit
-
- SqlPara - com.jfinal.plugin.activerecord中的类
-
SqlPara
封装查询使用的 sql 与参数,主要用于 getSqlPara(...)
- SqlPara() - 类 的构造器com.jfinal.plugin.activerecord.SqlPara
-
- SqlReporter - com.jfinal.plugin.activerecord中的类
-
SqlReporter.
- Sqls - com.jfinal.plugin.activerecord中的类
-
已过时。
- SqlServerDialect - com.jfinal.plugin.activerecord.dialect中的类
-
SqlServerDialect 为OSC 网友战五渣贡献代码:http://www.oschina.net/question/2333909_234198
- SqlServerDialect() - 类 的构造器com.jfinal.plugin.activerecord.dialect.SqlServerDialect
-
- srandmember(Object) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回集合中的一个随机元素。
- srandmember(Object, int) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回集合中的 count 个随机元素。
- srem(Object, Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
移除集合 key 中的一个或多个 member 元素,不存在的 member 元素会被忽略。
- start() - 类 中的静态方法com.jfinal.core.JFinal
-
- start(String, int, String, int) - 类 中的静态方法com.jfinal.core.JFinal
-
用于在 Eclipse 中,通过创建 main 方法的方式启动项目,支持执加载
- start(String, int, String) - 类 中的静态方法com.jfinal.core.JFinal
-
用于在 IDEA 中,通过创建 main 方法的方式启动项目,不支持热加载
本方法存在的意义在于此方法启动的速度比 maven 下的 jetty 插件要快得多
注意:不支持热加载。
- start() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- start() - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- start() - 类 中的方法com.jfinal.plugin.cron4j.Cron4jPlugin
-
- start() - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- start() - 类 中的方法com.jfinal.plugin.ehcache.EhCachePlugin
-
- start() - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
- start() - 接口 中的方法com.jfinal.plugin.IPlugin
-
- start() - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- start() - 接口 中的方法com.jfinal.server.IServer
-
- start() - 类 中的方法com.jfinal.server.JettyServerForIDEA
-
- start() - 类 中的方法com.jfinal.server.Scanner
-
- stat - 类 中的变量com.jfinal.template.Directive
-
具有 #end 结束符的指令内部嵌套的所有内容,调用 stat.exec(env, scope, writer)
即可执行指令内部嵌入所有指令与表达式,如果指令没有 #end 结束符,该属性无效
- Stat - com.jfinal.template.stat.ast中的类
-
Stat
- Stat() - 类 的构造器com.jfinal.template.stat.ast.Stat
-
- StaticField - com.jfinal.template.expr.ast中的类
-
StaticField : ID_list '::' ID
动态获取静态变量值,变量值改变时仍可正确获取
用法:com.jfinal.core.Const::JFINAL_VERSION
- StaticField(String, String, Location) - 类 的构造器com.jfinal.template.expr.ast.StaticField
-
- StaticHtmlRender - com.jfinal.ext.render中的类
-
生成静态 html
- StaticHtmlRender() - 类 的构造器com.jfinal.ext.render.StaticHtmlRender
-
- StaticMethod - com.jfinal.template.expr.ast中的类
-
StaticMethod : ID_list : '::' ID '(' exprList?
- StaticMethod(String, String, Location) - 类 的构造器com.jfinal.template.expr.ast.StaticMethod
-
- StaticMethod(String, String, ExprList, Location) - 类 的构造器com.jfinal.template.expr.ast.StaticMethod
-
- StatList - com.jfinal.template.stat.ast中的类
-
StatList
- StatList(List<Stat>) - 类 的构造器com.jfinal.template.stat.ast.StatList
-
- stop() - 类 中的静态方法com.jfinal.core.JFinal
-
- stop() - 类 中的方法com.jfinal.plugin.activerecord.ActiveRecordPlugin
-
- stop() - 类 中的方法com.jfinal.plugin.c3p0.C3p0Plugin
-
- stop() - 类 中的方法com.jfinal.plugin.cron4j.Cron4jPlugin
-
- stop() - 接口 中的方法com.jfinal.plugin.cron4j.ITask
-
- stop() - 类 中的方法com.jfinal.plugin.druid.DruidPlugin
-
- stop() - 类 中的方法com.jfinal.plugin.ehcache.EhCachePlugin
-
- stop() - 类 中的方法com.jfinal.plugin.hikaricp.HikariCpPlugin
-
- stop() - 接口 中的方法com.jfinal.plugin.IPlugin
-
- stop() - 类 中的方法com.jfinal.plugin.redis.RedisPlugin
-
- stop() - 接口 中的方法com.jfinal.server.IServer
-
- stop() - 类 中的方法com.jfinal.server.JettyServerForIDEA
-
- stop() - 类 中的方法com.jfinal.server.Scanner
-
- StringDirective - com.jfinal.template.ext.directive中的类
-
#string 指令方便定义大量的多行文本变量,这个是 java 语言中极为需要的功能
定义:
#string(name)
在此是大量的字符串
#end
使用:
#(name)
- StringDirective() - 类 的构造器com.jfinal.template.ext.directive.StringDirective
-
- StringExt - com.jfinal.template.ext.extensionmethod中的类
-
针对 java.lang.String 的扩展方法
重要用途:
Controller.keepPara() 方法会将所有类型的数据当成 String 并传回到
到模板中,所以模板中的如下代码将无法工作:
#if(age > 18)
....
- StringExt() - 类 的构造器com.jfinal.template.ext.extensionmethod.StringExt
-
- StringSource - com.jfinal.template.source中的类
-
StringSource 用于从 String 变量中加载模板内容
- StringSource(String, boolean) - 类 的构造器com.jfinal.template.source.StringSource
-
构造 StringSource
- StringSource(StringBuilder, boolean) - 类 的构造器com.jfinal.template.source.StringSource
-
- StrKit - com.jfinal.kit中的类
-
StrKit.
- StrKit() - 类 的构造器com.jfinal.kit.StrKit
-
- sunion(Object...) - 类 中的方法com.jfinal.plugin.redis.Cache
-
返回多个集合的并集,多个集合由 keys 指定
不存在的 key 被视为空集。
- switchView(String, Controller) - 类 中的方法com.jfinal.i18n.I18nInterceptor
-
在有些 web 系统中,页面需要国际化的文本过多,并且 css 以及 html 也因为际化而大不相同,
对于这种应用场景先直接制做多套同名称的国际化视图,并将这些视图以 locale 为子目录分类存放,
最后使用本拦截器根据 locale 动态切换视图,而不必对视图中的文本逐个进行国际化切换,省时省力。
- Sym - com.jfinal.template.expr中的枚举
-
Sym
- synchronizeLog() - 类 中的静态方法com.jfinal.kit.LogKit
-
当通过 Constants.setLogFactory(...)