public static Result ofPath(Http.Request request, Path path, FileMimeTypes fileMimeTypes) {
    """
	Returns the path as a result considering "Range" header. If the header is present and it is
	satisfiable, then a Result containing just the requested part will be returned. If the header
	is not present or is unsatisfiable, then a regular Result will be returned.
	
	@param request the request from which to retrieve the range header.
	@param path the content path
	@param fileMimeTypes Used for file type mapping.
	@return range result if "Range" header is present and regular result if not
    """
    return JavaRangeResult.ofPath(
        path, rangeHeader(request), fileMimeTypes.forFileName(path.toFile().getName()));
  }
public static Result ofPath(Http.Request request, Path path, FileMimeTypes fileMimeTypes) {
    return JavaRangeResult.ofPath(
        path, rangeHeader(request), fileMimeTypes.forFileName(path.toFile().getName()));
  }
public static Result ofPath ( Http . Request request , Path path , FileMimeTypes fileMimeTypes ) { return JavaRangeResult . ofPath ( path , rangeHeader ( request ) , fileMimeTypes . forFileName ( path . toFile ( ) . getName ( ) ) ) ; }
Returns the path as a result considering "Range" header. If the header is present and it is
satisfiable, then a Result containing just the requested part will be returned. If the header
is not present or is unsatisfiable, then a regular Result will be returned.

@param request the request from which to retrieve the range header.
@param path the content path
@param fileMimeTypes Used for file type mapping.
@return range result if "Range" header is present and regular result if not
Returns the path as a result considering Range header . If the header is present and it is satisfiable then a Result containing just the requested part will be returned . If the header is not present or is unsatisfiable then a regular Result will be returned .