org.objectweb.jonathan.protocols.http.api

Class HttpSessionIdentifier

Implemented Interfaces:
ProtocolIdentifiers, SessionIdentifier

public abstract class HttpSessionIdentifier
extends Object
implements SessionIdentifier, ProtocolIdentifiers

The superclass of all HTTP session identifiers.

Field Summary

String
url
URL of this session identifier

Fields inherited from interface org.objectweb.jonathan.protocols.api.ProtocolIdentifiers

GIOP, HTTP, MULTICASTIP, MULTIPLEX, RTP, TCPIP

Constructor Summary

HttpSessionIdentifier()
Constructs a new empty HttpSessionIdentifier
HttpSessionIdentifier(String url)
Constructs a new HttpSessionIdentifier with the specified URL

Method Summary

Context
getInfo()
int
getProtocolId()
SessionIdentifier[]
next()
Returns an empty array: this is a leaf protocol really.

Field Details

url

public String url
URL of this session identifier

Constructor Details

HttpSessionIdentifier

public HttpSessionIdentifier()
Constructs a new empty HttpSessionIdentifier


HttpSessionIdentifier

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

Parameters:
url - the url

Method Details

getInfo

public Context getInfo()
            throws JonathanException
Specified by:
getInfo in interface SessionIdentifier


getProtocolId

public int getProtocolId()
Specified by:
getProtocolId in interface SessionIdentifier


next

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