You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/12 01:38:19 UTC

[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #143: bug: setBody not work

tzssangglass commented on issue #143:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/143#issuecomment-1124444264

   > Get the orginal content
   
   see: https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/development.md#write-filter
   
   ```
     @Override
     public Boolean requiredBody() {
         return true;
     }
   
   ```
   
   and use
   
   ```
   String body = request.getBody();
   ```
   
   in your custom filter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org