Java Doc for ResponseBufferService.java in » Portal » Open-Portal » com » sun » mobile » responsebuffer » Java Source Code / Java DocumentationJava Source Code and Java Documentation
createEntry(SSOToken token, String request_url, HttpServletRequest request) Creates a ResponseBufferEntry object in a ResponseBufferGroup which is
indexed by the given SSOToken.
getEntry(SSOToken token, Integer entry_number) Gets the ResponseBufferEntry object for the given response buffer entry
number from the ResponseBufferGroup indexed by the given SSOToken.
getEntry(String session_id, Integer entry_number) Gets the ResponseBufferEntry object for the given response buffer entry
number from the ResponseBufferGroup indexed by the given session id.
getRequestURL(SSOToken token, Integer entry_number) Returns the request url for the ResponseBufferEntry object indexed by
response buffer entry number from the ResponseBufferGroup indexed by
the given SSOToken.
setBaseURL(String base_url) Returns the base URL used to access the contents of the
ResponseBufferGroup.
public void
ssoTokenChanged(SSOTokenEvent event) We listen to SSOTokenEvents and remove the corresponding SSOToken to
ResponseBufferGroup mappings when token expires.
This contains the name used to add response buffer entry number information
to the url
i.e. http://<host>:<port>?<ENTRY_NUMBER>=<some value>&...
ENTRY_NUMBER_RADIX
final protected static int ENTRY_NUMBER_RADIX(Code)
This contains the radix used to encode response buffer entry number information
to the url
i.e. http://<host>:<port>?<ENTRY_NUMBER>=<radix encoded value>&...
Returns the base URL used to access the contents of the
ResponseBufferGroup. To access a particular entry the request
url should have the following query information appended.
<ENTRY_NUMBER>=<x>&...
Returns the request url for the ResponseBufferEntry object indexed by
response buffer entry number from the ResponseBufferGroup indexed by
the given SSOToken.
Returns the request url for the ResponseBufferEntry object indexed by
response buffer entry number from the ResponseBufferGroup indexed by
the given SessionId
Returns the base URL used to access the contents of the
ResponseBufferGroup. To access a particular entry the request
url should have the following query information appended.
<ENTRY_NUMBER>=<x>&...
ssoTokenChanged
public void ssoTokenChanged(SSOTokenEvent event)(Code)
We listen to SSOTokenEvents and remove the corresponding SSOToken to
ResponseBufferGroup mappings when token expires.