Skip to content

Improve MockHttpServletRequest's compatibility with Servlet 3.1 [SPR-11492] #16117

@spring-projects-issues

Description

@spring-projects-issues

Andy Wilkinson opened SPR-11492 and commented

Servlet 3.1 added methods that can be supported by MockHttpServletRequest without having a compile dependency on the 3.1 API:

  • long getContentLengthLong() on javax.servlet.ServletRequest
  • String changeSessionId() on javax.servlet.HttpServletRequest

Affects: 4.0 GA

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions