public class URLEventContext extends AbstractEventContext
ContextValueEncoder to convert from
string values to the desired values.| Constructor and Description |
|---|
URLEventContext(ContextValueEncoder valueEncoder,
String[] values) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> desiredType,
int index)
Extracts a parameter value and coerces or decodes it to the desired type.
|
int |
getCount()
Returns the number of parameter values that can be extracted.
|
toString, toStringspublic URLEventContext(ContextValueEncoder valueEncoder, String[] values)
public int getCount()
EventContextpublic <T> T get(Class<T> desiredType, int index)
EventContextdesiredType - the type of value requiredindex - identifies which parameter value to extract5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.