Class GraphiQLHandlerBuilder
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.GraphiQLHandlerBuilder
- All Implemented Interfaces:
MutinyDelegate
A builder for
GraphiQLHandler instances.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
GraphiQLHandlerBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphiQLHandlerBuilder(io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder delegate) Create a new instance ofGraphiQLHandlerBuilderdelegating to the given (non-null) instance ofGraphiQLHandlerBuilder.GraphiQLHandlerBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionaddingHeaders(Function<RoutingContext, io.vertx.core.MultiMap> factory) Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.build()booleanio.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilderGet the delegate instance.inthashCode()static GraphiQLHandlerBuildernewInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder delegate) Creates a new instance of theGraphiQLHandlerBuilder.toString()with(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options) Change theGraphiQLHandlerOptionsto use.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphiQLHandlerBuilder
public GraphiQLHandlerBuilder(io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder delegate) Create a new instance ofGraphiQLHandlerBuilderdelegating to the given (non-null) instance ofGraphiQLHandlerBuilder. -
GraphiQLHandlerBuilder
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
with
Change theGraphiQLHandlerOptionsto use.- Returns:
- a reference to this, so the API can be used fluently
-
addingHeaders
public GraphiQLHandlerBuilder addingHeaders(Function<RoutingContext, io.vertx.core.MultiMap> factory) Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface. The result will be applied on top of the fixed set of headers specified inGraphiQLHandlerOptions.getHeaders().This can be useful if, for example, the server is protected by authentication.
- Returns:
- a reference to this, so the API can be used fluently
-
build
- Returns:
- a new instance of
GraphiQLHandler
-
newInstance
public static GraphiQLHandlerBuilder newInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder delegate) Creates a new instance of theGraphiQLHandlerBuilder. -
hashCode
public int hashCode() -
equals
-
toString
-