Class WebUtil


  • public class WebUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WebUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getContentDispositionFileName​(java.lang.String filename)
      This method builds the filename value for the HTTP header field Content-Disposition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebUtil

        public WebUtil()
    • Method Detail

      • getContentDispositionFileName

        public static java.lang.String getContentDispositionFileName​(java.lang.String filename)
        This method builds the filename value for the HTTP header field Content-Disposition. The RFC5987 and RFC6266 is taken into account here and fixes an issue with Umlaut characters
        Returns:
        filename value for HTTP header field Content-Disposition