org.apache.cxf.common.util
Class UrlUtils

java.lang.Object
  extended by org.apache.cxf.common.util.UrlUtils

public final class UrlUtils
extends java.lang.Object

Utility class for decoding and encoding URLs


Method Summary
static java.lang.String pathDecode(java.lang.String value)
          URL path segments may contain '+' symbols which should not be decoded into ' ' This method replaces '+' with %2B and delegates to URLDecoder
static java.lang.String urlDecode(java.lang.String value)
          Decodes using URLDecoder - use when queries or form post values are decoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

urlDecode

public static java.lang.String urlDecode(java.lang.String value)
Decodes using URLDecoder - use when queries or form post values are decoded

Parameters:
value - value to decode
Returns:

pathDecode

public static java.lang.String pathDecode(java.lang.String value)
URL path segments may contain '+' symbols which should not be decoded into ' ' This method replaces '+' with %2B and delegates to URLDecoder

Parameters:
value - value to decode
Returns:


Apache CXF