Rename [Web|Socket]Interceptor
Use more qualified names [Web|Socket]GraphQlHandlerInterceptor to differentiate with ClientGraphQlInterceptor and to align with other types in the same package.
This commit is contained in:
@@ -26,7 +26,8 @@ import org.springframework.http.codec.CodecConfigurer;
|
||||
/**
|
||||
* Server-side tester, without a client, that executes requests through a
|
||||
* {@link WebGraphQlHandler}. Similar to {@link GraphQlServiceTester} but also
|
||||
* adding a web processing layer with a {@code WebInterceptor} chain.
|
||||
* adding a web processing layer with a {@code WebGraphQlHandlerInterceptor}
|
||||
* chain.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 1.0.0
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.graphql.web.WebGraphQlRequest;
|
||||
import org.springframework.graphql.web.TestWebSocketClient;
|
||||
import org.springframework.graphql.web.TestWebSocketConnection;
|
||||
import org.springframework.graphql.web.WebGraphQlHandler;
|
||||
import org.springframework.graphql.web.WebInterceptor;
|
||||
import org.springframework.graphql.web.WebGraphQlHandlerInterceptor;
|
||||
import org.springframework.graphql.web.webflux.GraphQlHttpHandler;
|
||||
import org.springframework.graphql.web.webflux.GraphQlWebSocketHandler;
|
||||
import org.springframework.http.codec.ClientCodecConfigurer;
|
||||
@@ -60,8 +60,8 @@ import static org.springframework.web.reactive.function.server.RouterFunctions.r
|
||||
|
||||
/**
|
||||
* Tests for the builders of Web {@code GraphQlTester} extensions, using a
|
||||
* {@link WebInterceptor} to capture the WebGraphQlRequest on the server side,
|
||||
* and optionally returning a mock response, or an empty response.
|
||||
* {@link WebGraphQlHandlerInterceptor} to capture the WebGraphQlRequest on the
|
||||
* server side, and optionally returning a mock response, or an empty response.
|
||||
*
|
||||
* <ul>
|
||||
* <li>{@link HttpGraphQlTester} via {@link WebTestClient} to {@link GraphQlHttpHandler}
|
||||
|
||||
Reference in New Issue
Block a user