code: @POST
    @Path("/statuses")
    @Produces(APPLICATION_JSON)
    @Timed
    @ExceptionMetered
    public Map<String, HostStatus> hostStatuses(
        final List<String> hosts,
        @QueryParam("status") @DefaultValue("") final String statusFilter) {
      final Map<String, HostStatus> statuses = Maps.newHashMap();
      for (final String host : hosts) {
        final HostStatus status = model.getHostStatus(host);
        if (status != null) {
          if (isNullOrEmpty(statusFilter) || statusFilter.equals(status.getStatus().toString())) {
            statuses.put(host, status);
          }
        }
      }
      return statuses;
    }
docs: Returns various status information about the hosts.
  
  @param hosts        The hosts.
  @param statusFilter An optional status filter.
  
  @return The response.