public class WsConfigurerComposite extends Object implements WsConfigurer
WsConfigurer
implementation that delegates to other WsConfigurer
instances.Constructor and Description |
---|
WsConfigurerComposite() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
Add resolvers to support custom endpoint method argument types.
|
void |
addInterceptors(List<EndpointInterceptor> interceptors)
Add
EndpointInterceptor s for pre- and post-processing of
endpoint method invocations. |
void |
addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
Add handlers to support custom controller method return value types.
|
void |
addWsConfigurers(List<WsConfigurer> configurers) |
public void addWsConfigurers(List<WsConfigurer> configurers)
public void addInterceptors(List<EndpointInterceptor> interceptors)
WsConfigurer
EndpointInterceptor
s for pre- and post-processing of
endpoint method invocations.addInterceptors
in interface WsConfigurer
public void addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
WsConfigurer
addArgumentResolvers
in interface WsConfigurer
argumentResolvers
- initially an empty listpublic void addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
WsConfigurer
Using this option does not override the built-in support for handling return values. To customize the built-in support for handling return values, configure RequestMappingHandlerAdapter directly.
addReturnValueHandlers
in interface WsConfigurer
returnValueHandlers
- initially an empty listCopyright © 2018 Pivotal Software. All rights reserved.