public 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)  | 
public Body createBody() throws IOException
BodyGeneratorcreateBody in interface BodyGeneratornull.IOException - If the body could not be created.Copyright © 2015. All rights reserved.