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

com.athaydes.rawhttp.reqinedit.ResponseStorage Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package com.athaydes.rawhttp.reqinedit;

import rawhttp.core.RawHttpResponse;

import java.io.IOException;

/**
 * HTTP response storage.
 */
public interface ResponseStorage {

    /**
     * Store the HTTP response at the location given by responseRef, as declared in the HTTP file.
     *
     * @param response    to store
     * @param responseRef response-ref declared in the HTTP file
     * @throws IOException if a problem occurs writing IO
     */
    void store(RawHttpResponse response, String responseRef) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy