net.smartam.leeloo.rsfilter
Class OAuthUtils
java.lang.Object
net.smartam.leeloo.rsfilter.OAuthUtils
public class OAuthUtils
- extends Object
- Author:
- Maciej Machulak, Lukasz Moren
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthUtils
public OAuthUtils()
initiateServletContext
public static <T> T initiateServletContext(javax.servlet.ServletContext context,
String key,
Class<T> expectedClass)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
loadObject
public static Object loadObject(javax.servlet.ServletContext context,
String classParamName,
Class expectedClass)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
createObjectFromClassName
public static Object createObjectFromClassName(Class clazz)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
isEmpty
public static boolean isEmpty(String value)
Copyright © 2010. All Rights Reserved.