| java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.openlaszlo.iv.flash.servlet.GeneratorServlet
GeneratorServlet | public class GeneratorServlet extends HttpServlet (Code) | | Generator servlet
processes http requests from clients
|
Method Summary | |
public void | adminRequest(HttpServletRequest req, HttpServletResponse res) Admin request
Admin requests come in form of: http://host/__admin__.swt?parm=value&parm=value... | public void | doGen(HttpServletRequest req, HttpServletResponse res) | public void | doGet(HttpServletRequest req, HttpServletResponse res) | public void | doPost(HttpServletRequest req, HttpServletResponse res) | public void | getCurrentStat(HttpServletRequest req, HttpServletResponse res) | protected long | getLastModified(HttpServletRequest req) | protected String | getRequestedFileName(HttpServletRequest req) | public void | getServerXMLInfo(HttpServletRequest req, HttpServletResponse res) | public void | init(ServletConfig config) | protected FlashOutput | process(String fileName, Context context, String encoding) | public void | processTemplate(String fileName, HttpServletRequest req, HttpServletResponse res) | protected void | send(FlashOutput fob, HttpServletResponse res) | public void | showHTMLStat(HttpServletRequest req, HttpServletResponse res) | protected FlashOutput | wrapImage(String fileName, Context context) | protected FlashOutput | wrapSound(String fileName, Context context) |
process | protected FlashOutput process(String fileName, Context context, String encoding) throws IVException, IOException(Code) | | Process template
- parse template
- process (perform substitutions and generator commands)
- generate movie
Parameters: fileName - template file name Parameters: context - generator context Parameters: encoding - file encoding generated flash content exception: IVException - exception: IOException - |
wrapImage | protected FlashOutput wrapImage(String fileName, Context context) throws IVException, IOException(Code) | | Wrap image into .swf file
possible parameters in request:
http://host/image.jpg.swt?width=100&height=200¢er=true
if there is no width and height then there is no scaling
if there is no center then there is no translating
Parameters: fileName - file name to wrap Parameters: context - generator context wrapped resource exception: IVException - exception: IOException - |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|