public class AbstractRestServlet
extends javax.servlet.http.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected String |
generateThumbs(Queue<Map<String,String>> results) |
void |
init(javax.servlet.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
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(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected String ms(long nano)
protected int width(long nano)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.