public class GraphQLServlet
extends org.apache.sling.api.servlets.SlingAllMethodsServlet
| Modifier and Type | Class and Description |
|---|---|
static interface |
GraphQLServlet.Config |
| Constructor and Description |
|---|
GraphQLServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
void |
doPost(@NotNull org.apache.sling.api.SlingHttpServletRequest request,
@NotNull org.apache.sling.api.SlingHttpServletResponse response) |
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayServicedoGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, servicepublic static final String P_QUERY
public void doGet(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
throws IOException
doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServletIOExceptionpublic void doPost(@NotNull
@NotNull org.apache.sling.api.SlingHttpServletRequest request,
@NotNull
@NotNull org.apache.sling.api.SlingHttpServletResponse response)
throws IOException
doPost in class org.apache.sling.api.servlets.SlingAllMethodsServletIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.