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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcontentLength()okhttp3.MediaTypecontentType()protected StringgetRecentEvents()voidwriteTo(okio.BufferedSink sink)voidwriteToSink(okio.BufferedSink sink)
-
-
-
Constructor Detail
-
ArchiveFileInputStreamRequestBody
public ArchiveFileInputStreamRequestBody(okhttp3.OkHttpClient client, Config config, InputStream inputStream, long contentLength, String name, String namespace)
-
-
Method Detail
-
contentType
public okhttp3.MediaType contentType()
- Specified by:
contentTypein classokhttp3.RequestBody
-
contentLength
public long contentLength() throws IOException- Overrides:
contentLengthin classokhttp3.RequestBody- Throws:
IOException
-
writeTo
public void writeTo(okio.BufferedSink sink) throws IOException- Specified by:
writeToin classokhttp3.RequestBody- Throws:
IOException
-
writeToSink
public void writeToSink(okio.BufferedSink sink) throws IOException- Throws:
IOException
-
getRecentEvents
protected String getRecentEvents()
-
-