Home » apache-tomcat-6.0.26-src » org.apache » catalina » util » [javadoc | source]
org.apache.catalina.util
public class: URLEncoder [javadoc | source]
java.lang.Object
   org.apache.catalina.util.URLEncoder
This class is very similar to the java.net.URLEncoder class. Unfortunately, with java.net.URLEncoder there is no way to specify to the java.net.URLEncoder which characters should NOT be encoded. This code was moved from DefaultServlet.java
Field Summary
protected static final  char[] hexadecimal     
protected  BitSet safeCharacters     
Constructor:
 public URLEncoder() 
Method from org.apache.catalina.util.URLEncoder Summary:
addSafeCharacter,   encode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.util.URLEncoder Detail:
 public  void addSafeCharacter(char c) 
 public String encode(String path)