Package | Description |
---|---|
org.springframework.test.web.servlet.client |
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling. |
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
Modifier and Type | Method and Description |
---|---|
MockMvcWebTestClient.ControllerSpec |
MockMvcWebTestClient.ControllerSpec.flashMapManager(FlashMapManager flashMapManager)
Provide a custom FlashMapManager.
|
Modifier and Type | Method and Description |
---|---|
StandaloneMockMvcBuilder |
StandaloneMockMvcBuilder.setFlashMapManager(FlashMapManager flashMapManager)
Provide a custom FlashMapManager instance.
|
Modifier and Type | Method and Description |
---|---|
FlashMapManager |
WebMvcConfigurationSupport.flashMapManager() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFlashMapManager
A base class for
FlashMapManager implementations. |
class |
SessionFlashMapManager
Store and retrieve
FlashMap instances to and from the HTTP session. |
Modifier and Type | Method and Description |
---|---|
static FlashMapManager |
RequestContextUtils.getFlashMapManager(HttpServletRequest request)
Return the
FlashMapManager instance to save flash attributes. |