private void writeDriverWebInformation ( final HttpServletResponse response ) throws IOException { LOG . log ( Level . INFO , "HttpServerReefEventHandler writeDriverWebInformation invoked." ) ; final PrintWriter writer = response . getWriter ( ) ; writer . println ( "<h1>Driver Information:</h1>" ) ; writer . println ( String . format ( "Driver Remote Identifier:[%s]" , this . reefStateManager . getDriverEndpointIdentifier ( ) ) ) ; writer . write ( "<br/><br/>" ) ; writer . println ( String . format ( "Services registered on Driver:" ) ) ; writer . write ( "<br/><br/>" ) ; for ( final AvroReefServiceInfo service : this . reefStateManager . getServicesInfo ( ) ) { writer . println ( String . format ( "Service: [%s] , Information: [%s]" , service . getServiceName ( ) , service . getServiceInfo ( ) ) ) ; writer . write ( "<br/><br/>" ) ; } writer . println ( String . format ( "Driver Start Time:[%s]" , this . reefStateManager . getStartTime ( ) ) ) ; }
Get driver information .