Skip to content
Discussion options

You must be logged in to vote

You cannot, as you indicate, since it's not a subtype. You'll have to create your own adapter. As you can see from the one for java.net.Socket in this library, though, it's pretty trivial to do so yourself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CoreFloDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants