code: public void run()
     {
        ClassLoader oldCl = SecurityActions.getThreadContextClassLoader();
        try
        {
           SecurityActions.setThreadContextClassLoader(SecurityActions.getClassLoader(handler));
  
           InputStream is = socket.getInputStream();
           OutputStream os = socket.getOutputStream();
  
           Handler instance = createHandler();
           instance.handle(is, os);
        }
        catch (Throwable t)
        {
           t.printStackTrace(System.err);
        }
        finally
        {
           shutdown();
           SecurityActions.setThreadContextClassLoader(oldCl);
        }
     }
docs: Run