-
public final class StreamContent extends OutgoingContent.ReadChannelContent
-
-
Field Summary
Fields Modifier and Type Field Description private final ContentTypecontentTypeprivate final LongcontentLengthprivate final Headersheadersprivate final HttpStatusCodestatus
-
Constructor Summary
Constructors Constructor Description StreamContent(InputStream inputStream)
-
Method Summary
Modifier and Type Method Description ContentTypegetContentType()LonggetContentLength()HeadersgetHeaders()HttpStatusCodegetStatus()ByteReadChannelreadFrom()-
Methods inherited from class net.bunny.api.upload.model.StreamContent
readFrom -
Methods inherited from class io.ktor.http.content.OutgoingContent.ReadChannelContent
getProperty, setProperty, trailers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StreamContent
StreamContent(InputStream inputStream)
-
-
Method Detail
-
getContentType
ContentType getContentType()
-
getContentLength
Long getContentLength()
-
getHeaders
Headers getHeaders()
-
getStatus
HttpStatusCode getStatus()
-
readFrom
ByteReadChannel readFrom()
-
-
-
-