public interface GraphiQLHandlerBuilder
GraphiQLHandler instances.| Modifier and Type | Method and Description |
|---|---|
GraphiQLHandlerBuilder |
addingHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.
|
GraphiQLHandler |
build() |
GraphiQLHandlerBuilder |
with(GraphiQLHandlerOptions options)
Change the
GraphiQLHandlerOptions to use. |
GraphiQLHandlerBuilder with(GraphiQLHandlerOptions options)
GraphiQLHandlerOptions to use.GraphiQLHandlerBuilder addingHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
GraphiQLHandlerOptions.getHeaders().
This can be useful if, for example, the server is protected by authentication.
GraphiQLHandler build()
GraphiQLHandlerCopyright © 2024 Eclipse. All rights reserved.