class

Analyzer::Specification::Thrift

Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object

Apache Thrift IDL services, represented the way the gRPC analyzer represents a pure protobuf service: one POST /<Service>/<function> endpoint per function with protocol = "thrift" and the function's arguments as body params.

The URL carries no namespace. Unlike a protobuf package, a Thrift namespace is per target language and never reaches the wire — the message header names only the function (or Service:function behind a TMultiplexedProtocol).

Constants

TAGGER = "thrift_analyzer"

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

Instance-side view of the same declaration. The per-file rescues live on this base class, which has no way to name the analyzer that is running inside them, so a skipped file could not be attributed to a tech. Deriving it from analyzer_for keeps the name written exactly once.

Source

Nested types