Apache CXF API

org.apache.cxf.transport.http_jetty
Interface ServerEngine

All Known Implementing Classes:
JettyHTTPServerEngine, JettyHTTPServerEngineBeanDefinitionParser.SpringJettyHTTPServerEngine

public interface ServerEngine


Method Summary
 void addServant(URL url, JettyHTTPHandler handler)
          Register a servant.
 org.eclipse.jetty.server.Handler getServant(URL url)
          Get a previously registered servant.
 void removeServant(URL url)
          Remove a previously registered servant.
 

Method Detail

addServant

void addServant(URL url,
                JettyHTTPHandler handler)
Register a servant.

Parameters:
url - the URL associated with the servant
handler - notified on incoming HTTP requests

removeServant

void removeServant(URL url)
Remove a previously registered servant.

Parameters:
url - the URL the servant was registered against.

getServant

org.eclipse.jetty.server.Handler getServant(URL url)
Get a previously registered servant.

Parameters:
url - the associated URL
Returns:
the HttpHandler if registered

Apache CXF API

Apache CXF