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

org.mockserver.responsewriter.ResponseWriter Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.responsewriter;

import io.netty.handler.codec.http.HttpResponseStatus;
import org.mockserver.model.HttpRequest;
import org.mockserver.model.HttpResponse;

/**
 * @author jamesdbloom
 */
public interface ResponseWriter {

    void writeResponse(HttpRequest request, HttpResponseStatus responseStatus);

    void writeResponse(HttpRequest request, HttpResponseStatus responseStatus, String body, String contentType);

    void writeResponse(HttpRequest request, HttpResponse response);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy