case class IntrospectSchemaLoader(url: String, log: Logger, headers: Seq[(String, String)] = Seq.empty, method: Method = IntrospectSchemaLoader.GET) extends SchemaLoader with Product with Serializable
Loads a schema from an graphql endpoint.
- url
the graphql endpoint
- log
log output
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IntrospectSchemaLoader
- Serializable
- Serializable
- Product
- Equals
- SchemaLoader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
IntrospectSchemaLoader(url: String, log: Logger, headers: Seq[(String, String)] = Seq.empty, method: Method = IntrospectSchemaLoader.GET)
- url
the graphql endpoint
- log
log output
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val headers: Seq[(String, String)]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadSchema(): Schema[Any, Any]
Load the schema.
Load the schema. The Context and Val types are always any as we cannot make any assumptions while loading an external schema.
- returns
the successful loaded schema
- Definition Classes
- IntrospectSchemaLoader → SchemaLoader
- val log: Logger
- val method: Method
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val url: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withHeaders(headers: (String, String)*): IntrospectSchemaLoader
-
def
withPost(): IntrospectSchemaLoader
- returns
a new schema loader that uses a POST requests instead of a get request