code: protected boolean copyRequestedContentToResponse(String requestedPath, HttpServletResponse response,
  			String contentType) throws IOException {
  
  		boolean copyDone = false;
  
  		if (isValidRequestedPath(requestedPath)) {
  			if (LOGGER.isDebugEnabled()) {
  				LOGGER.debug(
  						"Path '" + requestedPath + "' does not belong to a bundle. Forwarding request to the server. ");
  			}
  
  			try (InputStream is = servletContext.getResourceAsStream(requestedPath)) {
  				if (is != null) {
  					response.setContentType(contentType);
  					IOUtils.copy(is, response.getOutputStream());
  					copyDone = true;
  				}
  			}
  
  		}
  		return copyDone;
  	}
docs: Copy the requested content to the response
  
  @param requestedPath
  the requested path
  @param response
  the response
  @param contentType
  the content type
  @return true if the resource exists and has been copied in the response
  @throws IOException
  if an IO exception occurs