Package org.appng.testsupport.config
Class RestTestConfig
- java.lang.Object
-
- org.appng.api.config.RestConfig
-
- org.appng.testsupport.config.RestTestConfig
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
@Configuration public class RestTestConfig extends RestConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.appng.api.config.RestConfig
RestConfig.SiteAwareHandlerMethodArgumentResolver
-
-
Constructor Summary
Constructors Constructor Description RestTestConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.test.web.servlet.MockMvc
buildMvc(org.springframework.context.ConfigurableApplicationContext context, Class<?> controllerClass)
static org.springframework.http.converter.HttpMessageConverter<?>[]
getMessageConverterArray(org.springframework.context.ApplicationContext context)
-
Methods inherited from class org.appng.api.config.RestConfig
addDateModules, byteArrayHttpMessageConverter, getArgumentResolvers, getDateModule, getMessageConverters, getPrimaryOrFirst, postProcessBeanFactory, siteAwareHandlerMethodArgumentResolver
-
-
-
-
Method Detail
-
getMessageConverterArray
public static org.springframework.http.converter.HttpMessageConverter<?>[] getMessageConverterArray(org.springframework.context.ApplicationContext context)
-
buildMvc
public static org.springframework.test.web.servlet.MockMvc buildMvc(org.springframework.context.ConfigurableApplicationContext context, Class<?> controllerClass)
-
-