Package esendex.sdk.java.service.impl
Class SessionServiceImpl
java.lang.Object
esendex.sdk.java.service.impl.AbstractService
esendex.sdk.java.service.impl.SessionServiceImpl
- All Implemented Interfaces:
SessionService
A concrete SessionService.
-
Field Summary
Fields inherited from class esendex.sdk.java.service.impl.AbstractService
authenticator
-
Constructor Summary
ConstructorsConstructorDescriptionSessionServiceImpl
(BasicAuthenticator authenticator) Instantiates a new session service. -
Method Summary
Modifier and TypeMethodDescriptionObtains a session for authentication of subsequent resources by session authentication.
-
Constructor Details
-
SessionServiceImpl
Instantiates a new session service.- Parameters:
authenticator
- the authenticator
-
-
Method Details
-
getSession
Obtains a session for authentication of subsequent resources by session authentication.- Specified by:
getSession
in interfaceSessionService
- 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.
-