Package org.eclipse.jetty.annotations
Class Util
- java.lang.Object
-
- org.eclipse.jetty.annotations.Util
-
public class Util extends Object
Deprecated.and replaced by extra methods inResourceAnnotationHandler,PreDestroyAnnotationHandler,PostConstructAnnotationHandlerandServletPathSpecAnnotation Processing Utilities
-
-
Constructor Summary
Constructors Constructor Description Util()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringasCanonicalName(org.objectweb.asm.Type t)Deprecated.static ClassconvertType(org.objectweb.asm.Type t)Deprecated.static Class[]convertTypes(String params)Deprecated.static Class[]convertTypes(org.objectweb.asm.Type[] types)Deprecated.static booleanisEnvEntryType(Class type)Deprecated.static booleanisEnvEntryType(String desc)Deprecated.static booleanisServletType(Class c)Deprecated.Check if the presented method belongs to a class that is one of the classes with which a servlet container should be concerned.static StringnormalizePattern(String p)Deprecated.static booleansupportsPostConstructPreDestroy(Class c)Deprecated.static booleansupportsResourceInjection(Class c)Deprecated.
-
-
-
Method Detail
-
isServletType
public static boolean isServletType(Class c)
Deprecated.Check if the presented method belongs to a class that is one of the classes with which a servlet container should be concerned.- Parameters:
c- the class- Returns:
- true if class is a type of one of the following:
(
Servlet,Filter,ServletContextListener,ServletContextAttributeListener,ServletRequestListener,ServletRequestAttributeListener,HttpSessionListener,HttpSessionAttributeListener)
-
supportsResourceInjection
public static boolean supportsResourceInjection(Class c)
Deprecated.
-
supportsPostConstructPreDestroy
public static boolean supportsPostConstructPreDestroy(Class c)
Deprecated.
-
isEnvEntryType
public static boolean isEnvEntryType(Class type)
Deprecated.
-
isEnvEntryType
public static boolean isEnvEntryType(String desc)
Deprecated.
-
convertTypes
public static Class[] convertTypes(String params) throws Exception
Deprecated.- Throws:
Exception
-
convertTypes
public static Class[] convertTypes(org.objectweb.asm.Type[] types) throws Exception
Deprecated.- Throws:
Exception
-
convertType
public static Class convertType(org.objectweb.asm.Type t) throws Exception
Deprecated.- Throws:
Exception
-
asCanonicalName
public static String asCanonicalName(org.objectweb.asm.Type t)
Deprecated.
-
-