Class GeoLocation.ResponseFilter

    • Constructor Detail

      • ResponseFilter

        ResponseFilter()
    • Method Detail

      • evaluate

        public boolean evaluate​(org.apache.http.HttpResponse response)
        Description copied from interface: Filter
        Evaluate if the given object should pass the filter or not.
        Specified by:
        evaluate in interface Filter<org.apache.http.HttpResponse>
        Parameters:
        response - The object to evaluate
        Returns:
        TRUE if the object passes the filter, FALSE otherwise
      • display

        public void display​(int percent,
                            String message)
        Description copied from interface: ProgressReporter
        Display a progress message.
        Specified by:
        display in interface ProgressReporter
        Parameters:
        percent - How many percent of the task that is completed or -1 if not known
        message - A message, or null
      • append

        public void append​(String message)
        Description copied from interface: ProgressReporter
        Append a message to the previous one.
        Specified by:
        append in interface ProgressReporter
        Parameters:
        message - The message