org.apache.oltu.oauth2.rsfilter
Class OAuthUtils
java.lang.Object
org.apache.oltu.oauth2.rsfilter.OAuthUtils
public class OAuthUtils
- extends Object
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–2014 The Apache Software Foundation. All rights reserved.