graphql.servlet.GraphQLRootObjectBuilder 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
The newest version!
package graphql.servlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.websocket.server.HandshakeRequest;
import java.util.Optional;
public interface GraphQLRootObjectBuilder {
Object build(HttpServletRequest req);
Object build(HandshakeRequest req);
/**
* Only used for MBean calls.
* @return the graphql root object
*/
Object build();
}