@ -973,14 +975,20 @@ public class MockHttpServletRequest implements HttpServletRequest {
@@ -973,14 +975,20 @@ public class MockHttpServletRequest implements HttpServletRequest {
@ -1297,6 +1305,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
@@ -1297,6 +1305,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
*Otherwiseitsimplyreturnsthecurrentsessionid.
*@since4.0.3
*/
@Override
publicStringchangeSessionId(){
Assert.isTrue(this.session!=null,"The request does not have a session");
@ -973,14 +975,20 @@ public class MockHttpServletRequest implements HttpServletRequest {
@@ -973,14 +975,20 @@ public class MockHttpServletRequest implements HttpServletRequest {
@ -1297,6 +1305,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
@@ -1297,6 +1305,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
*Otherwiseitsimplyreturnsthecurrentsessionid.
*@since4.0.3
*/
@Override
publicStringchangeSessionId(){
Assert.isTrue(this.session!=null,"The request does not have a session");