【文件属性】:
文件名称:spring-mvc-tutorial-protobuf
文件大小:67KB
文件格式:ZIP
更新时间:2021-06-08 04:52:26
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
----gradlew(5KB)
----settings.gradle(51B)
----src()
--------test()
--------main()
----generated()
--------main()
----gradle()
--------wrapper()
----README.md(2KB)
----gradlew.bat(2KB)
----.gitignore(43B)
----build.gradle(1KB)