package jalview.httpserver;
+import jalview.rest.RestHandler;
+
import java.net.BindException;
import java.net.URI;
import java.util.Collections;
import org.eclipse.jetty.server.handler.HandlerCollection;
import org.eclipse.jetty.util.thread.QueuedThreadPool;
-import jalview.rest.RestHandler;
-
/**
* An HttpServer built on Jetty. To use it
* <ul>
*
* @param handler
*/
- public void removeHandler(Handler handler)
+ public void removeHandler(AbstractRequestHandler handler)
{
/*
* Have to use this cached lookup table since there is no method
{
contextHandlers.removeHandler(ch);
myHandlers.remove(handler);
+ System.out.println("Stopped Jalview " + handler.getName()
+ + " handler on " + handler.getUri());
}
}
}