public class AbstractRestServlet extends HttpServlet
Modifier and Type | Field and Description |
---|---|
protected static String |
__DEFAULT_APPID |
protected String |
_appid |
protected static String |
APPID_PARAM |
protected static String |
ITEMS_PARAM |
protected static String |
STYLE |
Constructor and Description |
---|
AbstractRestServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
protected String |
generateThumbs(Queue<Map<String,String>> results) |
void |
init(ServletConfig servletConfig) |
protected String |
ms(long nano) |
protected String |
restURL(String item) |
static String |
sanitize(String s) |
protected int |
width(long nano) |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
protected static final String __DEFAULT_APPID
protected static final String STYLE
protected static final String ITEMS_PARAM
protected static final String APPID_PARAM
protected String _appid
public void init(ServletConfig servletConfig) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
protected String ms(long nano)
protected int width(long nano)
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
ServletException
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.