【文件属性】:
文件名称:spring-mvc-tutorial-protobuf:ProtocolBuffers + Spring MVC 4.1
文件大小:18KB
文件格式:ZIP
更新时间:2021-07-06 22:59:04
Java
使用 ProtocolBuffers + Spring MVC 的示例应用程序
获取protobuf
$ curl -v http://localhost:8080/person
> GET /person HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: * / *
>
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< X-Protobuf-Schema: src/main/proto/tutorial/addressbook.proto
< X-Protobuf-Message: tutorial.Person
< Content-Type: application/x-protobuf ; charset=UTF-8
< Content-Length:
【文件预览】:
spring-mvc-tutorial-protobuf-master
----.gitignore(37B)
----src()
--------main()
--------test()
----pom.xml(3KB)
----README.md(2KB)