|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.server.impl.inject.AbstractHttpContextInjectable<T>
T
- the type of the injectable value.public abstract class AbstractHttpContextInjectable<T>
An injectable that obtains an injectable value given the HttpContext
.
Constructor Summary | |
---|---|
AbstractHttpContextInjectable()
|
Method Summary | |
---|---|
T |
getValue()
This implementation throws an IllegalStateException . |
abstract T |
getValue(HttpContext c)
Get the injectable value given the HttpContext . |
static AbstractHttpContextInjectable |
transform(Injectable i)
Transform a Injectable into an instance of this class. |
static List<AbstractHttpContextInjectable> |
transform(List<Injectable> l)
Transform a list of Injectable into a list of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractHttpContextInjectable()
Method Detail |
---|
public T getValue()
IllegalStateException
.
getValue
in interface Injectable<T>
public abstract T getValue(HttpContext c)
HttpContext
.
c
- the http context,
public static List<AbstractHttpContextInjectable> transform(List<Injectable> l)
Injectable
into a list of this class.
l
- the list of injectable.
public static AbstractHttpContextInjectable transform(Injectable i)
Injectable
into an instance of this class.
i
- the injectable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |