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
PropertyInjector
inject
in interface PropertyInjector
Failure
public void inject(Object target)
PropertyInjector
inject
in interface PropertyInjector
Copyright © 2015 JBoss by Red Hat. All rights reserved.