@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, introspectMethodprotected final ThreadLocal<String> pathLocal
public boolean supportedType(Type t)
InjectablesupportedType in interface InjectablesupportedType in class InjectIntrospectorAdapter<String>t - the fieldpublic String injectable(AtmosphereResource r)
InjectIntrospectorinjectable in interface InjectIntrospectorinjectable in class InjectIntrospectorAdapter<String>r - the AtmosphereResourcepublic void introspectField(Class clazz, Field f)
InjectIntrospectorintrospectField in interface InjectIntrospectorintrospectField in class InjectIntrospectorAdapter<String>f - the fieldCopyright © 2016. All rights reserved.