T - the type of the injectable value.public abstract class AbstractHttpContextInjectable<T> extends Object implements Injectable<T>
HttpContext.| Constructor and Description |
|---|
AbstractHttpContextInjectable() |
| Modifier and Type | Method and Description |
|---|---|
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. |
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.Copyright © 2014 Oracle Corporation. All rights reserved.