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

Add Java HttpClient support #162

Closed
HumanG33k opened this issue Apr 30, 2020 · 4 comments
Closed

Add Java HttpClient support #162

HumanG33k opened this issue Apr 30, 2020 · 4 comments

Comments

@HumanG33k
Copy link

I come here insomia generate code feature.
Since Java 11 there is a new api, add doc can be found here (for the openjdk)

https://openjdk.java.net/groups/net/httpclient/recipes.html

@HumanG33k
Copy link
Author

@darrenjennings what kind of help do you need ? How can i if i can ?

@darrenjennings
Copy link
Contributor

@HumanG33k ideally someone with java background would write the target. If you wanted to take a stab at writing a new target "HttpClient" for Java:

https://github.com/Kong/httpsnippet/wiki/Creating-Targets
https://github.com/Kong/httpsnippet/tree/master/src/targets/java

@johanhammar
Copy link

Looks like this was implemented in #170

@reynolek
Copy link
Contributor

That looks to be correct, my fault for not searching for this issue when I merged that in. This is available in v1.21.0+

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

4 participants