private void handleStaticSiteRequest(StaticSiteRequest.PointRequest request,TransportNetwork transportNetwork,TaskStatistics ts){
  StaticComputer computer=new StaticComputer(request,transportNetwork,ts);
  if (request.request.bucket != null)   computer.run();
 else {
    try {
      PipedInputStream pis=new PipedInputStream();
      PipedOutputStream pos=new PipedOutputStream(pis);
      finishPriorityTask(request,pis);
      computer.write(pos);
      pos.close();
    }
 catch (    IOException e) {
      LOG.error("Could not write static output to broker",e);
    }
  }
  deleteRequest(request);
}

private void handleStaticSiteRequest ( StaticSiteRequest . PointRequest request , TransportNetwork transportNetwork , TaskStatistics ts ) { StaticComputer computer = new StaticComputer ( request , transportNetwork , ts ) ; if ( request . request . bucket != null ) computer . run ( ) ; else { try { PipedInputStream pis = new PipedInputStream ( ) ; PipedOutputStream pos = new PipedOutputStream ( pis ) ; finishPriorityTask ( request , pis ) ; computer . write ( pos ) ; pos . close ( ) ; } catch ( IOException e ) { LOG . error ( "Could not write static output to broker" , e ) ; } } deleteRequest ( request ) ; }
handle a fancy new - fangled static site request
