public class JSONReconcileServlet extends VitroHttpServlet
| Modifier and Type | Class and Description |
|---|---|
class |
JSONReconcileServlet.SearchResult |
VitroHttpServlet.PickListSorter| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_QUERY_LENGTH |
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE| Constructor and Description |
|---|
JSONReconcileServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
doGet does nothing.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
doPost does the same thing as the doGet method
|
protected JSONObject |
getMetadata(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String defaultNamespace,
String defaultTypeList,
String serverName,
int serverPort)
Returns a default JSON response.
|
protected SearchQuery |
getQuery(String queryStr,
String searchType,
int limit,
ArrayList<String[]> propertiesList) |
dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeExceptiondoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final int MAX_QUERY_LENGTH
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
VitroHttpServletdoPost in class VitroHttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
VitroHttpServletdoGet in class VitroHttpServletjavax.servlet.ServletExceptionIOExceptionprotected JSONObject getMetadata(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String defaultNamespace, String defaultTypeList, String serverName, int serverPort) throws javax.servlet.ServletException
req - Servlet Requestresp - Servlet Responsejavax.servlet.ServletExceptionprotected SearchQuery getQuery(String queryStr, String searchType, int limit, ArrayList<String[]> propertiesList)
Copyright © 2016. All rights reserved.