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
Author:
Arjen Poutsma
  • Method Details

    • addInterceptors

      void addInterceptors(List<EndpointInterceptor> interceptors)
      Add EndpointInterceptors for pre- and post-processing of endpoint method invocations.
    • addArgumentResolvers

      void addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
      Add resolvers to support custom endpoint method argument types.
      Parameters:
      argumentResolvers - initially an empty list
    • addReturnValueHandlers

      void addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
      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