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

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

Go to download

Mock and Proxy HTTP Server for testing purposes. Forked from https://github.com/jharlap/mock-http-server

There is a newer version: 4.1
Show newest version
package com.github.kristofa.test.http;

import java.io.File;

/**
 * Writes a {@link HttpRequest} to file.
 * 
 * @see HttpRequestFileReader
 * @author kristof
 */
public interface HttpRequestFileWriter {

    /**
     * Writes a {@link HttpRequest} to file.
     * 
     * @param request The http request to persist.
     * @param httpRequestFile File in which all http request properties will be stored except entity.
     * @param httpRequestEntityFile File in which http request entity will be stored. Entity is optional. If http request
     *            does not have entity this file will not be created.
     */
    void write(final HttpRequest request, final File httpRequestFile, final File httpRequestEntityFile);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy