Class RSocketGraphQlResponse.Builder
java.lang.Object
org.springframework.graphql.support.DefaultExecutionGraphQlResponse.Builder<RSocketGraphQlResponse.Builder,RSocketGraphQlResponse>
org.springframework.graphql.server.RSocketGraphQlResponse.Builder
- Enclosing class:
- RSocketGraphQlResponse
public static final class RSocketGraphQlResponse.Builder
extends DefaultExecutionGraphQlResponse.Builder<RSocketGraphQlResponse.Builder,RSocketGraphQlResponse>
Builder to transform a
RSocketGraphQlResponse
.-
Method Summary
Modifier and TypeMethodDescriptionprotected RSocketGraphQlResponse
build
(RSocketGraphQlResponse 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<RSocketGraphQlResponse.Builder,
RSocketGraphQlResponse> - Parameters:
original
- the original response instancenewResult
- the new execution result for this response
-