org.mentawai.util
Class HttpUtils

java.lang.Object
  extended by org.mentawai.util.HttpUtils

public class HttpUtils
extends Object


Constructor Summary
HttpUtils()
           
 
Method Summary
static String convertToQueryString(Map<String,Object> params)
           
static String convertToQueryString(Map<String,Object> params, String... before)
           
static void disableCache(javax.servlet.http.HttpServletResponse res)
           
static String encodeParam(String param)
           
static String getPrettyText(String text)
           
static String getPrettyURL(String action, String method, String... params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtils

public HttpUtils()
Method Detail

disableCache

public static void disableCache(javax.servlet.http.HttpServletResponse res)

encodeParam

public static String encodeParam(String param)

convertToQueryString

public static String convertToQueryString(Map<String,Object> params)

convertToQueryString

public static String convertToQueryString(Map<String,Object> params,
                                          String... before)

getPrettyText

public static String getPrettyText(String text)

getPrettyURL

public static String getPrettyURL(String action,
                                  String method,
                                  String... params)


Copyright © 2013. All Rights Reserved.