|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.util.WebUtil
public class WebUtil
Static helper methods for working with query strings and maps.
Constructor Summary | |
---|---|
WebUtil()
|
Method Summary | |
---|---|
static String |
getQueryStringForMap(Map map)
Returns the query string for a given map of key and value pairs |
static Map |
getQueryStringMap(javax.servlet.http.HttpServletRequest request)
Creates a Map of query string key and value parameters from the given request |
static Map |
getQueryStringMap(String queryString)
Creates a Map of query string key and value parameters from the given query string. |
static Map |
getQueryStringMap(String queryString,
String encoding)
Creates a Map of query string key and value parameters from the given query string. |
static String |
toFullyQualifiedURL(javax.servlet.http.HttpServletRequest request,
String uri)
Converts a relative URI to a fully qualified URL If the URI is already fully qualified, it is simply returned |
static String |
toFullyQualifiedURL(RequestContext context,
String uri)
Converts a relative URI to a fully qualified URL If the URI is already fully qualified, it is simply returned |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebUtil()
Method Detail |
---|
public static Map getQueryStringMap(javax.servlet.http.HttpServletRequest request)
request
- the request
public static Map getQueryStringMap(String queryString)
queryString
- the query string
public static Map getQueryStringMap(String queryString, String encoding)
queryString
- the query string
public static String getQueryStringForMap(Map map)
map
- the map
public static String toFullyQualifiedURL(RequestContext context, String uri)
context
- uri
-
public static String toFullyQualifiedURL(javax.servlet.http.HttpServletRequest request, String uri)
request
- uri
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |