Class ControllerUtils

java.lang.Object
com.dnlkk.util.ControllerUtils

public class ControllerUtils extends Object
  • 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

      public static Object parameterCast(Parameter parameter, Object param)