Class RestTestClientOperationPreprocessorsConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<RestTestClientRestDocumentationConfigurer>
org.springframework.restdocs.config.OperationPreprocessorsConfigurer<RestTestClientRestDocumentationConfigurer, RestTestClientOperationPreprocessorsConfigurer>
org.springframework.restdocs.resttestclient.RestTestClientOperationPreprocessorsConfigurer
- All Implemented Interfaces:
ClientHttpRequestInterceptor
public final class RestTestClientOperationPreprocessorsConfigurer
extends OperationPreprocessorsConfigurer<RestTestClientRestDocumentationConfigurer, RestTestClientOperationPreprocessorsConfigurer>
implements ClientHttpRequestInterceptor
A configurer that can be used to configure the operation preprocessors.
- Since:
- 4.1.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionintercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) Methods inherited from class OperationPreprocessorsConfigurer
apply, withRequestDefaults, withResponseDefaultsMethods inherited from class AbstractNestedConfigurer
andMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientHttpRequestInterceptor
andThen, apply
-
Method Details
-
intercept
public ClientHttpResponse intercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) throws IOException - Specified by:
interceptin interfaceClientHttpRequestInterceptor- Throws:
IOException
-