org.apache.tools.ant.taskdefs.optional.ide
public abstract class VAJToolsServlet extends HttpServlet
Field Summary | |
---|---|
static String | CLASSES_PARAM |
static String | DEFAULT_EXCLUDES_PARAM |
static String | DIR_PARAM |
static String | EXCLUDE_PARAM |
static String | INCLUDE_PARAM |
static String | PROJECT_NAME_PARAM |
static String | RESOURCES_PARAM |
static String | SOURCES_PARAM |
Method Summary | |
---|---|
void | doGet(HttpServletRequest req, HttpServletResponse res)
Respond to a HTTP request. |
protected abstract void | executeRequest()
Execute the request by calling the appropriate
VAJ tool API methods. |
protected boolean | getBooleanParam(String param)
Get the boolean value of a parameter. |
protected boolean | getBooleanParam(String param, boolean defaultValue)
Get the boolean value of a parameter, with a default value if
the parameter hasn't been passed to the servlet. |
protected String | getFirstParamValueString(String param)
Returns the first encountered value for a parameter. |
protected String[] | getParamValues(String param)
Returns all values for a parameter. |
protected void | initRequest()
initialize the servlet. |
protected boolean | toBoolean(String string)
A utility method to translate the strings "yes", "true", and "ok"
to boolean true, and everything else to false. |