jp.sourceforge.livez.brew
クラス BrewGenerator

java.lang.Object
  上位を拡張 jp.sourceforge.livez.MobilePhoneGenerator<BrewRequest,Brew>
      上位を拡張 jp.sourceforge.livez.brew.BrewGenerator

public final class BrewGenerator
extends MobilePhoneGenerator<BrewRequest,Brew>

BREW端末情報を生成する携帯端末情報ジェネレータクラスです。

作成者:
杉澤 浩二

フィールドの概要
static String BEAN_ID
          BREWサービス検証クラスが設定ファイルを参照してこのクラスを生成する時に使用するキー名です。
 
コンストラクタの概要
BrewGenerator()
          デフォルトコンストラクタです。
 
メソッドの概要
 Brew create(BrewRequest r)
          BREW端末リクエスト情報からiモード端末情報を生成して返します。
 Brew create(HttpServletRequest request)
          HTTP リクエスト情報からBREW端末情報を生成して返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

BEAN_ID

public static final String BEAN_ID
BREWサービス検証クラスが設定ファイルを参照してこのクラスを生成する時に使用するキー名です。

関連項目:
BrewService.getMobilePhoneGenerator(WebApplicationContext), 定数フィールド値
コンストラクタの詳細

BrewGenerator

public BrewGenerator()
デフォルトコンストラクタです。

メソッドの詳細

create

public Brew create(BrewRequest r)
            throws NullPointerException
BREW端末リクエスト情報からiモード端末情報を生成して返します。

定義:
クラス MobilePhoneGenerator<BrewRequest,Brew> 内の create
パラメータ:
r - BREW端末リクエスト情報
戻り値:
BREW端末情報
例外:
NullPointerException - BREW端末リクエスト情報が null の場合

create

public Brew create(HttpServletRequest request)
            throws NullPointerException,
                   IllegalRequestException
HTTP リクエスト情報からBREW端末情報を生成して返します。

定義:
クラス MobilePhoneGenerator<BrewRequest,Brew> 内の create
パラメータ:
request - HTTPリクエスト情報
戻り値:
BREW端末情報
例外:
NullPointerException - HTTPリクエスト情報が null の場合
IllegalRequestException - HTTPリクエスト情報が不正な場合


Copyright © 2005-2006 Kouji Sugisawa. All rights reserved.