Package org.yamcs.http
Class HttpTranscoder
java.lang.Object
org.yamcs.http.HttpTranscoder
Converts HTTP requests to Protobuf messages used in API definitions.
This is largely inspired from how Google Cloud transcodes HTTP to gRPC. The advantage of transcoding is that the API implementation can be largely agnostic of HTTP and that it can profit from Protobuf generated code without needing to distinguish between route params, query params, request bodies and so on.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HttpTranscoder
public HttpTranscoder()
-
-
Method Details
-
transcode
- Throws:
HttpTranscodeException
-