|
RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resteasy.core.FormInjector
org.jboss.resteasy.core.PrefixedFormInjector
public class PrefixedFormInjector
Extension of FormInjector
that handles prefixes for associated classes.
Constructor Summary | |
---|---|
PrefixedFormInjector(Class type,
String prefix,
ResteasyProviderFactory factory)
Constructor setting the prefix. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jboss.resteasy.core.FormInjector |
---|
inject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixedFormInjector(Class type, String prefix, ResteasyProviderFactory factory)
Method Detail |
---|
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.
protected boolean hasValue(List<String> list)
|
RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |