org.objectweb.jonathan.protocols.http.api

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(String url)
Creates a new ProtocolGraph dealing with HTTP
HttpSessionIdentifier
newSessionIdentifier(String url)
Creates a new session identifier
HttpSessionIdentifier
newSessionIdentifier(String url, String host, int port)
Creates a new session identifier

Methods inherited from interface org.objectweb.jonathan.protocols.api.Protocol

createProtocolGraph, createSessionIdentifier, isAnInvocationProtocol

Method Details

newProtocolGraph

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

Returns:
a new ProtocolGraph


newProtocolGraph

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

Parameters:
url - the desired URL

Returns:
a new ProtocolGraph


newSessionIdentifier

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

Parameters:
url - the URL of the server

Returns:
a new ProtocolGraph


newSessionIdentifier

public HttpSessionIdentifier newSessionIdentifier(String url,
                                                  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