Class InweboService


  • public class InweboService
    extends java.lang.Object
    The Inwebo service.
    Since:
    6.4.0
    • Constructor Detail

      • InweboService

        public InweboService()
    • Method Detail

      • retrieveDeviceName

        protected static void retrieveDeviceName​(com.fasterxml.jackson.databind.JsonNode json,
                                                 InweboDeviceNameResponse response)
        Retrieve device name.
        Parameters:
        json - the json
        response - the response
      • loginSearch

        public InweboLoginSearchResponse loginSearch​(java.lang.String login)
        Login search.
        Parameters:
        login - the login
        Returns:
        the inwebo login search response
      • pushAuthenticate

        public InweboPushAuthenticateResponse pushAuthenticate​(java.lang.String login)
        Push authenticate.
        Parameters:
        login - the login
        Returns:
        the inwebo push authenticate response
      • checkPushResult

        public InweboDeviceNameResponse checkPushResult​(java.lang.String login,
                                                        java.lang.String sessionId)
        Check push result for inwebo device.
        Parameters:
        login - the login
        sessionId - the session id
        Returns:
        the inwebo device name response
      • authenticateExtended

        public InweboDeviceNameResponse authenticateExtended​(java.lang.String login,
                                                             java.lang.String token)
        Extend the authentication attempt.
        Parameters:
        login - the login
        token - the token
        Returns:
        the inwebo device name response
      • call

        protected com.fasterxml.jackson.databind.JsonNode call​(java.lang.String url)
        Call url.
        Parameters:
        url - the url
        Returns:
        the json node
      • buildResponse

        protected AbstractInweboResponse buildResponse​(AbstractInweboResponse response,
                                                       java.lang.String operation,
                                                       java.lang.String err)
        Build response.
        Parameters:
        response - the response
        operation - the operation
        err - the err
        Returns:
        the abstract inwebo response