MockHttpServletRequest:
HTTP Method = POST
Request URI = /commodity
Parameters = {}
Headers = {Content-Type=[*/*], Accept=[*/*]}
Handler:
Type = null
Async:
Async started = false
Async result = null
Resolved Exception:
Type = org.springframework.web.HttpRequestMethodNotSupportedException
ModelAndView:
View name = null
View = null
Model = null
FlashMap:
Attributes = null
MockHttpServletResponse:
Status = 405
Error message = Request method 'POST' not supported
Headers = {Allow=[DELETE, GET]}
Content type = null
Body =
Forwarded URL = null
Redirected URL = null
Cookies = []