|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.http.HttpUtils
Provides some useful static methods for processing HTTP requests.
| Constructor Summary | |
HttpUtils()
|
|
| Method Summary | |
static boolean |
isValidRelativeUrl(String url)
Checks if the specified relative url is valid. |
static boolean |
isValidUrl(String url)
Determines if the specified url is valid. |
static HashMap |
parseQueryString(String queryString)
Parse a url-encoded Http GET or Http POST Query String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpUtils()
| Method Detail |
public static boolean isValidUrl(String url)
url - the url to check
public static boolean isValidRelativeUrl(String url)
url - the relative url to check
public static HashMap parseQueryString(String queryString)
queryString - the HTTP Query String.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||