View Javadoc

1   /*
2    * Copyright 2008 Simon Martinelli, Rebenweg 32, 3236 Gampelen, Switzerland
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.simject.util;
17  
18  /**
19   * Constants used by simject
20   * 
21   * @author Simon Martinelli
22   */
23  public final class SimConstants {
24  
25  	/**
26  	 * The default directory where the resource.xml should be stored
27  	 */
28  	public final static String DEFAULT_DIRECTORY = "META-INF/";
29  
30  	/**
31  	 * Used in HTTP communication to define the method in the HTTP header
32  	 */
33  	public final static String PARAM_METHOD = "method";
34  
35  	/**
36  	 * Used in HTTP communication to define the method parameter types in the
37  	 * HTTP header
38  	 */
39  	public final static String PARAM_TYPES = "types";
40  
41  	/**
42  	 * Used in HTTP communication to define the delimiters used to separate the
43  	 * parameter types in the HTTP header
44  	 */
45  	public final static String PARAM_TYPE_DELIM = ",";
46  }