public class MobileAPIUtils extends Object
Constructor and Description |
---|
MobileAPIUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getAppId(HttpServletRequest httpServletRequest)
Returns the mobile app identifier present in request headers or
null if there's no such information. |
static String |
getAppVersion(HttpServletRequest httpServletRequest)
Returns the mobile app version present in request headers or
null if there's no such information. |
static String |
getGCMProjectId()
Returns the currently configured GCM project id.
|
public static String getAppId(HttpServletRequest httpServletRequest)
null
if there's no such information.httpServletRequest
- the request.null
if there's no such information.public static String getAppVersion(HttpServletRequest httpServletRequest)
null
if there's no such information.httpServletRequest
- the request.null
if there's no such information.public static String getGCMProjectId() throws PortalException
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.