scap
02/09/2018, 7:42 AMprivate fun getEndpoint(request: Request) : String {
val notAlphaNumUnderscore: Regex = "[^a-zA-Z0-9_]".toRegex()
return X_URI_TEMPLATE(request)?.replace('/', '_')?.replace(notAlphaNumUnderscore, "") ?: "UNMAPPED"
}