MockHttpServletRequest.getIntHeader() should return -1 when item does not exist

Description

According to servlet specification, ServletRequest.getIntHeader() should return -1 when the header in question does not exist. Stripes instead throws a NullPointerException...

Fix is easy:

Environment

None

Assignee

Rick G

Reporter

User known

Labels

None

Fix versions

Affects versions

Priority

Major
Configure