public String getRawDataAsString ( ) throws IOException { byte [ ] buffer = getRawData ( ) ; if ( buffer == null ) { return null ; } String encoding = request . getCharacterEncoding ( ) ; if ( encoding == null ) { encoding = "utf-8" ; } return new String ( buffer , encoding ) ; }
get the original request raw data as String