org.objectweb.jonathan.protocols.http.api

Interface HttpServerConnectionFactory

public interface HttpServerConnectionFactory

A factory to manage servlets on this side of the OSGi bundle frontier. An implementation of this may be a delegate for an OSGi service.

Author:
Sylvain Chambon

Method Summary

HttpServerConnection
newServerConnection(String url)
Create a new servlet awaiting connections.

Method Details

newServerConnection

public HttpServerConnection newServerConnection(String url)
Create a new servlet awaiting connections.

Parameters:
url - the url for the servlet, or an empty string, or null.

Returns:
a new HttpServerConnection.