Class HTTPSite
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.snap.web.WebSite
com.inductiveautomation.snap.websites.HTTPSite
- All Implemented Interfaces:
RMJSONArchiver.GetKeys
,RMPropertyChanger
,PropertyChangeListener
,Cloneable
,EventListener
A WebSite for HTTP sources.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.snap.web.WebSite
WebSite.Servlet
-
Field Summary
Fields inherited from class com.inductiveautomation.snap.web.WebSite
Refresh_Prop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteFileImpl
(WebFile aFile) WebSite method.protected void
deleteRowImpl
(Row aRow) WebSite method.byte[]
getFileBytesImpl
(WebFile aFile) Gets file bytes.protected WebFile
getFileImpl
(String aPath) Returns a data source file for given path (if file exists).getFilesImpl
(WebFile aFile) Returns files at path.protected List
getRowsImpl
(Entity anEntity, Query aQuery) WebSite method.Returns the string identifying the prefix for URLs in this data source.protected void
saveFileImpl
(WebFile aFile) WebSite method.protected void
saveRowImpl
(Row aRow) WebSite method.Methods inherited from class com.inductiveautomation.snap.web.WebSite
addDeepChangeListener, bulkImport, createClassLoader, createDataTable, createDataTableImpl, createEntity, createEntityImpl, createFile, createFileImpl, createRow, createRow, createRowImpl, createSandbox, createSandboxURL, createSandboxURLS, createSchema, createSite, createURL, deleteEntity, deleteEntityImpl, deleteFile, deleteRow, deleteSite, flush, flushImpl, getClassLoader, getDataTable, getDataTables, getEntity, getEntityImpl, getExists, getFile, getHostName, getJSONKeys, getModifiedTime, getName, getPassword, getPath, getProp, getRequest, getResponse, getRootDirectory, getRow, getRow, getRowImpl, getRows, getSandbox, getSchema, getServlet, getStandardFile, getURL, getURL, getURLString, getUserName, handleDelete, handleGet, handleHead, handlePut, isRunning, propertyChange, refresh, refreshFile, refreshFileImpl, removeDeepChangeListener, saveEntity, saveEntityImpl, saveFile, saveRow, setClassLoader, setExists, setModifiedTime, setModifiedTimeImpl, setPassword, setProp, setSandbox, setServlet, setURL, setUserName, toString
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
HTTPSite
public HTTPSite()
-
-
Method Details
-
getURLScheme
Returns the string identifying the prefix for URLs in this data source. -
getFileImpl
Returns a data source file for given path (if file exists).- Overrides:
getFileImpl
in classWebSite
- Throws:
IOException
-
getFileBytesImpl
Gets file bytes.- Overrides:
getFileBytesImpl
in classWebSite
- Throws:
IOException
-
getFilesImpl
Returns files at path.- Overrides:
getFilesImpl
in classWebSite
- Throws:
IOException
-
saveFileImpl
WebSite method.- Overrides:
saveFileImpl
in classWebSite
- Throws:
Exception
-
deleteFileImpl
WebSite method.- Overrides:
deleteFileImpl
in classWebSite
- Throws:
Exception
-
getRowsImpl
WebSite method.- Specified by:
getRowsImpl
in classWebSite
-
saveRowImpl
WebSite method.- Specified by:
saveRowImpl
in classWebSite
-
deleteRowImpl
WebSite method.- Specified by:
deleteRowImpl
in classWebSite
-