Uses of Class
com.atlassian.bamboo.plugin.servlet.RangeHeaderResult

Packages that use RangeHeaderResult
Package
Description
 
  • Uses of RangeHeaderResult in com.atlassian.bamboo.plugin.servlet

    Modifier and Type
    Method
    Description
    AbstractDownloadStrategy.processRangeHeader(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, long fileLength)
    Processes the Range and If-Range headers from the HTTP request to determine the byte range to be served This method validates the range, calculates the start and content length, and sets the appropriate response headers If the range is invalid or not satisfiable, it sets the response status to 416 (Range Not Satisfiable) If an If-Range header is present, it checks whether the file has changed since the specified date or ETag If the file has changed, it serves the entire file instead of the range