View Javadoc

1   /*
2    * Copyright 2004-2008 the Seasar Foundation and the Others.
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,
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.cubby;
17  
18  /**
19   * Cubbyフレームワークで使用する定数クラスです。
20   * 
21   * @author agata
22   * @author baba
23   * @since 1.0.0
24   */
25  public class CubbyConstants {
26  
27  	/**
28  	 * 内部フォワード先のディレクトリ。
29  	 */
30  	public static final String INTERNAL_FORWARD_DIRECTORY = "/__internal_forward";
31  
32  	/**
33  	 * Cubbyのデフォルトメッセージリソースの名前。
34  	 */
35  	public static final String RES_MESSAGES = "messages";
36  
37  	/**
38  	 * アクションオブジェクトのリクエストの属性中の名前。
39  	 */
40  	public static final String ATTR_ACTION = "action";
41  
42  	/**
43  	 * メッセージリソースをMapに変換したオブジェクトのリクエストの属性中の名前。
44  	 */
45  	public static final String ATTR_MESSAGES = "messages";
46  
47  	/**
48  	 * コンテキストパスのリクエストの属性中の名前。
49  	 */
50  	public static final String ATTR_CONTEXT_PATH = "contextPath";
51  
52  	/**
53  	 * パラメータオブジェクトのリクエストの属性中の名前。
54  	 */
55  	public static final String ATTR_PARAMS = "org.seasar.cubby.params";
56  
57  	/**
58  	 * 内部フォワード時にルーティング情報を引き渡すための名前。
59  	 */
60  	public static final String ATTR_ROUTINGS = "org.seasar.cubby.routings";
61  
62  	/**
63  	 * バリデーションエラーを表すオブジェクトのリクエストの属性中の名前。
64  	 */
65  	public static final String ATTR_VALIDATION_FAIL = "org.seasar.cubby.validationFail";
66  
67  	/**
68  	 * トークンのMapをセッションに保存する名前。
69  	 */
70  	public static final String ATTR_TOKEN = "org.seasar.cubby.token";
71  
72  }