org.eclipse.jetty.annotations
类 Util
java.lang.Object
org.eclipse.jetty.annotations.Util
public class Util
- extends Object
Util
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
isServletType
public static boolean isServletType(Class c)
- Check if the presented method belongs to a class that is one
of the classes with which a servlet container should be concerned.
- 参数:
c -
- 返回:
- true if class is a type of one of the following:
(
Servlet,
Filter,
ServletContextListener,
ServletContextAttributeListener,
ServletRequestListener,
ServletRequestAttributeListener,
HttpSessionListener,
HttpSessionAttributeListener)
isEnvEntryType
public static boolean isEnvEntryType(Class type)
isEnvEntryType
public static boolean isEnvEntryType(String desc)
normalizePattern
public static String normalizePattern(String p)
convertTypes
public static Class[] convertTypes(String params)
throws Exception
- 抛出:
Exception
convertTypes
public static Class[] convertTypes(Type[] types)
throws Exception
- 抛出:
Exception
convertType
public static Class convertType(Type t)
throws Exception
- 抛出:
Exception
asCanonicalName
public static String asCanonicalName(Type t)
Copyright © 2013. All Rights Reserved.