@RequestScoped(value=PathParam.class) public class PathParamIntrospector extends InjectIntrospectorAdapter<String>
PathParam
injection support.InjectIntrospector.WHEN
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<String> |
pathLocal |
Constructor and Description |
---|
PathParamIntrospector() |
Modifier and Type | Method and Description |
---|---|
String |
injectable(AtmosphereResource r)
Returns an instance of the T
|
void |
introspectField(Class clazz,
Field f)
Introspect the field
|
boolean |
supportedType(Type t)
Return true if this class support injection of this type.
|
injectable, introspectMethod
protected final ThreadLocal<String> pathLocal
public boolean supportedType(Type t)
Injectable
supportedType
in interface Injectable
supportedType
in class InjectIntrospectorAdapter<String>
t
- the fieldpublic String injectable(AtmosphereResource r)
InjectIntrospector
injectable
in interface InjectIntrospector
injectable
in class InjectIntrospectorAdapter<String>
r
- the AtmosphereResource
public void introspectField(Class clazz, Field f)
InjectIntrospector
introspectField
in interface InjectIntrospector
introspectField
in class InjectIntrospectorAdapter<String>
f
- the fieldCopyright © 2016. All rights reserved.