public class Injector extends Object
Constructor and Description |
---|
Injector() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
injectBean(Class<T> beanClass,
javax.servlet.http.HttpServletRequest request,
boolean skipConvertError) |
static <T> T |
injectBean(Class<T> beanClass,
String beanName,
javax.servlet.http.HttpServletRequest request,
boolean skipConvertError) |
static <T> T |
injectModel(Class<T> modelClass,
javax.servlet.http.HttpServletRequest request,
boolean skipConvertError) |
static <T> T |
injectModel(Class<T> modelClass,
String modelName,
javax.servlet.http.HttpServletRequest request,
boolean skipConvertError) |
public static <T> T injectModel(Class<T> modelClass, javax.servlet.http.HttpServletRequest request, boolean skipConvertError)
public static <T> T injectBean(Class<T> beanClass, javax.servlet.http.HttpServletRequest request, boolean skipConvertError)
public static final <T> T injectBean(Class<T> beanClass, String beanName, javax.servlet.http.HttpServletRequest request, boolean skipConvertError)
Copyright © 2018. All rights reserved.