Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86912

Deprecate methods in ServletResponseUtil

Details

    Description

      We should not publish these two methods :

      ServletResponseUtil.getRanges(HttpServletRequest request, HttpServletResponse response, long length)
      ServletResponseUtil.write(HttpServletRequest request, HttpServletResponse response, String fileName, List<Range> ranges, InputStream inputStream, long fullLength, String contentType)
      

      since they are only used in current class, and the same function can be done by invoking ServletResponseUtil.sendFileWithRangeHeader().

      Attachments

        Activity

          People

            victor.ware Victor Ware
            zheyi.ji Lance Ji (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.1.10 DXP FP4
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master