|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ning.http.client.generators.ByteArrayBodyGenerator
public class ByteArrayBodyGenerator
A BodyGenerator backed by a byte array.
| Nested Class Summary | |
|---|---|
protected class |
ByteArrayBodyGenerator.ByteBody
|
| Constructor Summary | |
|---|---|
ByteArrayBodyGenerator(byte[] bytes)
|
|
| Method Summary | |
|---|---|
Body |
createBody()
Creates a new instance of the request body to be read. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArrayBodyGenerator(byte[] bytes)
| Method Detail |
|---|
public Body createBody()
throws java.io.IOException
BodyGenerator
createBody in interface BodyGeneratornull.
java.io.IOException - If the body could not be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||