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