public final class JsfRequestUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Long |
getObjectIdFromRequest()
Gets the 'oid' from the request.
|
static javax.servlet.http.HttpServletRequest |
getRequest()
Convenience method to get the HttpServletRequest.
|
static String |
getRequestContextPath()
Convenience method to get the request's context path.
|
static Map<String,Object> |
getRequestMap()
Convenience method to get the request map.
|
static String |
getRequestParameter(String name)
Convenience method to get a parameter from the current request.
|
static Map<String,String> |
getRequestParameterMap()
Convenience method to get the request parameter map.
|
public static javax.servlet.http.HttpServletRequest getRequest()
HttpServletRequest
.public static String getRequestContextPath()
public static Map<String,Object> getRequestMap()
public static Map<String,String> getRequestParameterMap()
public static String getRequestParameter(String name)
name
- Name of the request parameter to get.NullPointerException
- When the supplied name is null.IllegalArgumentException
- When the supplied name is empty.public static Long getObjectIdFromRequest()
Copyright © 2008–2018. All rights reserved.