| javax.servlet.http.HttpServlet com.metaboss.enterprise.xi.enhydrabarracuda.ApplicationServlet
ApplicationServlet | public class ApplicationServlet extends HttpServlet (Code) | | This servlet drives MetaBoss web application
|
Method Summary | |
protected void | doDelete(HttpServletRequest req, HttpServletResponse resp) | protected void | doGet(HttpServletRequest pHttpRequest, HttpServletResponse pHttpResponse) | protected void | doOptions(HttpServletRequest req, HttpServletResponse resp) | protected void | doPost(HttpServletRequest pHttpRequest, HttpServletResponse pHttpResponse) | protected void | doPut(HttpServletRequest req, HttpServletResponse resp) | protected void | doTrace(HttpServletRequest req, HttpServletResponse resp) | public DOMWriter | getDOMWriter() Get a DOMWriter. | public Document | handleDefault(BComponent root, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) Handle the default HttpRequest. | protected void | handleDefault(HttpServletRequest req, HttpServletResponse resp) | public void | handleEventException(EventException e, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) Handle an EventException. | public void | handleRenderException(RenderException e, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) Handle a RenderException. | public void | init() |
recycleChildren | public boolean recycleChildren(Code) | | |
sMaxAge | public static int sMaxAge(Code) | | |
sPreventCaching | public static boolean sPreventCaching(Code) | | |
sPrintPretty | public static boolean sPrintPretty(Code) | | |
getDOMWriter | public DOMWriter getDOMWriter()(Code) | | Get a DOMWriter. By default, we use a DefaultDOMWriter. If
you'd like to use something else, override this method.
a DOMWriter to be used to render the DOM |
handleDefault | public Document handleDefault(BComponent root, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException, RenderException, EventException(Code) | | Handle the default HttpRequest. This is the method developers
will typically override. The developers shaould add any components
to the root component and then return the underlying DOM Document (that
backs their components) so it can be rendered
Parameters: root - the root component which will get rendered as a resultof this request Parameters: vc - the ViewContext object describes what features theclient view is capable of supporting Parameters: req - the servlet request Parameters: req - the servlet response the Document to be rendered throws: ServletException - throws: IOException - |
handleEventException | public void handleEventException(EventException e, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code) | | Handle an EventException. Basically, this is where we handle the
really bad, unexpected type of event exceptions. Generally, as you code,
if you want to interrupt the dispatch and fire a new event, you should
throw an InterruptDispatchException. Only throw EventExceptions in
truly exceptional circumstances.
Parameters: vc - the ViewContext object describes what features theclient view is capable of supporting Parameters: req - the servlet request Parameters: req - the servlet response throws: ServletException - throws: IOException - |
handleRenderException | public void handleRenderException(RenderException e, ViewContext vc, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code) | | Handle a RenderException. Basically, this is where we handle the
really bad, unexpected type of errors that occur while unexpectedldy
rendering the component hierarchy.
Parameters: vc - the ViewContext object describes what features theclient view is capable of supporting Parameters: req - the servlet request Parameters: req - the servlet response throws: ServletException - throws: 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)
|
|
|