code: @Override
      public Content getContent(String spaceId, String contentId, Long startByte, Long endByte)
          throws ContentStoreException {
  
          //validate args
          if (startByte == null || startByte < 0) {
              throw new IllegalArgumentException("startByte must be equal to or greater than zero.");
          } else if (endByte != null && endByte <= startByte) {
              throw new IllegalArgumentException("endByte must be null or greater than the startByte.");
          }
  
          return execute(() -> {
              try {
                  final HttpResponse response = doGetContent(spaceId, contentId, startByte, endByte);
                  return toContent(response, spaceId, contentId, startByte, endByte);
              } catch (IOException ex) {
                  throw new ContentStoreException(ex.getMessage(), ex);
              }
          });
      }
docs: {@inheritDoc}