Package ar.com.jmfsg.documentation.model

Examples of ar.com.jmfsg.documentation.model.RequestMethods


   *
   *
   * @param method
   */
  private static void processRequestMethodRetrocompatibility(Method method) {
    RequestMethods normalizedMethod = new RequestMethods();
    for(String key : method.method.keySet()) {
      if(StringUtils.isEmpty( method.method.get(key))) {
        normalizedMethod.put(key.toLowerCase(), method.requestMapping);
      } else {
        normalizedMethod.put(key.toLowerCase(), method.method.get(key));
      }
    }
    method.method = normalizedMethod;
  }
View Full Code Here


   *
   *
   * @param method
   */
  private static void processRequestMethodRetrocompatibility(Method method) {
    RequestMethods normalizedMethod = new RequestMethods();
    if(method.method != null) {
      for(String key : method.method.keySet()) {
        if(StringUtils.isEmpty( method.method.get(key))) {
          normalizedMethod.put(key.toLowerCase(), method.requestMapping);
        } else {
          normalizedMethod.put(key.toLowerCase(), method.method.get(key));
        }
      }
    } else {
      normalizedMethod.put("get", method.requestMapping);
    }
    method.method = normalizedMethod;
  }
View Full Code Here

TOP

Related Classes of ar.com.jmfsg.documentation.model.RequestMethods

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.