Package org.atmosphere.inject
Class PathParamIntrospector
- All Implemented Interfaces:
Injectable,InjectIntrospector<String>
@RequestScoped(PathParam.class)
public class PathParamIntrospector
extends InjectIntrospectorAdapter<String>
PathParam injection support.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.atmosphere.inject.InjectIntrospector
InjectIntrospector.WHEN -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the TvoidintrospectField(Class<String> clazz, Field f) Introspect the fieldbooleanReturn true if this class support injection of this type.Methods inherited from class org.atmosphere.inject.InjectIntrospectorAdapter
injectable, introspectMethod
-
Field Details
-
pathLocal
-
-
Constructor Details
-
PathParamIntrospector
public PathParamIntrospector()
-
-
Method Details
-
supportedType
Description copied from interface:InjectableReturn true if this class support injection of this type.- Specified by:
supportedTypein interfaceInjectable- Overrides:
supportedTypein classInjectIntrospectorAdapter<String>- Parameters:
t- the field- Returns:
- true if this class support injection
-
injectable
Description copied from interface:InjectIntrospectorReturns an instance of the T- Specified by:
injectablein interfaceInjectIntrospector<String>- Overrides:
injectablein classInjectIntrospectorAdapter<String>- Parameters:
r- theAtmosphereResource- Returns:
- Return an instance of the T
-
introspectField
Description copied from interface:InjectIntrospectorIntrospect the field- Specified by:
introspectFieldin interfaceInjectIntrospector<String>- Overrides:
introspectFieldin classInjectIntrospectorAdapter<String>- Parameters:
clazz-f- the field
-