Class WebGraphQlResponse.Builder
java.lang.Object
org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder<WebGraphQlResponse.Builder,WebGraphQlResponse>
org.springframework.graphql.server.WebGraphQlResponse.Builder
- Enclosing class:
- WebGraphQlResponse
public static final class WebGraphQlResponse.Builder
extends DefaultExecutionGraphQlResponse.Builder<WebGraphQlResponse.Builder,WebGraphQlResponse>
Builder to transform a
WebGraphQlResponse
.-
Method Summary
Modifier and TypeMethodDescriptionprotected WebGraphQlResponse
build
(WebGraphQlResponse original, ExecutionResult newResult) Subclasses to create the specific response instance.Methods inherited from class org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder
build, data, errors, extensions
-
Method Details
-
build
Description copied from class:DefaultExecutionGraphQlResponse.Builder
Subclasses to create the specific response instance.- Specified by:
build
in classDefaultExecutionGraphQlResponse.Builder<WebGraphQlResponse.Builder,
WebGraphQlResponse> - Parameters:
original
- the original response instancenewResult
- the new execution result for this response
-