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) Configure theMethodArgumentResolver
s to use in addition to the ones registered by default.default void
addInterceptors
(List<EndpointInterceptor> interceptors) AddEndpointInterceptor
s for pre- and post-processing of endpoint method invocations.default void
addReturnValueHandlers
(List<MethodReturnValueHandler> returnValueHandlers) Configure theMethodReturnValueHandler
s to use in addition to the ones registered by default.
-
Method Details
-
addInterceptors
AddEndpointInterceptor
s for pre- and post-processing of endpoint method invocations. -
addArgumentResolvers
Configure theMethodArgumentResolver
s to use in addition to the ones registered by default.- Parameters:
argumentResolvers
- the list of resolvers; initially the default resolvers
-
addReturnValueHandlers
Configure theMethodReturnValueHandler
s to use in addition to the ones registered by default.- Parameters:
returnValueHandlers
- the list of handlers; initially the default handlers
-