net.smartam.leeloo.rsfilter
Class OAuthUtils

java.lang.Object
  extended by net.smartam.leeloo.rsfilter.OAuthUtils

public class OAuthUtils
extends Object

Author:
Maciej Machulak, Lukasz Moren

Constructor Summary
OAuthUtils()
           
 
Method Summary
static Object createObjectFromClassName(Class clazz)
           
static
<T> T
initiateServletContext(javax.servlet.ServletContext context, String key, Class<T> expectedClass)
           
static boolean isEmpty(String value)
           
static Object loadObject(javax.servlet.ServletContext context, String classParamName, Class expectedClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthUtils

public OAuthUtils()
Method Detail

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.