public class BeanUtils extends Object
| Constructor and Description |
|---|
BeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Map<String,Object> |
asMap(T grantRequest,
Map<String,String> propertyMap)
The method transforms a oauth payload object properties (grant or token) to a
properties map by introspection.
|
public static <T> Map<String,Object> asMap(T grantRequest, Map<String,String> propertyMap) throws IntrospectionException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
grantRequest - propertyMap - IntrospectionExceptionIllegalAccessExceptionIllegalArgumentExceptionInvocationTargetExceptionCopyright © 2017. All rights reserved.