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 Details

    • addInterceptors

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

      default void addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
      Configure the MethodArgumentResolvers to use in addition to the ones registered by default.
      Parameters:
      argumentResolvers - the list of resolvers; initially the default resolvers
    • addReturnValueHandlers

      default void addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
      Configure the MethodReturnValueHandlers to use in addition to the ones registered by default.
      Parameters:
      returnValueHandlers - the list of handlers; initially the default handlers