public final class JFPRequestUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getValueSingle(Map<String,String[]> request,
String name)
Retrieve a value from an HTTP request.
|
public static String getValueSingle(Map<String,String[]> request, String name) throws JFPExceptionNonexistent, JFPExceptionInvalidArgument
request
- The request parameters.name
- The parameter name.JFPExceptionNonexistent
- If the value is missing.JFPExceptionInvalidArgument
- If the parameter has multiple values.Copyright © 2015 <code@io7m.com> http://io7m.com