public class WhaleAdaptor extends PairAdaptor
限定符和类型 | 字段和说明 |
---|---|
protected static Log |
log |
protected UploadingContext |
uploadCtx |
argTypes, defaultValues, injs, method, ParamDefailtTag
构造器和说明 |
---|
WhaleAdaptor() |
WhaleAdaptor(FilePool pool) |
WhaleAdaptor(String path) |
WhaleAdaptor(UploadingContext up) |
限定符和类型 | 方法和说明 |
---|---|
protected ParamInjector |
evalInjectorBy(Type type,
Param param)
子类实现这个方法根据自己具体的逻辑来生产一个参数注入器
|
protected Object |
getReferObject(javax.servlet.ServletContext sc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String[] pathArgs) |
getNameInjector
adapt, evalInjector, init, paramNameInject
protected static Log log
protected UploadingContext uploadCtx
public WhaleAdaptor()
public WhaleAdaptor(String path)
public WhaleAdaptor(FilePool pool)
public WhaleAdaptor(UploadingContext up)
protected ParamInjector evalInjectorBy(Type type, Param param)
AbstractAdaptor
evalInjectorBy
在类中 PairAdaptor
type
- 参数类型param
- 参数的注解protected Object getReferObject(javax.servlet.ServletContext sc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String[] pathArgs)
getReferObject
在类中 AbstractAdaptor
Copyright © 2017. All rights reserved.