docs: public static <S extends RepresentationModel<?>> HeaderLinksResponseEntity<S> wrap(HttpEntity<S> entity) {
  
  		Assert.notNull(entity, "Given HttpEntity must not be null!");
  
  		if (entity instanceof ResponseEntity) {
  			return new HeaderLinksResponseEntity<>((ResponseEntity<S>) entity);
  		} else {
  			return new HeaderLinksResponseEntity<>(entity);
  		}
  	}