@Immutable @Loggable(value=1) public final class MultipartBodyBuilder extends Object
Constructor and Description |
---|
MultipartBodyBuilder()
Ctor.
|
MultipartBodyBuilder(byte[] values)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
MultipartBodyBuilder |
append(byte[] bytes)
Append byte array to this multipart body.
|
MultipartBodyBuilder |
appendLine(byte[] bytes)
Append byte array to this multipart body including carriage return.
|
byte[] |
asBytes()
Bytes of multipart body.
|
public MultipartBodyBuilder()
public MultipartBodyBuilder(byte[] values)
values
- Initial byte array.public MultipartBodyBuilder appendLine(byte[] bytes)
bytes
- Byte array to append.public byte[] asBytes()
public MultipartBodyBuilder append(byte[] bytes)
bytes
- Byte array to append.Copyright © 2012–2020 jcabi.com. All rights reserved.