Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » buf » [javadoc | source]
org.apache.tomcat.util.buf
public final class: UDecoder [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.buf.UDecoder
All URL decoding happens here. This way we can reuse, review, optimize without adding complexity to the buffers. The conversion will modify the original buffer.
Field Summary
protected static final  boolean ALLOW_ENCODED_SLASH     
Constructor:
 public UDecoder() 
Method from org.apache.tomcat.util.buf.UDecoder Summary:
convert,   convert,   convert,   convert,   convert,   convert,   convert,   convert
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.buf.UDecoder Detail:
 public  void convert(ByteChunk mb) throws IOException 
    URLDecode, will modify the source. Includes converting '+' to ' '.
 public  void convert(CharChunk mb) throws IOException 
    In-buffer processing - the buffer will be modified Includes converting '+' to ' '.
 public  void convert(MessageBytes mb) throws IOException 
    URLDecode, will modify the source Includes converting '+' to ' '.
 public final String convert(String str) 
 public  void convert(ByteChunk mb,
    boolean query) throws IOException 
    URLDecode, will modify the source.
 public  void convert(CharChunk mb,
    boolean query) throws IOException 
    In-buffer processing - the buffer will be modified
 public  void convert(MessageBytes mb,
    boolean query) throws IOException 
    URLDecode, will modify the source
 public final String convert(String str,
    boolean query)