public interface ConvergedHttpSession
extends javax.servlet.http.HttpSession
Modifier and Type | Method and Description |
---|---|
String |
encodeURL(String url)
This method encodes the HTTP URL with the jsessionid.
|
String |
encodeURL(String relativePath,
String scheme)
Converts the given relative path to an absolute URL by
prepending the contextPath for the current ServletContext, the given
scheme ("http" or "https"), and the host:port, and then encoding the
resulting URL with the jsessionid.
|
SipApplicationSession |
getApplicationSession()
Returns the parent SipApplicationSession if it exists, if none exists
then a new one is created and returned after associating it with the
converged http session.
|
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval
SipApplicationSession getApplicationSession()
String encodeURL(String url)
url
- the HTTP URL String to be encodedString encodeURL(String relativePath, String scheme)
For example, this method converts:
from:Where, "/mywebapp" is the contextPath for the current ServletContext server is the front end host defined for the web server."/foo.jsp"
to:"http://server:8888/mywebapp/foo.jsp;jsessionid=http-session-id"
relativePath
- relative to the current webappscheme
- the scheme ("http" or "https")Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.