SUPPORT-8381: fix by review (2)
This commit is contained in:
parent
83007bdfd9
commit
c36508e64c
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import java.net.http.HttpResponse;
|
|||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.retry.annotation.Retryable;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
|
|
@ -20,6 +21,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
public class FileUploadWebDavClient {
|
||||
private static final Logger logger = LoggerFactory.getLogger(FileUploadWebDavClient.class);
|
||||
|
||||
@Retryable
|
||||
public boolean webDavUploadFile(String url, String username, String password, MultipartFile multipartFile) {
|
||||
try {
|
||||
HttpClient httpClient = HttpClient.newBuilder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue