1
|
|
/* Generated by AspectJ version 1.0.5 */
|
2
|
|
package org.apache.cactus;
|
3
|
|
/**
|
4
|
|
* Constants that define HTTP parameters required for defining a service that
|
5
|
|
* is performed by the <code>ServletTestRedirector</code> servlet.
|
6
|
|
*
|
7
|
|
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
|
8
|
|
*
|
9
|
|
* @version $Id: HttpServiceDefinition.java,v 1.1 2002/07/21 11:36:54 vmassol Exp $
|
10
|
|
*/
|
11
|
|
public interface HttpServiceDefinition {
|
12
|
|
/**
|
13
|
|
* Name of the parameter in the HTTP request that represents the name of the
|
14
|
|
* Test class to call. The name is voluntarily long so that it will not
|
15
|
|
* clash with a user-defined parameter.
|
16
|
|
*/
|
17
|
|
public static final String CLASS_NAME_PARAM = "Cactus_TestClass";
|
18
|
|
/**
|
19
|
|
* Name of the parameter in the HTTP request that represents the name of the
|
20
|
|
* Test method to call. The name is voluntarily long so that it will not
|
21
|
|
* clash with a user-defined parameter.
|
22
|
|
*/
|
23
|
|
public static final String METHOD_NAME_PARAM = "Cactus_TestMethod";
|
24
|
|
/**
|
25
|
|
* Name of the parameter in the HTTP request that specify if a session
|
26
|
|
* should be automatically created for the user or not.
|
27
|
|
*/
|
28
|
|
public static final String AUTOSESSION_NAME_PARAM = "Cactus_AutomaticSession";
|
29
|
|
/**
|
30
|
|
* Name of the parameter in the HTTP request that specify the service asked
|
31
|
|
* to the Redirector Servlet. It can be either to ask the Redirector Servlet
|
32
|
|
* to call the test method or to ask the Redirector Servlet to return the
|
33
|
|
* result of the last test.
|
34
|
|
*
|
35
|
|
* @see ServiceEnumeration
|
36
|
|
*/
|
37
|
|
public static final String SERVICE_NAME_PARAM = "Cactus_Service";}
|