public class ContextParamUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
getValue(javax.servlet.ServletContext servletContext,
ContextParam contextParam)
Get the value.
|
static <T> T |
getValue(javax.servlet.ServletContext servletContext,
ContextParam contextParam,
Class<T> clazz)
Get the value.
|
public static Object getValue(javax.servlet.ServletContext servletContext, ContextParam contextParam)
servletContext
- the servlet context.contextParam
- the context-param.public static <T> T getValue(javax.servlet.ServletContext servletContext, ContextParam contextParam, Class<T> clazz)
T
- the type.servletContext
- the servlet context.contextParam
- the context-param.clazz
- the class.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.