public class JsonServlet extends VitroHttpServlet
VitroHttpServlet.PickListSorter| Modifier and Type | Field and Description |
|---|---|
static int |
REPLY_SIZE |
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE| Constructor and Description |
|---|
JsonServlet() |
| 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
|
static String |
getDataPropertyValue(Individual ind,
DataProperty dp,
WebappDaoFactory wdf) |
static JSONObject |
getRandomSearchIndividualsByVClass(String vclassURI,
javax.servlet.http.HttpServletRequest req) |
static JSONObject |
getSearchIndividualsByVClass(String vclassURI,
javax.servlet.http.HttpServletRequest req) |
static JSONObject |
getSearchIndividualsByVClasses(List<String> vclassURIs,
javax.servlet.http.HttpServletRequest req) |
dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeExceptiondoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final int REPLY_SIZE
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.ServletExceptionIOExceptionpublic static JSONObject getSearchIndividualsByVClass(String vclassURI, javax.servlet.http.HttpServletRequest req) throws Exception
Exceptionpublic static JSONObject getSearchIndividualsByVClasses(List<String> vclassURIs, javax.servlet.http.HttpServletRequest req) throws Exception
Exceptionpublic static String getDataPropertyValue(Individual ind, DataProperty dp, WebappDaoFactory wdf)
public static JSONObject getRandomSearchIndividualsByVClass(String vclassURI, javax.servlet.http.HttpServletRequest req) throws Exception
ExceptionCopyright © 2016. All rights reserved.