Y
- public static class ChunkedOutput.Builder<Y> extends Object
Modifier and Type | Method and Description |
---|---|
ChunkedOutput.Builder<Y> |
asyncContextProvider(javax.inject.Provider<AsyncContext> asyncContextProvider)
Set the async context provider.
|
ChunkedOutput<Y> |
build()
Build the ChunkedOutput based on the given configuration.
|
ChunkedOutput.Builder<Y> |
chunkDelimiter(byte[] chunkDelimiter)
Set the chunk delimiter, in bytes.
|
ChunkedOutput.Builder<Y> |
queueCapacity(int queueCapacity)
Set the queue capacity.
|
public ChunkedOutput.Builder<Y> chunkDelimiter(byte[] chunkDelimiter)
chunkDelimiter
- the chunk delimiter in bytespublic ChunkedOutput.Builder<Y> queueCapacity(int queueCapacity)
queueCapacity
- the queue capacitypublic ChunkedOutput.Builder<Y> asyncContextProvider(javax.inject.Provider<AsyncContext> asyncContextProvider)
asyncContextProvider
- the async context providerpublic ChunkedOutput<Y> build()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.