public class HttpDataSourceServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static com.serotonin.cache.ThreadSafeCache<java.text.SimpleDateFormat> |
BASIC_SDF_CACHE |
private static java.lang.String |
DEVICE_ID_KEY |
private static java.lang.String |
GROUPED_PARAM_KEY_PREFIX |
private static java.lang.String |
GROUPED_PARAM_TIME_PREFIX |
private static java.lang.String |
GROUPED_PARAM_VALUE_PREFIX |
private HttpReceiverMulticaster |
multicaster |
private static long |
serialVersionUID |
static java.lang.String |
TIME_OVERRIDE_KEY |
static com.serotonin.cache.ThreadSafeCache<java.text.SimpleDateFormat> |
TZ_SDF_CACHE |
| Constructor and Description |
|---|
HttpDataSourceServlet() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addData(HttpReceiverData data,
java.lang.String name,
java.lang.String value,
java.lang.String time) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
private void |
doImpl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
private long |
stringToTime(java.lang.String s) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprivate static final java.lang.String DEVICE_ID_KEY
public static final java.lang.String TIME_OVERRIDE_KEY
public static final com.serotonin.cache.ThreadSafeCache<java.text.SimpleDateFormat> BASIC_SDF_CACHE
public static final com.serotonin.cache.ThreadSafeCache<java.text.SimpleDateFormat> TZ_SDF_CACHE
private static final java.lang.String GROUPED_PARAM_KEY_PREFIX
private static final java.lang.String GROUPED_PARAM_VALUE_PREFIX
private static final java.lang.String GROUPED_PARAM_TIME_PREFIX
private static final long serialVersionUID
private HttpReceiverMulticaster multicaster
public void init()
init in class javax.servlet.GenericServletprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletjava.io.IOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
doPost in class javax.servlet.http.HttpServletjava.io.IOExceptionprivate void doImpl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionprivate void addData(HttpReceiverData data, java.lang.String name, java.lang.String value, java.lang.String time)
private long stringToTime(java.lang.String s)