Class ObjectUtils
java.lang.Object
mg.emberframework.utils.reflection.ObjectUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getObjectInstance
(Class<?> classType, String annotationValue, jakarta.servlet.http.HttpServletRequest request) static Object
getParameterInstance
(jakarta.servlet.http.HttpServletRequest request, Parameter parameter, Class<?> clazz, Object object) static String
getParamStringValue
(Parameter parameter, jakarta.servlet.http.HttpServletRequest request)
-
Method Details
-
getParamStringValue
-
getParameterInstance
public static Object getParameterInstance(jakarta.servlet.http.HttpServletRequest request, Parameter parameter, Class<?> clazz, Object object) throws InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, IOException, jakarta.servlet.ServletException, IllegalArgumentException, SecurityException - Throws:
InstantiationException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
IOException
jakarta.servlet.ServletException
IllegalArgumentException
SecurityException
-
getObjectInstance
public static Object getObjectInstance(Class<?> classType, String annotationValue, jakarta.servlet.http.HttpServletRequest request) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
-