|
@@ -76,11 +76,7 @@ class BridgeFilter(private val template: SimpMessagingTemplate, val resourceLoad
|
|
|
res.sendRedirect("/resources/$search")
|
|
|
} else {
|
|
|
println("client $client")
|
|
|
- println("path $toPath")
|
|
|
-
|
|
|
-// req.parameterMap.entries.forEach {
|
|
|
-// println(it.key + " : " + it.value.joinToString(", "))
|
|
|
-// }
|
|
|
+ println("path " + req.requestURL.toString() + "?" + req.queryString)
|
|
|
|
|
|
val headerMap = req.headerNames.toList().associateBy({ it }, { req.getHeader(it) })
|
|
|
val body = req.reader.lines().toList().joinToString(System.lineSeparator())
|