You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ly164608001 (via GitHub)" <gi...@apache.org> on 2023/04/19 08:13:56 UTC

[GitHub] [apisix-java-plugin-runner] ly164608001 opened a new issue, #236: bug: HttpRequest.getBody()为空

ly164608001 opened a new issue, #236:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/236

   ### Issue description
   自定义过滤器实现PluginFilter接口后,在filter方法中通过HttpRequest.getBody()为空
   
   * your apisix-java-plugin-runner version
   0.4


-- 
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.apache.org

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


Re: [I] bug: HttpRequest.getBody()为空 [apisix-java-plugin-runner]

Posted by "Guanyong-Liang (via GitHub)" <gi...@apache.org>.
Guanyong-Liang commented on issue #236:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/236#issuecomment-1763892299

   同问,完全不知道是什么原因,解决也不知道怎么解决


-- 
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


Re: [I] bug: HttpRequest.getBody()为空 [apisix-java-plugin-runner]

Posted by "gaoxingliang (via GitHub)" <gi...@apache.org>.
gaoxingliang commented on issue #236:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/236#issuecomment-1818464126

   @Guanyong-Liang 加上:
   ```
       /**
        * If you need to fetch request body in the current plugin, you will need to return true in this function.
        */
       @Override
       public Boolean requiredBody() {
           return true;
       }
   ```


-- 
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