Package org.activecomponents.webservice
Class JadexjsDownloadServlet
- java.lang.Object
- 
- javax.servlet.GenericServlet
- 
- javax.servlet.http.HttpServlet
- 
- org.activecomponents.webservice.JadexjsDownloadServlet
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- javax.servlet.Servlet,- javax.servlet.ServletConfig
 
 public class JadexjsDownloadServlet extends javax.servlet.http.HttpServletDownload the jadex.js. Tries different alternatives: - local file for live-reloading - directly from classpath via name - from a contained platform-webservice-websocket jar in WEB-INF/libs- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected byte[]jadexjsThe cached jadex rs filestatic java.lang.StringJADEXJSNAMEThe jadex.js name.
 - 
Constructor SummaryConstructors Constructor Description JadexjsDownloadServlet()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Do get method.protected byte[]loadJadexJs(javax.servlet.ServletContext ctx)Load jadex.js on server side.- 
Methods inherited from class javax.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
- 
 
- 
- 
- 
Field Detail- 
JADEXJSNAMEpublic static final java.lang.String JADEXJSNAME The jadex.js name.- See Also:
- Constant Field Values
 
 - 
jadexjsprotected byte[] jadexjs The cached jadex rs file
 
- 
 - 
Method Detail- 
doGetpublic void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOExceptionDo get method.- Overrides:
- doGetin class- javax.servlet.http.HttpServlet
- Throws:
- java.io.IOException
 
 - 
loadJadexJsprotected byte[] loadJadexJs(javax.servlet.ServletContext ctx) throws java.io.IOExceptionLoad jadex.js on server side.- Parameters:
- ctx-
- Returns:
- Throws:
- java.io.IOException
 
 
- 
 
-