public class PodUpload extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
upload(HttpClient client,
PodOperationContext context,
OperationSupport operationSupport,
Path pathToUpload) |
static boolean |
uploadFileData(HttpClient client,
PodOperationContext context,
OperationSupport operationSupport,
InputStream inputStream) |
public static boolean upload(HttpClient client, PodOperationContext context, OperationSupport operationSupport, Path pathToUpload) throws IOException, InterruptedException
IOException
InterruptedException
public static boolean uploadFileData(HttpClient client, PodOperationContext context, OperationSupport operationSupport, InputStream inputStream) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2015–2020 Red Hat. All rights reserved.