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, toStrings
public URLEventContext(ContextValueEncoder valueEncoder, String[] values)
public int getCount()
EventContext
public <T> T get(Class<T> desiredType, int index)
EventContext
desiredType
- the type of value requiredindex
- identifies which parameter value to extract${project.version} - Copyright © 2003-2015 The Apache Software Foundation.