public class WsConfigurerAdapter extends Object implements WsConfigurer
WsConfigurer
with empty methods allowing
sub-classes to override only the methods they're interested in.Constructor and Description |
---|
WsConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
Add resolvers to support custom endpoint method argument types.
|
void |
addInterceptors(List<EndpointInterceptor> interceptors)
Add
EndpointInterceptor s for pre- and post-processing of
endpoint method invocations. |
void |
addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
Add handlers to support custom controller method return value types.
|
public void addInterceptors(List<EndpointInterceptor> interceptors)
EndpointInterceptor
s for pre- and post-processing of
endpoint method invocations.
This implementation is empty.
addInterceptors
in interface WsConfigurer
public void addArgumentResolvers(List<MethodArgumentResolver> argumentResolvers)
This implementation is empty.
addArgumentResolvers
in interface WsConfigurer
argumentResolvers
- initially an empty listpublic void addReturnValueHandlers(List<MethodReturnValueHandler> returnValueHandlers)
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.
This implementation is empty.
addReturnValueHandlers
in interface WsConfigurer
returnValueHandlers
- initially an empty list