public final class ByteArrayBodyGenerator extends Object implements BodyGenerator
BodyGenerator
backed by a byte array.Modifier and Type | Class and Description |
---|---|
protected class |
ByteArrayBodyGenerator.ByteBody |
Constructor and Description |
---|
ByteArrayBodyGenerator(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
Body |
createBody()
Creates a new instance of the request body to be read.
|
public Body createBody()
createBody
in interface BodyGenerator
null
.Copyright © 2015. All Rights Reserved.