Class GraphiQLHandlerBuilder
- java.lang.Object
-
- io.vertx.rxjava3.ext.web.handler.graphql.GraphiQLHandlerBuilder
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class GraphiQLHandlerBuilder extends Object implements io.vertx.lang.rx.RxDelegate
A builder forGraphiQLHandlerinstances.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<GraphiQLHandlerBuilder>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description GraphiQLHandlerBuilderβ(GraphiQLHandlerBuilder delegate)GraphiQLHandlerBuilderβ(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphiQLHandlerBuilderaddingHeadersβ(Function<RoutingContext,βMultiMap> factory)Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.GraphiQLHandlerbuild()booleanequalsβ(Object o)GraphiQLHandlerBuildergetDelegate()inthashCode()static GraphiQLHandlerBuildernewInstanceβ(GraphiQLHandlerBuilder arg)StringtoString()GraphiQLHandlerBuilderwithβ(GraphiQLHandlerOptions options)Change theGraphiQLHandlerOptionsto use.
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<GraphiQLHandlerBuilder> __TYPE_ARG
-
-
Constructor Detail
-
GraphiQLHandlerBuilder
public GraphiQLHandlerBuilderβ(GraphiQLHandlerBuilder delegate)
-
GraphiQLHandlerBuilder
public GraphiQLHandlerBuilderβ(Object delegate)
-
-
Method Detail
-
getDelegate
public GraphiQLHandlerBuilder getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
with
public GraphiQLHandlerBuilder withβ(GraphiQLHandlerOptions options)
Change theGraphiQLHandlerOptionsto use.- Parameters:
options-- Returns:
- a reference to this, so the API can be used fluently
-
addingHeaders
public GraphiQLHandlerBuilder addingHeadersβ(Function<RoutingContext,β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.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
public GraphiQLHandler build()
- Returns:
- a new instance of
GraphiQLHandler
-
newInstance
public static GraphiQLHandlerBuilder newInstanceβ(GraphiQLHandlerBuilder arg)
-
-