Interface ApiRequestsAnalyser

  • All Implemented Interfaces:

    
    public interface ApiRequestsAnalyser
    
                        

    Interface for analyse requests of the SDK. It can be use to understand how the SDK is calling the backend API.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • registerRequest

         abstract Unit registerRequest(String requestName, Map<String, String> data)

        Registers the request using the name as an ID.

        Parameters:
        data - All the data that should be included in the analyser about the request.
      • dumpRequestByName

         abstract String dumpRequestByName(String requestName)

        Gets the information about the request by name

        Parameters:
        requestName - The name of the request.
      • dumpAll

         abstract String dumpAll()

        Gets all the information in the analyser.

      • clearAll

         abstract Unit clearAll()

        Clears all the information of the analyser. Should be used to avoid batches of data that are too big to understand.

      • clearRequestContaining

         abstract Unit clearRequestContaining(String queryText)

        Clear an specific requests containing some string in its name. Return -1 it the request is not found.