com.jxml.qare.qhome
Class MkUrl
java.lang.Object
|
+--com.jxml.qare.qhome.MkUrl
- public class MkUrl
- extends Object
This class reconstructs the URL used to make the request.
sb
public StringBuffer sb
parms
public boolean parms
MkUrl
public MkUrl(HttpServletRequest req)
- Reconstructs the URL used by the client used to make the request.
MkUrl
public MkUrl(String url)
- Constructs the URL
redirect
public static String redirect(HttpServletRequest req,
String fileInfo)
- Returns the URL depending upon the path specified in file.
redirect
public static String redirect(String url,
String fileInfo)
- Returns the URL
- Parameters:
url
- fileInfo
- File from which the URL is fetched
addTime
public void addTime()
- Forces to refresh.
add
public void add(String key,
String value)
- Appends to the URL "&" or "?".
- Parameters:
key
- Name of tbe key.value
- Respective value of the key.
toString
public String toString()
- Overrides:
toString
in class Object