public abstract class

SimpleConfigurationServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.atlassian.fisheye.plugins.scm.utils.SimpleConfigurationServlet<T extends com.atlassian.fisheye.plugins.scm.utils.SimpleConfiguration>

Class Overview

A base class for SCM configuration servlets which can treat their configuration objects as beans with String properties.

Summary

Public Constructors
SimpleConfigurationServlet(PluginAccessor pluginAccessor, FisheyePluginUtilities fisheyePluginUtilities, VelocityHelper velocityHelper)
Protected Methods
abstract T defaultConfig()
void doGet(HttpServletRequest req, HttpServletResponse resp)
void doPost(HttpServletRequest req, HttpServletResponse resp)
abstract String getProviderPluginModuleKey()
abstract String getTemplatePackage()
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Public Constructors

public SimpleConfigurationServlet (PluginAccessor pluginAccessor, FisheyePluginUtilities fisheyePluginUtilities, VelocityHelper velocityHelper)

Protected Methods

protected abstract T defaultConfig ()

protected void doGet (HttpServletRequest req, HttpServletResponse resp)

Throws
ServletException
IOException

protected void doPost (HttpServletRequest req, HttpServletResponse resp)

Throws
ServletException
IOException

protected abstract String getProviderPluginModuleKey ()

protected abstract String getTemplatePackage ()