/* * @see org.mortbay.jetty.AbstractConnector#doStart() */ protected void doStart() throws Exception { super.doStart(); // TODO - is there a non-blocking way to do this? new Thread() { public void run() { try { controller.start(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }.start(); }
/* * @see org.mortbay.jetty.AbstractConnector#doStop() */ protected void doStop() throws Exception { super.doStop(); controller.stop(); }
/* ------------------------------------------------------------------------------- */ public void customize(EndPoint endpoint, Request request) throws IOException { super.customize(endpoint, request); }