随笔分类 - Spring
摘要:1.配置类注解@Configuration.2.Bean注解 @Bean.3.导入其他配置类@Import.4.回调函数@Bean(initMethod = "init", destroyMethod = "cleanup" )5.作用范围 @Scope("prototype")6.例子publi...
阅读全文
摘要:1.通过MessageSender客户化http连接参数 AbstractHttpWebServiceMessageSender有若干实现子类: - CommonsHttpMessageSender(deprecated) - HttpComponentsMessageSender - HttpUrlConnectionMessageSender2.CommonsHttpMessageSender2.1 CommonsHttpMessageSender需要依赖于Apache httpclient包 commons-httpclient commons-httpclien...
阅读全文

浙公网安备 33010602011771号