Class MockMvcTester.MockMvcRequestBuilder
java.lang.Object
org.springframework.test.web.servlet.request.AbstractMockHttpServletRequestBuilder<MockMvcTester.MockMvcRequestBuilder>
org.springframework.test.web.servlet.assertj.MockMvcTester.MockMvcRequestBuilder
- All Implemented Interfaces:
org.assertj.core.api.AssertProvider<MvcTestResultAssert>
,Mergeable
,ConfigurableSmartRequestBuilder<MockMvcTester.MockMvcRequestBuilder>
,RequestBuilder
,SmartRequestBuilder
- Enclosing class:
- MockMvcTester
public final class MockMvcTester.MockMvcRequestBuilder
extends AbstractMockHttpServletRequestBuilder<MockMvcTester.MockMvcRequestBuilder>
implements org.assertj.core.api.AssertProvider<MvcTestResultAssert>
A builder for
MockHttpServletRequest
that supports AssertJ.-
Method Summary
Methods inherited from class org.springframework.test.web.servlet.request.AbstractMockHttpServletRequestBuilder
accept, accept, buildRequest, characterEncoding, characterEncoding, content, content, contentType, contentType, contextPath, cookie, createServletRequest, flashAttr, flashAttrs, formField, formFields, header, headers, isMergeEnabled, locale, locale, merge, param, params, pathInfo, postProcessRequest, principal, queryParam, queryParams, remoteAddress, requestAttr, secure, self, servletPath, session, sessionAttr, sessionAttrs, uri, uri, with
-
Method Details
-
exchange
-
assertThat
- Specified by:
assertThat
in interfaceorg.assertj.core.api.AssertProvider<MvcTestResultAssert>
-