public static class BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody
extends okhttp3.RequestBody
| Constructor and Description |
|---|
ArchiveFileInputStreamRequestBody(okhttp3.OkHttpClient client,
Config config,
InputStream inputStream,
long contentLength,
String name,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
okhttp3.MediaType |
contentType() |
protected String |
getRecentEvents() |
void |
writeTo(okio.BufferedSink sink) |
void |
writeToSink(okio.BufferedSink sink) |
public ArchiveFileInputStreamRequestBody(okhttp3.OkHttpClient client,
Config config,
InputStream inputStream,
long contentLength,
String name,
String namespace)
public okhttp3.MediaType contentType()
contentType in class okhttp3.RequestBodypublic long contentLength()
throws IOException
contentLength in class okhttp3.RequestBodyIOExceptionpublic void writeTo(okio.BufferedSink sink)
throws IOException
writeTo in class okhttp3.RequestBodyIOExceptionpublic void writeToSink(okio.BufferedSink sink)
throws IOException
IOExceptionprotected String getRecentEvents()
Copyright © 2015–2021 Red Hat. All rights reserved.