public class BodyAccumulator
extends java.lang.Object
Constructor and Description |
---|
BodyAccumulator(BodyOptions options) |
Modifier and Type | Method and Description |
---|---|
AirSyncBaseResponse.Body |
body() |
void |
consumeBodyPart(MessageBody.Part bodyPart,
Stream stream) |
void |
consumeMime(Stream stream) |
BodyType |
getBodyType() |
AirSyncBaseResponse.NativeBodyType |
nativeBodyType() |
io.netty.buffer.ByteBuf |
toByteBuf(Stream stream) |
public BodyAccumulator(BodyOptions options)
public io.netty.buffer.ByteBuf toByteBuf(Stream stream) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
public void consumeMime(Stream stream)
public void consumeBodyPart(MessageBody.Part bodyPart, Stream stream)
public AirSyncBaseResponse.Body body()
public AirSyncBaseResponse.NativeBodyType nativeBodyType()
public BodyType getBodyType()
Copyright © 2021. All Rights Reserved.