Object Encoding.Companion

    • Constructor Detail

    • Method Detail

      • getZENOH_BYTES

         final Encoding getZENOH_BYTES()

        Just some bytes.

        Constant alias for string: "zenoh/bytes".

        Usually used for types: ByteArray, List<Byte>.

      • getZENOH_STRING

         final Encoding getZENOH_STRING()

        A UTF-8 string.

        Constant alias for string: "zenoh/string".

        Usually used for type: String.

      • getAPPLICATION_JSON

         final Encoding getAPPLICATION_JSON()

        JSON data intended to be consumed by an application.

        Constant alias for string: "application/json".

      • getTEXT_JSON

         final Encoding getTEXT_JSON()

        JSON data intended to be human readable.

        Constant alias for string: "text/json".

      • getAPPLICATION_CDR

         final Encoding getAPPLICATION_CDR()

        A Common Data Representation (CDR)-encoded data.

        Constant alias for string: "application/cdr".

      • getAPPLICATION_CBOR

         final Encoding getAPPLICATION_CBOR()

        A Concise Binary Object Representation (CBOR)-encoded data.

        Constant alias for string: "application/cbor".

      • getAPPLICATION_YAML

         final Encoding getAPPLICATION_YAML()

        YAML data intended to be consumed by an application.

        Constant alias for string: "application/yaml".

      • getTEXT_YAML

         final Encoding getTEXT_YAML()

        YAML data intended to be human readable.

        Constant alias for string: "text/yaml".

      • getTEXT_JSON5

         final Encoding getTEXT_JSON5()

        JSON5 encoded data that are human readable.

        Constant alias for string: "text/json5".

      • getAPPLICATION_PROTOBUF

         final Encoding getAPPLICATION_PROTOBUF()

        An application-specific protobuf-encoded data.

        Constant alias for string: "application/protobuf".

      • getIMAGE_PNG

         final Encoding getIMAGE_PNG()

        A Portable Network Graphics (PNG) image.

        Constant alias for string: "image/png".

      • getIMAGE_JPEG

         final Encoding getIMAGE_JPEG()

        A Joint Photographic Experts Group (JPEG) image.

        Constant alias for string: "image/jpeg".

      • getIMAGE_GIF

         final Encoding getIMAGE_GIF()

        A Graphics Interchange Format (GIF) image.

        Constant alias for string: "image/gif".

      • getIMAGE_BMP

         final Encoding getIMAGE_BMP()

        A BitMap (BMP) image.

        Constant alias for string: "image/bmp".

      • getAPPLICATION_XML

         final Encoding getAPPLICATION_XML()

        An XML file intended to be consumed by an application.

        Constant alias for string: "application/xml".

      • getTEXT_XML

         final Encoding getTEXT_XML()

        An XML file that is human readable.

        Constant alias for string: "text/xml".

      • getAPPLICATION_SQL

         final Encoding getAPPLICATION_SQL()

        An application-specific SQL query.

        Constant alias for string: "application/sql".

      • getAPPLICATION_COAP_PAYLOAD

         final Encoding getAPPLICATION_COAP_PAYLOAD()

        Constrained Application Protocol (CoAP) data intended for CoAP-to-HTTP and HTTP-to-CoAP proxies.

        Constant alias for string: "application/coap-payload".

      • getAPPLICATION_JSON_PATCH_JSON

         final Encoding getAPPLICATION_JSON_PATCH_JSON()

        Defines a JSON document structure for expressing a sequence of operations to apply to a JSON document.

        Constant alias for string: "application/json-patch+json".

      • getAPPLICATION_JSON_SEQ

         final Encoding getAPPLICATION_JSON_SEQ()

        A JSON text sequence consists of any number of JSON texts, all encoded in UTF-8.

        Constant alias for string: "application/json-seq".

      • getAPPLICATION_JSONPATH

         final Encoding getAPPLICATION_JSONPATH()

        A JSONPath defines a string syntax for selecting and extracting JSON values from within a given JSON value.

        Constant alias for string: "application/jsonpath".

      • getAPPLICATION_MP4

         final Encoding getAPPLICATION_MP4()

        An application-specific MPEG-4 encoded data, either audio or video.

        Constant alias for string: "application/mp4".

      • getAPPLICATION_SOAP_XML

         final Encoding getAPPLICATION_SOAP_XML()

        A SOAP 1.2 message serialized as XML 1.0.

        Constant alias for string: "application/soap+xml".

      • getAPPLICATION_YANG

         final Encoding getAPPLICATION_YANG()

        A YANG-encoded data commonly used by the Network Configuration Protocol (NETCONF).

        Constant alias for string: "application/yang".

      • getAUDIO_AAC

         final Encoding getAUDIO_AAC()

        A MPEG-4 Advanced Audio Coding (AAC) media.

        Constant alias for string: "audio/aac".

      • getAUDIO_FLAC

         final Encoding getAUDIO_FLAC()

        A Free Lossless Audio Codec (FLAC) media.

        Constant alias for string: "audio/flac".

      • getAUDIO_MP4

         final Encoding getAUDIO_MP4()

        An audio codec defined in MPEG-1, MPEG-2, MPEG-4, or registered at the MP4 registration authority.

        Constant alias for string: "audio/mp4".

      • getAUDIO_OGG

         final Encoding getAUDIO_OGG()

        An Ogg-encapsulated audio stream.

        Constant alias for string: "audio/ogg".

      • getAUDIO_VORBIS

         final Encoding getAUDIO_VORBIS()

        A Vorbis-encoded audio stream.

        Constant alias for string: "audio/vorbis".

      • getVIDEO_H261

         final Encoding getVIDEO_H261()

        A h261-encoded video stream.

        Constant alias for string: "video/h261".

      • getVIDEO_H263

         final Encoding getVIDEO_H263()

        A h263-encoded video stream.

        Constant alias for string: "video/h263".

      • getVIDEO_H264

         final Encoding getVIDEO_H264()

        A h264-encoded video stream.

        Constant alias for string: "video/h264".

      • getVIDEO_H265

         final Encoding getVIDEO_H265()

        A h265-encoded video stream.

        Constant alias for string: "video/h265".

      • getVIDEO_H266

         final Encoding getVIDEO_H266()

        A h266-encoded video stream.

        Constant alias for string: "video/h266".

      • getVIDEO_MP4

         final Encoding getVIDEO_MP4()

        A video codec defined in MPEG-1, MPEG-2, MPEG-4, or registered at the MP4 registration authority.

        Constant alias for string: "video/mp4".

      • getVIDEO_OGG

         final Encoding getVIDEO_OGG()

        An Ogg-encapsulated video stream.

        Constant alias for string: "video/ogg".

      • getVIDEO_RAW

         final Encoding getVIDEO_RAW()

        An uncompressed, studio-quality video stream.

        Constant alias for string: "video/raw".

      • getVIDEO_VP8

         final Encoding getVIDEO_VP8()

        A VP8-encoded video stream.

        Constant alias for string: "video/vp8".

      • getVIDEO_VP9

         final Encoding getVIDEO_VP9()

        A VP9-encoded video stream.

        Constant alias for string: "video/vp9".