Java 类org.springframework.http.converter.protobuf.ProtobufHttpMessageConverter 实例源码

项目:protobuf-powered-android    文件:Application.java   
@Bean
ProtobufHttpMessageConverter protobufHttpMessageConverter() {
    return new ProtobufHttpMessageConverter();
}
项目:spring-and-google-protocol-buffers    文件:DemoApplication.java   
@Bean
ProtobufHttpMessageConverter protobufHttpMessageConverter() {
    return new ProtobufHttpMessageConverter();
}
项目:spring-and-google-protocol-buffers    文件:DemoApplicationTests.java   
@Bean
RestTemplate restTemplate(ProtobufHttpMessageConverter hmc) {
    return new RestTemplate(Arrays.asList(hmc));
}
项目:spring-and-google-protocol-buffers    文件:DemoApplicationTests.java   
@Bean
ProtobufHttpMessageConverter protobufHttpMessageConverter() {
    return new ProtobufHttpMessageConverter();
}
项目:pinenut    文件:Application.java   
@Bean
public ProtobufHttpMessageConverter protobufHttpMessageConverter() {
    return new ProtobufHttpMessageConverter();
}