Class PathStreamMessageBuilder
java.lang.Object
com.linecorp.armeria.common.stream.PathStreamMessageBuilder
A builder for creating a
ByteStreamMessage
that reads data from the Path
and publishes
using HttpData
.-
Method Summary
Modifier and TypeMethodDescriptionalloc
(ByteBufAllocator alloc) bufferSize
(int bufferSize) build()
Returns a newly createdByteStreamMessage
with the properties set so far.executor
(ExecutorService executor)
-
Method Details
-
build
Returns a newly createdByteStreamMessage
with the properties set so far. -
executor
-
alloc
-
bufferSize
-