|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.barracudamvc.core.comp.helper.ComponentGateway
org.barracudamvc.tutorials.comp.HelloWorld1a
Here's an example of HelloWorld using the BTemplate component
Field Summary |
Fields inherited from class org.barracudamvc.core.comp.helper.ComponentGateway |
HTTP_SERVLET_REQUEST, HTTP_SERVLET_RESPONSE, logger, recycleChildren |
Constructor Summary | |
HelloWorld1a()
|
Method Summary | |
Document |
handleDefault(BComponent root,
ViewContext vc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle the default HttpRequest. |
Methods inherited from class org.barracudamvc.core.comp.helper.ComponentGateway |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getDOMWriter, getIterator, handleDefault, handleEventException, handleRenderException |
Methods inherited from class javax.servlet.http.HttpServlet |
doHead, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HelloWorld1a()
Method Detail |
public Document handleDefault(BComponent root, ViewContext vc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
handleDefault
in class ComponentGateway
root
- the root component which will get rendered as a result
of this requestvc
- the ViewContext object describes what features the
client view is capable of supportingreq
- the servlet requestresp
- the servlet response
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |