Woolpack API

インタフェース
woolpack.web.WebContext の使用

WebContext を使用しているパッケージ
woolpack.ee Web アプリケーション用部品とServlet API に依存する部品のパッケージです。 
woolpack.idweb 識別子とWebContextの両方の性質を持つコンテキストを処理する部品のパッケージです。 
woolpack.web Servlet APIの各スコープをMapConcurrentMapで抽象化したインタフェースと それに対する操作を定義するパッケージです。 
 

woolpack.ee での WebContext の使用
 

WebContext を実装している woolpack.ee のクラス
 class EEContext
          単一リクエストまたは単一スレッドごとの状態を保持するコンテキストです。
 

woolpack.idweb での WebContext の使用
 

WebContext 型の型パラメータを持つ woolpack.idweb のクラス
 class ValidatorFn<C extends WebContext & IdContext,E extends Exception>
           
 

WebContext を実装している woolpack.idweb のクラス
 class IdWebContext
          単純なWebContextIdContextの実装です。
 

WebContext 型の型パラメータを持つ woolpack.idweb のメソッド
static
<C extends WebContext & IdContext,E extends java.lang.Exception>
Fn<C,java.lang.Void,E>
IdWebUtils.validate(Fn<? super ValidatorContext,java.lang.Boolean,? extends E> validatorFn, Fn<? super C,java.lang.Void,? extends E> trueFn, Fn<? super C,java.lang.Void,? extends E> falseFn, Fn<? super java.util.List<AddressedMessage>,?,? extends E> messageListConverter, EL messageListSetter, boolean convertDelegateFlag, boolean convertReturnFlag)
          WebContextValidatorContextのアダプタを生成します。
 

woolpack.web での WebContext の使用
 

WebContext 型の型パラメータを持つ woolpack.web のクラス
 class TransactionTokenFn<C extends WebContext,R,E extends Exception>
           
 

WebContext を実装している woolpack.web のクラス
 class SimpleWebContext
          単純なWebContext実装です。
 

WebContext 型の型パラメータを持つ woolpack.web のフィールド
static Fn<WebContext,java.lang.Void,java.lang.RuntimeException> WebUtils.CLEAR_SESSION
          セッションスコープをクリアする関数です。
 

WebContext 型の型パラメータを持つ woolpack.web のメソッド
static
<C extends ContainerContext<WebContext>>
Fn<C,java.lang.Object,java.lang.Exception>
WebUtils.application(Fn<? super C,?,? extends java.lang.Exception> fn)
          アプリケーションスコープでキャッシュする関数を生成します。
static
<C extends WebContext,R,E extends java.lang.Exception>
Fn<C,R,E>
WebUtils.checkTransactionToken(java.lang.String key, Fn<? super C,java.lang.Boolean,? extends E> targetCheckFn, Fn<? super C,R,? extends E> trueFn, Fn<? super C,R,? extends E> falseFn)
          トランザクショントークンを検証して登録/更新する関数を生成します。
static
<C extends WebContext,R,E extends java.lang.Exception>
Fn<C,R,E>
WebUtils.checkTransactionToken(java.lang.String key, Fn<? super C,java.lang.Boolean,? extends E> targetCheckFn, Fn<? super C,R,? extends E> trueFn, Fn<? super C,R,? extends E> falseFn, int size)
          トランザクショントークンを検証して登録/更新する関数を生成します。
static
<C extends ContainerContext<WebContext>>
Fn<C,java.lang.Object,java.lang.Exception>
WebUtils.request(Fn<? super C,?,? extends java.lang.Exception> fn)
          リクエストスコープでキャッシュする関数を生成します。
static
<C extends ContainerContext<WebContext>>
Fn<C,java.lang.Object,java.lang.Exception>
WebUtils.session(Fn<? super C,?,? extends java.lang.Exception> fn)
          セッションスコープでキャッシュする関数を生成します。
 

WebContext 型の引数を持つ型を返す woolpack.web のメソッド
static
<E extends java.lang.Exception>
Fn<WebContext,java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>,E>
WebUtils.applicationFn()
          アプリケーションスコープを返す関数を生成します。
static
<E extends java.lang.Exception>
Fn<WebContext,java.lang.Object,E>
WebUtils.containerFn()
          コンテナを返す関数を生成します。
 Fn<? super ContainerContext<WebContext>,?,? extends java.lang.Exception> ContainerContextSetter.getFn()
           
static
<E extends java.lang.Exception>
Fn<WebContext,java.util.Map<java.lang.String,java.util.List<java.lang.Object>>,E>
WebUtils.inputFn()
          入力スコープを返す関数を生成します。
static
<E extends java.lang.Exception>
Fn<WebContext,java.util.Map<java.lang.String,java.lang.Object>,E>
WebUtils.requestFn()
          リクエストスコープを返す関数を生成します。
static
<E extends java.lang.Exception>
Fn<WebContext,java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>,E>
WebUtils.sessionFn()
          セッションスコープを返す関数を生成します。
static Fn<WebContext,java.lang.Void,java.lang.RuntimeException> WebUtils.setContainerContext(Fn<? super ContainerContext<WebContext>,?,? extends java.lang.Exception> fn)
          setContainer(Object)ContainerContextを設定する関数を生成します。
 

WebContext 型のパラメータを持つ woolpack.web のメソッド
 java.lang.Void ContainerContextSetter.exec(WebContext c)
           
 

Method parameters in woolpack.web with type arguments of type WebContext
static Fn<WebContext,java.lang.Void,java.lang.RuntimeException> WebUtils.setContainerContext(Fn<? super ContainerContext<WebContext>,?,? extends java.lang.Exception> fn)
          setContainer(Object)ContainerContextを設定する関数を生成します。
 void ContainerContextSetter.setFn(Fn<? super ContainerContext<WebContext>,?,? extends java.lang.Exception> fn)
           
 

Constructor parameters in woolpack.web with type arguments of type WebContext
ContainerContextSetter(Fn<? super ContainerContext<WebContext>,?,? extends java.lang.Exception> fn)
           
 


Woolpack API

Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.