public class PrefixedFormInjector extends FormInjector
FormInjector
that handles prefixes for associated classes.Constructor and Description |
---|
PrefixedFormInjector(Class type,
String prefix,
ResteasyProviderFactory factory)
Constructor setting the prefix.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
doInject(String prefix,
HttpRequest request,
HttpResponse response)
Calls the super
inject(HttpRequest, HttpResponse) method. |
protected boolean |
hasValue(List<String> list)
Checks that the list has an non empty value.
|
Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
inject
public PrefixedFormInjector(Class type, String prefix, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response)
inject
in interface ValueInjector
inject
in class FormInjector
protected Object doInject(String prefix, HttpRequest request, HttpResponse response)
inject(HttpRequest, HttpResponse)
method.Copyright © 2018 JBoss by Red Hat. All rights reserved.