it.andynaz.utils
public abstract class UtilsWEB extends Object
Modifier | Constructor and Description |
---|---|
private |
UtilsWEB() |
Modifier and Type | Method and Description |
---|---|
static Integer |
getIntegerParameter(javax.servlet.http.HttpServletRequest req,
String name)
Takes a numeric parameter from an HTTP request.
|
public static Integer getIntegerParameter(javax.servlet.http.HttpServletRequest req, String name)
null
.req
- HTTP requestname
- parameter's nameInteger
object with the value of the integer
name
parameter, or null
NullPointerException
- if req or name is null
IllegalArgumentException
- if name has length==0© 2013 andynaz - http://andynaz.altervista.org