com.github.kristofa.test.http.file
Interface HttpResponseFileReader


public interface HttpResponseFileReader

Reads a HttpResponse from file and reconstructs it.

Author:
kristof
See Also:
HttpResponseFileWriter

Method Summary
 HttpResponse read(File httpResponseFile, File httpResponseEntityFile)
          Reqds a HttpResponse that is stored in file(s) and reconstructs it.
 

Method Detail

read

HttpResponse read(File httpResponseFile,
                  File httpResponseEntityFile)
Reqds a HttpResponse that is stored in file(s) and reconstructs it.

Parameters:
httpResponseFile - File in which all http response properties are stored except entity.
httpResponseEntityFile - File in which http response entity is stored. Entity is optional. If given file does not exist entity in returned response will be null.
Returns:
Initialized Http Response.


Copyright © 2014. All Rights Reserved.