org.objectweb.jonathan.apis.protocols.http
Interface HttpProtocol

All Superinterfaces:
Protocol

public interface HttpProtocol
extends Protocol

Defines a protocol for GIOP over HTTP.

Author:
Sylvain Chambon <sylvain.chambon@kelua.com>

Method Summary
 ProtocolGraph newProtocolGraph()
          Creates a new ProtocolGraph dealing with HTTP
 ProtocolGraph newProtocolGraph(java.lang.String url)
          Creates a new ProtocolGraph dealing with HTTP
 HttpSessionIdentifier newSessionIdentifier(java.lang.String url)
          Creates a new session identifier
 HttpSessionIdentifier newSessionIdentifier(java.lang.String url, java.lang.String host, int port)
          Creates a new session identifier
 
Methods inherited from interface org.objectweb.jonathan.apis.protocols.Protocol
createProtocolGraph, createSessionIdentifier, isAnInvocationProtocol
 

Method Detail

newProtocolGraph

public ProtocolGraph newProtocolGraph()
Creates a new ProtocolGraph dealing with HTTP

Returns:
a new ProtocolGraph

newProtocolGraph

public ProtocolGraph newProtocolGraph(java.lang.String url)
Creates a new ProtocolGraph dealing with HTTP

Parameters:
url - the desired URL
Returns:
a new ProtocolGraph

newSessionIdentifier

public HttpSessionIdentifier newSessionIdentifier(java.lang.String url)
Creates a new session identifier

Parameters:
url - the URL of the server
Returns:
a new ProtocolGraph

newSessionIdentifier

public HttpSessionIdentifier newSessionIdentifier(java.lang.String url,
                                                  java.lang.String host,
                                                  int port)
Creates a new session identifier

Parameters:
url - the URL of the server
host - the TCP/IP host of the server
port - the TCP/IP port of the server
Returns:
a new ProtocolGraph