com.github.kristofa.test.http.ForwardHttpRequestBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mock-http-server Show documentation
Show all versions of mock-http-server Show documentation
Mock and Proxy HTTP Server for testing purposes. Forked from https://github.com/jharlap/mock-http-server
package com.github.kristofa.test.http;
/**
* Responsible for building forwarding http requests. Builds a new request based on input request.
*
* Used with {@link LoggingHttpProxy}.
*
* @see LoggingHttpProxy
* @author kristof
*/
public interface ForwardHttpRequestBuilder {
/**
* Builds a forward request for given input request.
*
* @param request Http request.
* @return New forward request or null
in case we don't know how to build forward request for given input
* request.
*/
FullHttpRequest getForwardRequest(final FullHttpRequest request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy