In Grails how do you ask if the request coming in is http or https? Should you approach this from the request object?
Use request.isSecure()
. This isn't a Grails feature btw, it's in the javax.servlet.ServletRequest
interface.
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