Class ProxiedHostnameRewriteResponseTransformer
java.lang.Object
com.github.tomakehurst.wiremock.proxy.ProxiedHostnameRewriteResponseTransformer
- All Implemented Interfaces:
Extension,ResponseTransformerV2
public class ProxiedHostnameRewriteResponseTransformer
extends Object
implements ResponseTransformerV2
At the moment this transformer works with Proxy responses to replace the host and port. If we
decide to extend this to a generic host/port replacement we should rename the class and update
the transformer name
-
Constructor Details
-
ProxiedHostnameRewriteResponseTransformer
public ProxiedHostnameRewriteResponseTransformer()
-
-
Method Details
-
transform
- Specified by:
transformin interfaceResponseTransformerV2
-
getName
-
applyGlobally
public boolean applyGlobally()- Specified by:
applyGloballyin interfaceResponseTransformerV2
-