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,java.beans.PropertyChangeListener,java.lang.Cloneable,java.util.EventListener
public class HTTPSite extends WebSite
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 Constructor Description HTTPSite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteFileImpl(WebFile aFile)WebSite method.protected voiddeleteRowImpl(Row aRow)WebSite method.byte[]getFileBytesImpl(WebFile aFile)Gets file bytes.protected WebFilegetFileImpl(java.lang.String aPath)Returns a data source file for given path (if file exists).java.util.List<WebFile>getFilesImpl(WebFile aFile)Returns files at path.protected java.util.ListgetRowsImpl(Entity anEntity, Query aQuery)WebSite method.java.lang.StringgetURLScheme()Returns the string identifying the prefix for URLs in this data source.protected voidsaveFileImpl(WebFile aFile)WebSite method.protected voidsaveRowImpl(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
-
-
-
-
Method Detail
-
getURLScheme
public java.lang.String getURLScheme()
Returns the string identifying the prefix for URLs in this data source.
-
getFileImpl
protected WebFile getFileImpl(java.lang.String aPath) throws java.io.IOException
Returns a data source file for given path (if file exists).- Overrides:
getFileImplin classWebSite- Throws:
java.io.IOException
-
getFileBytesImpl
public byte[] getFileBytesImpl(WebFile aFile) throws java.io.IOException
Gets file bytes.- Overrides:
getFileBytesImplin classWebSite- Throws:
java.io.IOException
-
getFilesImpl
public java.util.List<WebFile> getFilesImpl(WebFile aFile) throws java.io.IOException
Returns files at path.- Overrides:
getFilesImplin classWebSite- Throws:
java.io.IOException
-
saveFileImpl
protected void saveFileImpl(WebFile aFile) throws java.lang.Exception
WebSite method.- Overrides:
saveFileImplin classWebSite- Throws:
java.lang.Exception
-
deleteFileImpl
protected void deleteFileImpl(WebFile aFile) throws java.lang.Exception
WebSite method.- Overrides:
deleteFileImplin classWebSite- Throws:
java.lang.Exception
-
getRowsImpl
protected java.util.List getRowsImpl(Entity anEntity, Query aQuery)
WebSite method.- Specified by:
getRowsImplin classWebSite
-
saveRowImpl
protected void saveRowImpl(Row aRow)
WebSite method.- Specified by:
saveRowImplin classWebSite
-
deleteRowImpl
protected void deleteRowImpl(Row aRow)
WebSite method.- Specified by:
deleteRowImplin classWebSite
-
-