Package com.dnlkk.util
Class ControllerUtils
java.lang.Object
com.dnlkk.util.ControllerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParametersFromRequest(Method controllerEndpoint, String methodPath, String requestMapping, Map<String, String[]> parametersMap, String body) static booleanmethodEquals(Method controllerEndpoint, Class<? extends Annotation> methodClass, String requestType) static ObjectparameterCast(Parameter parameter, Object param)
-
Constructor Details
-
ControllerUtils
public ControllerUtils()
-
-
Method Details
-
methodEquals
public static boolean methodEquals(Method controllerEndpoint, Class<? extends Annotation> methodClass, String requestType) -
getParametersFromRequest
public static List<Object> getParametersFromRequest(Method controllerEndpoint, String methodPath, String requestMapping, Map<String, String[]> parametersMap, String body) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
parameterCast
-