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