Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么获取ProtocolVersion #493

Open
qq5250142 opened this issue May 17, 2023 · 1 comment
Open

怎么获取ProtocolVersion #493

qq5250142 opened this issue May 17, 2023 · 1 comment

Comments

@qq5250142
Copy link

调试的时候有StandardRequest,但不暴露org.apache.httpcore.HttpRequest,所以拿不到,HttpRequest里面有getProtocolVersion()方法,所以只要拿到httpRequest对象就可以获取到了,有没有办法获取到

@qq5250142
Copy link
Author

目前采用反射的方式获取,后续希望提供public的方法供调用,这样会方便很多

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants