I'm trying to use the getHeader() method of an Htt...
# announcements
t
I'm trying to use the getHeader() method of an HttpServletResponse, Intellij doesn't highlight anything but kotlin refuses to compile, claiming getHeader is unresolved. How do I fix this?
k
Did you try
.header
?
t
Intellij underlines .header as unresolved 😄
d
servlet api version < 3.0?
t
Managed to avoid using it directly so I'm fine