Class URLEscapingUtils


  • public class URLEscapingUtils
    extends java.lang.Object
    This class provides static/stateless utility methods for scrubbing URLs for safe use in error messages. HTML entities in URLs need to be escaped before being used in messages of any kind.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toSafeString​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toSafeString

        public static final java.lang.String toSafeString​(java.lang.String url)