protected String getRequestBody ( HttpServerExchange exchange ) throws IOException { String body = "" ; if ( RequestUtils . isPostPutPatch ( exchange ) ) { exchange . startBlocking ( ) ; body = IOUtils . toString ( exchange . getInputStream ( ) , Default . ENCODING . toString ( ) ) ; } return body ; }
Retrieves the complete request body from the request