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, serviceprotected 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.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected 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.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 1995–2017 Webtide. All rights reserved.