public static interface BodyParser.Context.Bytes
Modifier and Type | Method and Description |
---|---|
Object |
read(InputStream in)
Read bytes from the given
InputStream . |
Object read(InputStream in) throws Exception
InputStream
. The InputStream
will be close it
automatically after this call. Clients shouldn't worry about closing the
InputStream
.in
- The HTTP request body.Exception
- When the operation fails.Copyright © 2015. All rights reserved.