public abstract class RestUtils extends Object
| Constructor and Description | 
|---|
RestUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
convertNameToPropertyName(String name)
Convert a column name with underscores to the corresponding property name using "camel case". 
 | 
static void | 
setBeanProperties(Object bean,
                 javax.ws.rs.core.MultivaluedMap<String,String> properties)
Use Spring's  
PropertyAccessorFactory to set values on the specified bean. | 
public static void setBeanProperties(Object bean, javax.ws.rs.core.MultivaluedMap<String,String> properties)
Use Spring's PropertyAccessorFactory to set values on the specified bean.
 This call registers several PropertyEditor classes to properly convert
 values.
bean - properties - public static String convertNameToPropertyName(String name)
name - the column name to be convertedCopyright © 2021. All rights reserved.