public interface IWSClientSession
Modifier and Type | Method and Description |
---|---|
AuthCredentials |
getAuthCredentials()
Get the
AuthCredentials used by the session to authenicate web service requests. |
String |
getHostURL()
Get the configured endPoint for this session (and ProxyContext)
|
String |
getID()
The unique ID that describes this session
|
electric.glue.context.ProxyContext |
getProxyContext()
Get the context created for this Session.
|
Map<String,String> |
getSessionCookieMap()
Retirve the session cookies as a map
|
electric.http.cookies.ClientCookie[] |
getSessionCookies()
Get any the ClientCookie[] associated with this session
|
boolean |
isBusy()
Is this session currently servicing a web service request
|
boolean |
isExpired()
Has this session been flagged for expiration
|
void |
setAuthCredentials(AuthCredentials authCredentials)
Set the AuthCredentials of the session
|
void |
setBusy(boolean busy)
Mark this session as busy and not available to handle another request
|
void |
setExpired(boolean expired)
Mark this session as expired
|
void |
setSessionCookieMap(Map<String,String> cookies)
set the cookies
|
void |
setSessionCookies(electric.http.cookies.ClientCookie[] m_sessionCookies)
Set the session's client cookies
|
String getID()
electric.glue.context.ProxyContext getProxyContext()
void setAuthCredentials(AuthCredentials authCredentials)
{@link
- AuthCredentials} object used to authenticate the web service
request.AuthCredentials getAuthCredentials()
AuthCredentials
used by the session to authenicate web service requests.String getHostURL()
boolean isExpired()
void setExpired(boolean expired)
expired
- true if this session is no longer validboolean isBusy()
void setBusy(boolean busy)
busy
- true if the session is busyelectric.http.cookies.ClientCookie[] getSessionCookies()
void setSessionCookies(electric.http.cookies.ClientCookie[] m_sessionCookies)
m_sessionCookies
- - an array of ClientCookie objectsvoid setSessionCookieMap(Map<String,String> cookies)
cookies
- as a map of strings