public class PathArgInjector extends Object implements ParamInjector
构造器和说明 |
---|
PathArgInjector(Class<?> type) |
protected Class<?> type
public PathArgInjector(Class<?> type)
public Object get(javax.servlet.ServletContext sc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Object refer)
get
在接口中 ParamInjector
req
- 请求对象resp
- 响应对象refer
- 这个参考字段,如果有值,表示是路径参数的值,那么它比 request 里的参数优先sc
- TODOCopyright © 2017. All rights reserved.