public class ScopedSession extends ScopedObject implements SessionManager.SipSessionIf, java.io.Serializable
| Constructor and Description |
|---|
ScopedSession(Session session) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.sip.SipServletRequest |
createRequest(java.lang.String method) |
boolean |
equals(java.lang.Object o) |
javax.servlet.sip.SipApplicationSession |
getApplicationSession() |
protected ApplicationSession |
getAppSession() |
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getCallId() |
long |
getCreationTime() |
java.lang.String |
getId() |
boolean |
getInvalidateWhenReady() |
long |
getLastAccessedTime() |
javax.servlet.sip.Address |
getLocalParty() |
javax.servlet.sip.ar.SipApplicationRoutingRegion |
getRegion() |
javax.servlet.sip.Address |
getRemoteParty() |
javax.servlet.ServletContext |
getServletContext() |
Session |
getSession() |
javax.servlet.sip.SipSession.State |
getState() |
javax.servlet.sip.URI |
getSubscriberURI() |
int |
hashCode() |
void |
invalidate() |
boolean |
isReadyToInvalidate() |
boolean |
isValid() |
void |
removeAttribute(java.lang.String name) |
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setHandler(java.lang.String name) |
void |
setInvalidateWhenReady(boolean invalidateWhenReady) |
void |
setOutboundInterface(java.net.InetAddress address) |
void |
setOutboundInterface(java.net.InetSocketAddress address) |
java.lang.String |
toString() |
openScopepublic ScopedSession(Session session)
public javax.servlet.sip.SipServletRequest createRequest(java.lang.String method)
createRequest in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.SipApplicationSession getApplicationSession()
getApplicationSession in interface javax.servlet.sip.SipSessionpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface javax.servlet.sip.SipSessionpublic java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames in interface javax.servlet.sip.SipSessionpublic java.lang.String getCallId()
getCallId in interface javax.servlet.sip.SipSessionpublic long getCreationTime()
getCreationTime in interface javax.servlet.sip.SipSessionpublic java.lang.String getId()
getId in interface javax.servlet.sip.SipSessionpublic boolean getInvalidateWhenReady()
getInvalidateWhenReady in interface javax.servlet.sip.SipSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.Address getLocalParty()
getLocalParty in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.ar.SipApplicationRoutingRegion getRegion()
getRegion in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.Address getRemoteParty()
getRemoteParty in interface javax.servlet.sip.SipSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.SipSession.State getState()
getState in interface javax.servlet.sip.SipSessionpublic javax.servlet.sip.URI getSubscriberURI()
getSubscriberURI in interface javax.servlet.sip.SipSessionpublic void invalidate()
invalidate in interface javax.servlet.sip.SipSessionpublic boolean isReadyToInvalidate()
isReadyToInvalidate in interface javax.servlet.sip.SipSessionpublic boolean isValid()
isValid in interface javax.servlet.sip.SipSessionpublic void removeAttribute(java.lang.String name)
removeAttribute in interface javax.servlet.sip.SipSessionpublic void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface javax.servlet.sip.SipSessionpublic void setHandler(java.lang.String name)
throws javax.servlet.ServletException
setHandler in interface javax.servlet.sip.SipSessionjavax.servlet.ServletExceptionpublic void setInvalidateWhenReady(boolean invalidateWhenReady)
setInvalidateWhenReady in interface javax.servlet.sip.SipSessionpublic void setOutboundInterface(java.net.InetAddress address)
setOutboundInterface in interface javax.servlet.sip.SipSessionpublic void setOutboundInterface(java.net.InetSocketAddress address)
setOutboundInterface in interface javax.servlet.sip.SipSessionpublic Session getSession()
getSession in interface SessionManager.SipSessionIfpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected ApplicationSession getAppSession()
getAppSession in class ScopedObjectCopyright © 2015. All Rights Reserved.