Class GraphiQLHandlerBuilder
java.lang.Object
io.vertx.rxjava3.ext.web.handler.graphql.GraphiQLHandlerBuilder
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A builder for
GraphiQLHandler instances.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGraphiQLHandlerBuilder(GraphiQLHandlerBuilder delegate) GraphiQLHandlerBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionaddingHeaders(Function<RoutingContext, MultiMap> factory) Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.build()booleaninthashCode()static GraphiQLHandlerBuildertoString()with(GraphiQLHandlerOptions options) Change theGraphiQLHandlerOptionsto use.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphiQLHandlerBuilder
-
GraphiQLHandlerBuilder
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
with
Change theGraphiQLHandlerOptionsto use.- Parameters:
options-- Returns:
- a reference to this, so the API can be used fluently
-
addingHeaders
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.This can be useful if, for example, the server is protected by authentication.
- Parameters:
factory-- Returns:
- a reference to this, so the API can be used fluently
-
build
- Returns:
- a new instance of
GraphiQLHandler
-
newInstance
-