org.outerj.daisy.httpconnector
Interface HttpConnector


public interface HttpConnector


Method Summary
 void addHandler(org.mortbay.http.HttpHandler handler)
          Adds a new handler to the HTTP context.
 void removeHandler(org.mortbay.http.HttpHandler handler)
           
 

Method Detail

addHandler

public void addHandler(org.mortbay.http.HttpHandler handler)
                throws java.lang.Exception
Adds a new handler to the HTTP context. This allows other components in the repository server to expose functionality on the same port and using the same HTTP server as the repository HTTPConnector.

Some remarks:

Parameters:
handler - a Jetty HttpHandler
Throws:
java.lang.Exception

removeHandler

public void removeHandler(org.mortbay.http.HttpHandler handler)


Copyright © -2005 . All Rights Reserved.