edu.mayo.bsi.ngsportal.server
Class HTTPCoder
java.lang.Object
edu.mayo.bsi.ngsportal.server.HTTPCoder
public class HTTPCoder
- extends Object
@author Gregory Dougherty
HTTPCoder
public HTTPCoder()
httpEncode
public static String httpEncode(String token)
- Take a string and encode it so that it can be safely sent via HTTP
- Parameters:
token - The String to encode
- Returns:
- The encoded string
httpDecode
public static String httpDecode(String token)
- Take a string that was HTML encoded and decode it
- Parameters:
token - The String to decode
- Returns:
- The decoded string