public class ArrayInjector extends NameInjector
defaultValue, dfmt, klass, name, paramTypes, type
构造器和说明 |
---|
ArrayInjector(String name,
String datefmt,
Type type,
Type[] paramTypes,
String defaultValue,
boolean auto_split) |
限定符和类型 | 方法和说明 |
---|---|
protected Object |
convertMe(Object value) |
Object |
get(javax.servlet.ServletContext sc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Object refer) |
fromReqParam
public Object get(javax.servlet.ServletContext sc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Object refer)
get
在接口中 ParamInjector
get
在类中 NameInjector
sc
- TODOreq
- 请求对象resp
- 响应对象refer
- 这个参考字段,如果有值,表示是路径参数的值,那么它比 request 里的参数优先Copyright © 2017. All rights reserved.