graphql.kickstart.servlet.OsgiGraphQLHttpServletConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-servlet Show documentation
Show all versions of graphql-java-servlet Show documentation
relay.js-compatible GraphQL servlet
package graphql.kickstart.servlet;
import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
@ObjectClassDefinition(
name = "GraphQL HTTP Servlet",
description = "GraphQL HTTP Servlet Configuration")
@interface OsgiGraphQLHttpServletConfiguration {
@AttributeDefinition(name = "alias", description = "Servlet alias")
String alias() default "/graphql";
@AttributeDefinition(name = "jmx.objectname", description = "JMX object name")
String jmx_objectname() default "graphql.servlet:type=graphql";
}