Interface SessionService

All Known Implementing Classes:
SessionServiceImpl

public interface SessionService
A SessionService is a service for obtaining a Session for the purposes of session authentication. An EsendexException is thrown to indicate either a problem during the underlying connection or there was a none okay response.
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains a session for authentication of subsequent resources by session authentication.
  • Method Details

    • getSession

      SessionResponse getSession() throws EsendexException
      Obtains a session for authentication of subsequent resources by session authentication.
      Returns:
      a session object that wraps the session id
      Throws:
      EsendexException - to indicate a problem during the underlying connection or there was a none okay response.