Class BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody
java.lang.Object
okhttp3.RequestBody
io.fabric8.openshift.client.dsl.internal.BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody
- Enclosing class:
- BuildConfigOperationsImpl
public static class BuildConfigOperationsImpl.ArchiveFileInputStreamRequestBody
extends okhttp3.RequestBody
-
Constructor Summary
Constructors Constructor Description ArchiveFileInputStreamRequestBody(okhttp3.OkHttpClient client, Config config, InputStream inputStream, long contentLength, String name, String namespace) -
Method Summary
Modifier and Type Method Description longcontentLength()okhttp3.MediaTypecontentType()protected StringgetRecentEvents()voidwriteTo(okio.BufferedSink sink)voidwriteToSink(okio.BufferedSink sink)
-
Constructor Details
-
ArchiveFileInputStreamRequestBody
public ArchiveFileInputStreamRequestBody(okhttp3.OkHttpClient client, Config config, InputStream inputStream, long contentLength, String name, String namespace)
-
-
Method Details
-
contentType
public okhttp3.MediaType contentType()- Specified by:
contentTypein classokhttp3.RequestBody
-
contentLength
- Overrides:
contentLengthin classokhttp3.RequestBody- Throws:
IOException
-
writeTo
- Specified by:
writeToin classokhttp3.RequestBody- Throws:
IOException
-
writeToSink
- Throws:
IOException
-
getRecentEvents
-