下面列出了怎么用org.springframework.web.servlet.support.WebContentGenerator的API类实例代码及写法,或者点击链接到github查看源代码。
@Before
public void setUp() throws Exception {
request = new MockHttpServletRequest();
request.setMethod(WebContentGenerator.METHOD_GET);
response = new MockHttpServletResponse();
}