All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kristofa.test.http.HttpResponseFileWriter Maven / Gradle / Ivy

package com.github.kristofa.test.http;

import java.io.File;

/**
 * Writes a {@link HttpResponse} to file.
 * 
 * @see HttpResponseFileReader
 * @author kristof
 */
public interface HttpResponseFileWriter {

    /**
     * Writes a {@link HttpResponse} to file.
     * 
     * @param response The http response to persist.
     * @param httpResponseFile File in which all http response properties will be stored except entity.
     * @param 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.
     */
    void write(final HttpResponse response, final File httpResponseFile, final File httpResponseEntityFile);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy