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.Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.