In netty HttpRequest
there is only a method request.getUri()
which returns the path after host:port. Is there any way I can get the entire URL, or the host:port values separately?
You will need to construct this from the channel via the Channel.localAddress()
on the server-side.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With