public class SparqlQueryAjaxController extends VitroAjaxController
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MODEL_FULL |
static String |
OPTION_MODEL_USER_ACCOUNTS |
static String |
PARAMETER_MODEL |
static String |
PARAMETER_QUERY |
static String |
RESPONSE_MIME_TYPE |
| Constructor and Description |
|---|
SparqlQueryAjaxController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRequest(VitroRequest vreq,
javax.servlet.http.HttpServletResponse response)
Sub-classes must implement this method to handle both GET and POST
requests.
|
protected AuthorizationRequest |
requiredActions(VitroRequest vreq)
By default, a controller requires authorization for no actions.
|
doError, doGet, doPost, writeTemplatedoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String PARAMETER_QUERY
public static final String RESPONSE_MIME_TYPE
public static final String PARAMETER_MODEL
public static final String OPTION_MODEL_FULL
public static final String OPTION_MODEL_USER_ACCOUNTS
protected AuthorizationRequest requiredActions(VitroRequest vreq)
VitroAjaxControllerrequiredActions in class VitroAjaxControllerprotected void doRequest(VitroRequest vreq, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
VitroAjaxControllerdoRequest in class VitroAjaxControllerjavax.servlet.ServletExceptionIOExceptionCopyright © 2016. All rights reserved.