org.objectweb.jonathan.apis.protocols.http
Class HttpSessionIdentifier

java.lang.Object
  extended byorg.objectweb.jonathan.apis.protocols.http.HttpSessionIdentifier
All Implemented Interfaces:
ProtocolIdentifiers, SessionIdentifier

public abstract class HttpSessionIdentifier
extends java.lang.Object
implements SessionIdentifier, ProtocolIdentifiers

The superclass of all HTTP session identifiers.


Field Summary
 java.lang.String url
          URL of this session identifier
 
Fields inherited from interface org.objectweb.jonathan.apis.protocols.ProtocolIdentifiers
GIOP, HTTP, MULTICASTIP, MULTIPLEX, RTP, TCPIP
 
Constructor Summary
HttpSessionIdentifier()
          Constructs a new empty HttpSessionIdentifier
HttpSessionIdentifier(java.lang.String url)
          Constructs a new HttpSessionIdentifier with the specified URL
 
Method Summary
 org.objectweb.jonathan.apis.kernel.Context getInfo()
          Yield info about this session, as a Context.
 int getProtocolId()
          What kind of protocol does this session identifier relate to?
 SessionIdentifier[] next()
          Returns an empty array: this is a leaf protocol really.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonathan.apis.protocols.SessionIdentifier
bind, getProtocol, isLocal, unexport
 

Field Detail

url

public java.lang.String url
URL of this session identifier

Constructor Detail

HttpSessionIdentifier

public HttpSessionIdentifier(java.lang.String url)
Constructs a new HttpSessionIdentifier with the specified URL

Parameters:
url - the url

HttpSessionIdentifier

public HttpSessionIdentifier()
Constructs a new empty HttpSessionIdentifier

Method Detail

next

public SessionIdentifier[] next()
Returns an empty array: this is a leaf protocol really.

Specified by:
next in interface SessionIdentifier

getProtocolId

public int getProtocolId()
Description copied from interface: SessionIdentifier
What kind of protocol does this session identifier relate to?

Specified by:
getProtocolId in interface SessionIdentifier

getInfo

public org.objectweb.jonathan.apis.kernel.Context getInfo()
                                                   throws org.objectweb.jonathan.apis.kernel.JonathanException
Description copied from interface: SessionIdentifier
Yield info about this session, as a Context.

Specified by:
getInfo in interface SessionIdentifier
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException