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


public interface HttpResponseFileWriter

Writes a HttpResponse to file.

Author:
kristof
See Also:
HttpResponseFileReader

Method Summary
 void write(HttpResponse response, File httpResponseFile, File httpResponseEntityFile)
          Writes a HttpResponse to file.
 

Method Detail

write

void write(HttpResponse response,
           File httpResponseFile,
           File httpResponseEntityFile)
Writes a HttpResponse to file.

Parameters:
response - The http response to persist.
httpResponseFile - File in which all http response properties will be stored except entity.
httpResponseEntityFile - File in which http response entity will be stored. Entity is optional. If http response does not have entity this file will not be created.


Copyright © 2014. All Rights Reserved.