diff options
author | cbridgha | 2008-10-29 18:48:39 +0000 |
---|---|---|
committer | cbridgha | 2008-10-29 18:48:39 +0000 |
commit | 061156a80acd41c0f300295ae43e784d9a79458f (patch) | |
tree | 293f8ae6508e00c2a4a5433b4688f5d511b8d8fc /plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet | |
parent | 8885f699e9ab09d943c5594b1c00fc29987ca947 (diff) | |
download | webtools.javaee-200810291849.tar.gz webtools.javaee-200810291849.tar.xz webtools.javaee-200810291849.zip |
This commit was manufactured by cvs2svn to create tag 'v200810291849'.v200810291849
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet b/plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet deleted file mode 100644 index 3f8f6f5a3..000000000 --- a/plugins/org.eclipse.jst.j2ee.web/templates/servlet.javajet +++ /dev/null @@ -1,140 +0,0 @@ -<%@ jet package="org.eclipse.jst.j2ee.internal.web.operations" - imports="java.util.* org.eclipse.jst.j2ee.internal.common.operations.*" - class="ServletTemplate" -%> -<% CreateServletTemplateModel model = (CreateServletTemplateModel) argument; %> -<%@ include file="_flags.template" %> -<%@ include file="_package.template" %> -<%@ include file="_imports.template" %> -<%@ include file="servlet_classHeader.template" %> -<%@ include file="_class.template" %> -<% - if (model.isGenericServletSuperclass()) { -%> - private static final long serialVersionUID = 1L; -<% - } -%> -<%@ include file="_constructors.template" %> -<%@ include file="_methods.template" %> -<% if (model.shouldGenInit()) { %> - - /** - * @see Servlet#init(ServletConfig) - */ - public void init(ServletConfig config) throws ServletException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDestroy()) { %> - - /** - * @see Servlet#destroy() - */ - public void destroy() { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenGetServletConfig()) { %> - - /** - * @see Servlet#getServletConfig() - */ - public ServletConfig getServletConfig() { - // TODO Auto-generated method stub - return null; - } -<% } %> -<% if (model.shouldGenGetServletInfo()) { %> - - /** - * @see Servlet#getServletInfo() - */ - public String getServletInfo() { - // TODO Auto-generated method stub - return null; - } -<% } %> -<% if (model.shouldGenService() && !model.isHttpServletSuperclass()) { %> - - /** - * @see Servlet#service(ServletRequest request, ServletResponse response) - */ - public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenService() && model.isHttpServletSuperclass()) { %> - - /** - * @see HttpServlet#service(HttpServletRequest request, HttpServletResponse response) - */ - protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoGet()) { %> - - /** - * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) - */ - protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoPost()) { %> - - /** - * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) - */ - protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoPut()) { %> - - /** - * @see HttpServlet#doPut(HttpServletRequest, HttpServletResponse) - */ - protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoDelete()) { %> - - /** - * @see HttpServlet#doDelete(HttpServletRequest, HttpServletResponse) - */ - protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoHead()) { %> - - /** - * @see HttpServlet#doHead(HttpServletRequest, HttpServletResponse) - */ - protected void doHead(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoOptions()) { %> - - /** - * @see HttpServlet#doOptions(HttpServletRequest, HttpServletResponse) - */ - protected void doOptions(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> -<% if (model.shouldGenDoTrace()) { %> - - /** - * @see HttpServlet#doTrace(HttpServletRequest, HttpServletResponse) - */ - protected void doTrace(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { - // TODO Auto-generated method stub - } -<% } %> - -} |