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) Sets the specifiedByteBufAllocator.bufferSize(int bufferSize) build()Returns a newly createdByteStreamMessagewith the properties set so far.executor(ExecutorService executor)
-
Method Details
-
alloc
Sets the specifiedByteBufAllocator. If unspecified,ByteBufAllocator.DEFAULTis used by default. -
build
Returns a newly createdByteStreamMessagewith the properties set so far. -
executor
-
bufferSize
-