public class BLCRequestUtils extends Object
Constructor and Description |
---|
BLCRequestUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getRequestedServerPrefix()
Convenience method to obtain the server prefix of the current request.
|
static String |
getURLorHeaderParameter(org.springframework.web.context.request.WebRequest request,
String varName)
Get header or url parameter.
|
static boolean |
isOKtoUseSession(org.springframework.web.context.request.WebRequest request)
Broadleaf "Resolver" and "Filter" classes may need to know if they are allowed to utilize the session.
|
static void |
setOKtoUseSession(org.springframework.web.context.request.WebRequest request,
Boolean value)
Sets whether or not Broadleaf can utilize the session in request processing.
|
public static boolean isOKtoUseSession(org.springframework.web.context.request.WebRequest request)
public static void setOKtoUseSession(org.springframework.web.context.request.WebRequest request, Boolean value)
public static String getURLorHeaderParameter(org.springframework.web.context.request.WebRequest request, String varName)
public static String getRequestedServerPrefix()
Copyright © 2014. All rights reserved.