public class ResourcePropertyInjector extends Object implements PropertyInjector
| Modifier and Type | Field and Description |
|---|---|
protected ResteasyProviderFactory |
factory |
protected List<org.jboss.resteasy.core.ResourcePropertyInjector.FieldInjector> |
fields |
protected ResourceClass |
resourceClass |
protected List<org.jboss.resteasy.core.ResourcePropertyInjector.SetterInjector> |
setters |
| Constructor and Description |
|---|
ResourcePropertyInjector(ResourceClass resourceClass,
ResteasyProviderFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
inject(HttpRequest request,
HttpResponse response,
Object target)
Inject values into annotated properties (fields/setter methods) of the target object.
|
void |
inject(Object target)
Inject values into annotated properties (fields/setter methods) of the target object.
|
protected List<org.jboss.resteasy.core.ResourcePropertyInjector.FieldInjector> fields
protected List<org.jboss.resteasy.core.ResourcePropertyInjector.SetterInjector> setters
protected ResourceClass resourceClass
protected ResteasyProviderFactory factory
public ResourcePropertyInjector(ResourceClass resourceClass, ResteasyProviderFactory factory)
public void inject(HttpRequest request, HttpResponse response, Object target) throws Failure
PropertyInjectorinject in interface PropertyInjectorFailurepublic void inject(Object target)
PropertyInjectorinject in interface PropertyInjectorCopyright © 2015 JBoss by Red Hat. All rights reserved.