code: public BosObject getObject(GetObjectRequest request) {
          checkNotNull(request, "request should not be null.");
  
          InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET);
          long[] range = request.getRange();
          if (range != null) {
              internalRequest.addHeader(Headers.RANGE, "bytes=" + range[0] + "-" + range[1]);
          }
  
          GetObjectResponse response = this.invokeHttpClient(internalRequest, GetObjectResponse.class);
  
          BosObject bosObject = response.getObject();
          bosObject.setBucketName(request.getBucketName());
          bosObject.setKey(request.getKey());
  
          return bosObject;
      }
docs: Gets the object stored in Bos under the specified bucket and key.
  
  @param request The request object containing all the options on how to download the object.
  @return The object stored in Bos in the specified bucket and key.