public class HttpSenderVO extends PublisherVO<HttpPointVO>
PublisherVO.Type| Modifier and Type | Field and Description |
|---|---|
static int |
DATE_FORMAT_BASIC |
private static ExportCodes |
DATE_FORMAT_CODES |
static int |
DATE_FORMAT_TZ |
static int |
DATE_FORMAT_UTC |
private int |
dateFormat |
private static ExportCodes |
EVENT_CODES |
private boolean |
raiseResultWarning |
private static long |
serialVersionUID |
private java.util.List<com.serotonin.db.KeyValuePair> |
staticHeaders |
private java.util.List<com.serotonin.db.KeyValuePair> |
staticParameters |
private java.lang.String |
url |
private boolean |
usePost |
private static int |
version |
points, XID_PREFIX| Constructor and Description |
|---|
HttpSenderVO() |
| Modifier and Type | Method and Description |
|---|---|
protected HttpPointVO |
createPublishedPointInstance() |
PublisherRT<HttpPointVO> |
createPublisherRT() |
com.serotonin.web.i18n.LocalizableMessage |
getConfigDescription() |
int |
getDateFormat() |
ExportCodes |
getEventCodes() |
protected void |
getEventTypesImpl(java.util.List<EventTypeVO> eventTypes) |
java.util.List<com.serotonin.db.KeyValuePair> |
getStaticHeaders() |
java.util.List<com.serotonin.db.KeyValuePair> |
getStaticParameters() |
PublisherVO.Type |
getType() |
java.lang.String |
getUrl() |
boolean |
isRaiseResultWarning() |
boolean |
isUsePost() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setDateFormat(int dateFormat) |
void |
setRaiseResultWarning(boolean raiseResultWarning) |
void |
setStaticHeaders(java.util.List<com.serotonin.db.KeyValuePair> staticHeaders) |
void |
setStaticParameters(java.util.List<com.serotonin.db.KeyValuePair> staticParameters) |
void |
setUrl(java.lang.String url) |
void |
setUsePost(boolean usePost) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addDefaultEventCodes, createPublisherVO, getCacheWarningSize, getEventTypes, getId, getName, getPoints, getSnapshotSendPeriods, getSnapshotSendPeriodType, getTypeMessage, getXid, isChangesOnly, isEnabled, isNew, isSendSnapshot, setCacheWarningSize, setChangesOnly, setEnabled, setId, setName, setPoints, setSendSnapshot, setSnapshotSendPeriods, setSnapshotSendPeriodType, setXidprivate static final ExportCodes EVENT_CODES
public static final int DATE_FORMAT_BASIC
public static final int DATE_FORMAT_TZ
public static final int DATE_FORMAT_UTC
private static ExportCodes DATE_FORMAT_CODES
private java.lang.String url
private boolean usePost
private java.util.List<com.serotonin.db.KeyValuePair> staticHeaders
private java.util.List<com.serotonin.db.KeyValuePair> staticParameters
private boolean raiseResultWarning
private int dateFormat
private static final long serialVersionUID
private static final int version
protected void getEventTypesImpl(java.util.List<EventTypeVO> eventTypes)
getEventTypesImpl in class PublisherVO<HttpPointVO>public ExportCodes getEventCodes()
getEventCodes in class PublisherVO<HttpPointVO>public com.serotonin.web.i18n.LocalizableMessage getConfigDescription()
getConfigDescription in class PublisherVO<HttpPointVO>public PublisherVO.Type getType()
getType in class PublisherVO<HttpPointVO>public PublisherRT<HttpPointVO> createPublisherRT()
createPublisherRT in class PublisherVO<HttpPointVO>protected HttpPointVO createPublishedPointInstance()
createPublishedPointInstance in class PublisherVO<HttpPointVO>public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public boolean isUsePost()
public void setUsePost(boolean usePost)
public java.util.List<com.serotonin.db.KeyValuePair> getStaticHeaders()
public void setStaticHeaders(java.util.List<com.serotonin.db.KeyValuePair> staticHeaders)
public java.util.List<com.serotonin.db.KeyValuePair> getStaticParameters()
public void setStaticParameters(java.util.List<com.serotonin.db.KeyValuePair> staticParameters)
public boolean isRaiseResultWarning()
public void setRaiseResultWarning(boolean raiseResultWarning)
public int getDateFormat()
public void setDateFormat(int dateFormat)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate in class PublisherVO<HttpPointVO>private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class PublisherVO<HttpPointVO>public void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException,
LocalizableJsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class PublisherVO<HttpPointVO>com.serotonin.json.JsonExceptionLocalizableJsonException