servletRequestAttributes

val ApplicationRequest.servletRequestAttributes: Map<String, Any>

Provides javax.servlet request attributes or fail it the underlying engine is not servlet-backed.