Package com.saperion.util
Class WebUtil
- java.lang.Object
-
- com.saperion.util.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.
-
-
-
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
-
-