public class ServletInitParamVar extends DefaultingVar
The format for this var is
This variable resolver requires that a RestRequest
object be set as a context object on the resolver or a
session object on the resolver session.
Values are pulled from the GenericServlet.getInitParameter(String)
method.
Since this is a SimpleVar
, any variables contained in the result will be recursively resolved.
Likewise, if the arguments contain any variables, those will be resolved before they are passed to this var.
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of this variable.
|
Constructor and Description |
---|
ServletInitParamVar()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
resolve(VarResolverSession session,
String key)
The interface that needs to be implemented for subclasses of
SimpleVar . |
doResolve
allowNested, allowRecurse, getName
public static final String NAME
public ServletInitParamVar()
Copyright © 2018 Apache. All rights reserved.