Package org.yamcs.http
package org.yamcs.http
-
ClassDescriptionAn HTTP-specific subservice whose lifecycle is managed by
HttpServer.When there were errors in interpreting the requestAHttpHandlerthat allows request bodies.Observes the state of a single RPC call where both request and response are non-streaming.Request context used in RPC-style endpoints.Handles favicon requests.When there was an authz exceptionDefault HTTP exception.Handles handshakes and messages.Server-wide HTTP server based on Netty that provides a number of Yamcs web services: REST API WebSocket API Static file servingConverts HTTP requests to Protobuf messages used in API definitions.Something really wrong and unexpected occurred on the server.Syntactic sugar around a media type string.When an unsupported HTTP method was used for a specific pathWhen a resource (only the part identified by the request uri) could not be found.Handles robots.txt requests, to advise against web crawling.A message observer that implements a streaming response over HTTP using chunked transfer encoding.Something really wrong and unexpected occurred on the server.Context for a specific RPC call over a (shared) WebSocket connection.When the request was valid, but did not pass authentication.Receives (potentially compressed) websocket frames (each containing a message), and handles message priorities, to drop low priority messages, if they would otherwise exceed the high write watermark.EncodesServerMessageto eitherBinaryWebSocketFrameorTextWebSocketFramedepending if the protobuf or json has to be sent.RFC 8615 endpoint used by various protocols.