接口 Serialization

    • 方法详细资料

      • getContentTypeId

        byte getContentTypeId()
        Get content type unique id, recommended that custom implementations use values different with any value of Constants and don't greater than ExchangeCodec.SERIALIZATION_MASK (31) because dubbo protocol use 5 bits to record serialization ID in header.
        返回:
        content type id
      • getContentType

        String getContentType()
        Get content type
        返回:
        content type