Class WiremockStubDifferenceDetectingInterceptor
- java.lang.Object
-
- de.adorsys.xs2a.adapter.impl.http.wiremock.WiremockStubDifferenceDetectingInterceptor
-
- All Implemented Interfaces:
Interceptor
public class WiremockStubDifferenceDetectingInterceptor extends Object implements Interceptor
-
-
Field Summary
Fields Modifier and Type Field Description static StringEQUAL_TO_JSONstatic StringEQUAL_TO_XML
-
Constructor Summary
Constructors Constructor Description WiremockStubDifferenceDetectingInterceptor(Aspsp aspsp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisWiremockSupported(String adapterId)<T> Response<T>postHandle(Request.Builder builder, Response<T> response)Request.BuilderpreHandle(Request.Builder builder)
-
-
-
Field Detail
-
EQUAL_TO_XML
public static final String EQUAL_TO_XML
- See Also:
- Constant Field Values
-
EQUAL_TO_JSON
public static final String EQUAL_TO_JSON
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WiremockStubDifferenceDetectingInterceptor
public WiremockStubDifferenceDetectingInterceptor(Aspsp aspsp)
-
-
Method Detail
-
preHandle
public Request.Builder preHandle(Request.Builder builder)
- Specified by:
preHandlein interfaceInterceptor
-
postHandle
public <T> Response<T> postHandle(Request.Builder builder, Response<T> response)
- Specified by:
postHandlein interfaceInterceptor
-
isWiremockSupported
public static boolean isWiremockSupported(String adapterId)
-
-