Interface WsConfigurer
- All Known Implementing Classes:
WsConfigurerAdapter
,WsConfigurerComposite
public interface WsConfigurer
Defines callback methods to customize the Java-based configuration for Spring Web
Services enabled via
@EnableWs
.
@EnableWs
-annotated configuration classes may implement this interface to be
called back and given a chance to customize the default configuration.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addArgumentResolvers
(List<MethodArgumentResolver> argumentResolvers) Add resolvers to support custom endpoint method argument types.default void
addInterceptors
(List<EndpointInterceptor> interceptors) AddEndpointInterceptor
s for pre- and post-processing of endpoint method invocations.default void
addReturnValueHandlers
(List<MethodReturnValueHandler> returnValueHandlers) Add handlers to support custom controller method return value types.
-
Method Details
-
addInterceptors
AddEndpointInterceptor
s for pre- and post-processing of endpoint method invocations. -
addArgumentResolvers
Add resolvers to support custom endpoint method argument types.- Parameters:
argumentResolvers
- initially an empty list
-
addReturnValueHandlers
Add handlers to support custom controller method return value types.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.
- Parameters:
returnValueHandlers
- initially an empty list
-