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. Consider
extending WsConfigurerAdapter, which provides a stub implementation of all
interface methods.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgumentResolvers(List<MethodArgumentResolver> argumentResolvers) Add resolvers to support custom endpoint method argument types.voidaddInterceptors(List<EndpointInterceptor> interceptors) AddEndpointInterceptors for pre- and post-processing of endpoint method invocations.voidaddReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers) Add handlers to support custom controller method return value types.
-
Method Details
-
addInterceptors
AddEndpointInterceptors 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
-