Class HttpResponseTransformer

java.lang.Object
com.github.tomakehurst.wiremock.extension.AbstractTransformer<com.github.tomakehurst.wiremock.http.Response>
com.github.tomakehurst.wiremock.extension.ResponseTransformer
com.trafficparrot.sdk.http.HttpResponseTransformer
All Implemented Interfaces:
com.github.tomakehurst.wiremock.extension.Extension

public abstract class HttpResponseTransformer extends com.github.tomakehurst.wiremock.extension.ResponseTransformer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected abstract com.github.tomakehurst.wiremock.http.Response
    doTransform(com.github.tomakehurst.wiremock.http.Request request, com.github.tomakehurst.wiremock.http.Response response, com.github.tomakehurst.wiremock.common.FileSource fileSource, com.github.tomakehurst.wiremock.extension.Parameters parameters)
     
     
    final com.github.tomakehurst.wiremock.http.Response
    transform(com.github.tomakehurst.wiremock.http.Request request, com.github.tomakehurst.wiremock.http.Response response, com.github.tomakehurst.wiremock.common.FileSource fileSource, com.github.tomakehurst.wiremock.extension.Parameters parameters)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.tomakehurst.wiremock.extension.Extension

    start, stop
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
  • Constructor Details

    • HttpResponseTransformer

      protected HttpResponseTransformer()
  • Method Details

    • transform

      public final com.github.tomakehurst.wiremock.http.Response transform(com.github.tomakehurst.wiremock.http.Request request, com.github.tomakehurst.wiremock.http.Response response, com.github.tomakehurst.wiremock.common.FileSource fileSource, com.github.tomakehurst.wiremock.extension.Parameters parameters)
      Specified by:
      transform in class com.github.tomakehurst.wiremock.extension.ResponseTransformer
    • doTransform

      protected abstract com.github.tomakehurst.wiremock.http.Response doTransform(com.github.tomakehurst.wiremock.http.Request request, com.github.tomakehurst.wiremock.http.Response response, com.github.tomakehurst.wiremock.common.FileSource fileSource, com.github.tomakehurst.wiremock.extension.Parameters parameters) throws Exception
      Throws:
      Exception
    • getName

      public String getName()
    • applyGlobally

      public boolean applyGlobally()
      Overrides:
      applyGlobally in class com.github.tomakehurst.wiremock.extension.AbstractTransformer<com.github.tomakehurst.wiremock.http.Response>