Package com.trafficparrot.sdk.http
package com.trafficparrot.sdk.http
HTTP extensions: the base classes of the two kinds of HTTP response transformer,
HttpResponseDefinitionTransformer and
HttpResponseTransformer, and the classes that, with HTTP response templating off,
change the request a proxied mapping sends to the backend.-
ClassDescriptionThe base class of a custom HTTP response definition transformer, which changes a mapping's response before Traffic Parrot renders it or, with HTTP response templating off, the request a proxied mapping sends to the backend.The base class of a custom HTTP response transformer, which changes the response a client is about to receive.A copy of an HTTP request with a changed body or an added header, for an
HttpResponseDefinitionTransformerto pass to aTransformedRequestDefinition:Changes a request body, forTransformedRequest.withTransformBody(com.trafficparrot.sdk.http.TransformedRequest.BodyTransformer).A response definition that carries a changed request.