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)
-
-