org.ferris.net.runner
Interface HttpResponseHandler<M>

Type Parameters:
M -

public interface HttpResponseHandler<M>

This interface defines a way for the results from the web server to be processed. Implementations of this interface should process the InputStream from the web server and turn it into a List of some kind of object.

Author:
Mike Remijan

Method Summary
 List<M> response(InputStream response)
          A response from an HTTP server can be anything so an InputStream allows the handler the most flexibility to respond accordingly.
 

Method Detail

response

List<M> response(InputStream response)
A response from an HTTP server can be anything so an InputStream allows the handler the most flexibility to respond accordingly. For example, the response can be a tab delimited data file, an XML document, or a PDF.

Parameters:
response -
Returns:


Copyright © Jun 11, 2009-2011 The Ferris Foundation. All Rights Reserved.