|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.controller.SecureRequestUtils
Extended the Struts' RequestUtils to add additional
utility methods.
| Constructor Summary | |
SecureRequestUtils()
|
|
| Method Summary | |
static StringBuffer |
createQueryStringFromMap(Map m,
String ampersand)
Builds a query string from a given map of parameters |
static String |
getRedirectString(HttpServletRequest request,
String httpPort,
String httpsPort,
boolean isSecure)
Creates a redirect URL string if the current request should be redirected |
static String |
getRequestParameters(HttpServletRequest aRequest)
Creates query String from request body parameters |
static void |
reclaimRequestAttributes(HttpServletRequest aRequest,
boolean doRemove)
Reclaims request attributes from session to request |
static boolean |
stowRequestAttributes(HttpServletRequest aRequest)
Stores request attributes in session |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecureRequestUtils()
| Method Detail |
public static String getRequestParameters(HttpServletRequest aRequest)
aRequest - The current request
public static StringBuffer createQueryStringFromMap(Map m,
String ampersand)
m - A map of parametersampersand - String to use for ampersands (e.g. "&" or "&" )
public static boolean stowRequestAttributes(HttpServletRequest aRequest)
aRequest - The current request
public static void reclaimRequestAttributes(HttpServletRequest aRequest,
boolean doRemove)
aRequest - The current requestdoRemove - True, if the attributes should be removed after being reclaimed,
false otherwise
public static String getRedirectString(HttpServletRequest request,
String httpPort,
String httpsPort,
boolean isSecure)
request - current servlet requesthttpPort - the http port used by the web applicationhttpsPort - the https port used by the web applicationisSecure - True if the current request should be transmitted via SSL
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||