fullUrl

fun HttpServletRequest.fullUrl(): String

Build the absolute request URL including the query string, if present.

Example:

  • https://api.example.com/path?x=1

Return

the absolute URL string including query when present