概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
FlatServe
1.1
前 次
フレームあり
フレームなし
すべてのクラス
A
B
C
D
E
F
G
H
I
M
P
R
S
T
U
V
W
A
addAvailablePlugin(Class<? extends Plugin>)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
適用するプラグインを指定します。
addOptionalConfig(Object)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
プラグインによるオプション設定を追加します。
addRequestPathMapping(String, Class<?>)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
サービスクラスマッピングを追加します。
addRequestPathMapping(Map<String, Class<?>>)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
サービスクラスのマッピングを追加します。
addRequestPathMapping(Properties)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
HTTPサービスクラスのマッピングを追加します。
ApplicationException
-
com.small_it_office.flatserve.core
の 例外
アプリケーションのコーディング誤りにより発生する例外です。
ApplicationException(String)
- 例外 com.small_it_office.flatserve.core.
ApplicationException
のコンストラクタ
コンストラクタ。
ApplicationException(String, Throwable)
- 例外 com.small_it_office.flatserve.core.
ApplicationException
のコンストラクタ
コンストラクタ。
ApplicationInitializer
-
com.small_it_office.flatserve.core.config
の インタフェース
サーブレットの初期化時にアプリケーションの設定を行うメソッドを定義するインターフェースです。
B
ByteArrayResponse
-
com.small_it_office.flatserve.core.response
の クラス
バイト配列による応答をあらわすクラスです。
ByteArrayResponse()
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のコンストラクタ
C
com.small_it_office.flatserve.core
- パッケージ com.small_it_office.flatserve.core
メインのサーブレットクラスと、その他FlatServe内で利用する汎用クラスを提供します。
com.small_it_office.flatserve.core.config
- パッケージ com.small_it_office.flatserve.core.config
FlatServeの設定を行うためのクラスを提供します。
com.small_it_office.flatserve.core.plugin
- パッケージ com.small_it_office.flatserve.core.plugin
プラグインに関するクラスを提供します。
com.small_it_office.flatserve.core.request
- パッケージ com.small_it_office.flatserve.core.request
クライアントから受信したHTTPリクエストの読み込みに関するクラスを提供します。
com.small_it_office.flatserve.core.response
- パッケージ com.small_it_office.flatserve.core.response
HTTPレスポンスをクライアントに送信するためのクラスを提供します。
com.small_it_office.flatserve.core.service
- パッケージ com.small_it_office.flatserve.core.service
HTTPサービスメソッドの作成に関するクラスを提供します。
Config
-
com.small_it_office.flatserve.core.config
の クラス
FlatServeに対する設定を表すクラスです。
Config()
- クラス com.small_it_office.flatserve.core.config.
Config
のコンストラクタ
D
doDelete(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
doGet(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
doPost(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
doPut(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
E
ErrorResponder
-
com.small_it_office.flatserve.core
の インタフェース
不正な画面遷移が発生した場合に応答を返す処理を行うインターフェースです。
F
FlatServe
-
com.small_it_office.flatserve.core
の クラス
HTTPクライアントからの唯一のエントリポイントであるサーブレットです。
FlatServe()
- クラス com.small_it_office.flatserve.core.
FlatServe
のコンストラクタ
ForwardResponse
-
com.small_it_office.flatserve.core.response
の クラス
他のページにフォワードして応答することをあらわす応答クラスです。
ForwardResponse(String)
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のコンストラクタ
コンストラクタ。
G
getContent()
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
レスポンスボディの内容を取得します。
getContent()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
レスポンスボディで送信するテキストを返します。
getContentType()
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
content-typeヘッダの値を返します。
getContentType()
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
content-typeはフォワード先で設定するため、このメソッドではnullを返します。
getContentType()
- クラス com.small_it_office.flatserve.core.response.
HtmlTextResponse
のメソッド
HTTP応答で送信するcontent-typeヘッダの値を返します。 デフォルトでは"text/plain"を返します。 ここでは、"text/html"を返します。
getContentType()
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
HTTP応答で送信するcontent-typeヘッダの値を返します。
getContentType()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
HTTP応答で送信するcontent-typeヘッダの値を返します。 デフォルトでは"text/plain"を返します。
getEncoding()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
テキストのエンコーディングを返します。
getHeader(String)
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
応答に追加されるHTTPヘッダの値を取得します。
getHeaders()
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
応答に追加されるHTTPヘッダを、保持しているものについて全て取得します。
getInstance()
- クラス com.small_it_office.flatserve.core.request.
Populator
の static メソッド
インスタンスを返します。
getLocale()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
実行時のロケールを返します。
getOptionalConfig(Class<T>)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
オプション設定を返します。
getPackagePrefix()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
パッケージ名共通部の設定を返します。
getRequestEncoding()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストエンコーディングの設定を返します。
getServiceNotFoundErrorResponder()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストURLに対応するHTTPサービスクラス・メソッドが存在しない場合にエラー応答を返すオブジェクトを返します。
getServiceNotFoundForwardUrl()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストURLに対応するHTTPサービスクラス・メソッドが存在しない場合にフォワードするURLを返します。
getSessionTimeoutErrorResponder()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
SessionRequiredアノテーションが指定されたメソッド実行時にHTTPセッションが無効である場合にエラー応答を返すオブジェクトを返します。
getSessionTimeoutForwardUrl()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
SessionRequiredアノテーションが指定されたメソッド実行時にHTTPセッションが無効である場合にフォワードするURLを返します。。
getStatusCode()
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
レスポンスで返却するHTTPステータスコードを取得します。
H
Header
-
com.small_it_office.flatserve.core.request
の 注釈タイプ
サービスメソッドの引数にこのアノテーションを付与すると、 指定した名前のHTTPリクエストヘッダがインジェクションされます。
HtmlTextResponse
-
com.small_it_office.flatserve.core.response
の クラス
HTMLテキストの応答を表すクラスです。
HtmlTextResponse()
- クラス com.small_it_office.flatserve.core.response.
HtmlTextResponse
のコンストラクタ
HttpMethod
-
com.small_it_office.flatserve.core.service
の 列挙型
HTTPメソッドを指定するための列挙型です。
HttpService
-
com.small_it_office.flatserve.core.service
の 注釈タイプ
メソッドがHTTPサービスメソッドであることを示すアノテーションです。
HttpServiceException
-
com.small_it_office.flatserve.core.service
の 例外
HTTPサービスの生成や実行で失敗した場合に発生する例外です。
HttpServiceException(String, Throwable)
- 例外 com.small_it_office.flatserve.core.service.
HttpServiceException
のコンストラクタ
例外のコンストラクタ。
I
IllegalHttpServiceException
-
com.small_it_office.flatserve.core.service
の 例外
HTTPサービスクラスの実装に誤りがあることを示す例外です。
IllegalHttpServiceException(String)
- 例外 com.small_it_office.flatserve.core.service.
IllegalHttpServiceException
のコンストラクタ
例外のコンストラクタ。
InfrastructureException
-
com.small_it_office.flatserve.core
の 例外
実行環境のトラブルなどによると考えられる障害が発生した場合にthrowする例外です。
InfrastructureException(Throwable)
- 例外 com.small_it_office.flatserve.core.
InfrastructureException
のコンストラクタ
例外のコンストラクタ。
init(ServletConfig)
- インタフェース com.small_it_office.flatserve.core.config.
ApplicationInitializer
のメソッド
FlatServeアプリケーションの初期化を行います。
init()
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
アプリケーション初期化クラスのインスタンスを取得し、 初期化処理を呼び出してConfigを生成します。
InitializationException
-
com.small_it_office.flatserve.core.config
の 例外
サーブレットの初期化に失敗した場合にthrowする例外です。
InitializationException(String)
- 例外 com.small_it_office.flatserve.core.config.
InitializationException
のコンストラクタ
例外のコンストラクタ。
InitializationException(String, Throwable)
- 例外 com.small_it_office.flatserve.core.config.
InitializationException
のコンストラクタ
例外のコンストラクタ。
isAvailablePlugin(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
文字列で指定した名前のクラスが、適用されるプラグインとして指定されているかどうかを返します。
isPluginAutoDetect()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
プラグインをクラスパス上から自動的にプラグインを探し出すかどうかを返します。
M
matchesName(String)
- 列挙 com.small_it_office.flatserve.core.service.
HttpMethod
のメソッド
文字列のHTTPメソッド名がこのenumが表すHTTPメソッドと一致するかどうかを返します。
P
Param
-
com.small_it_office.flatserve.core.request
の 注釈タイプ
サービスメソッドの引数にこのアノテーションを付与すると、 指定した名前のリクエストパラメータがインジェクションされます。
ParameterMappingException
-
com.small_it_office.flatserve.core.request
の 例外
リクエストパラメータから引数へのマッピングに失敗したことを表す例外です。
ParameterMappingException(String, Throwable)
- 例外 com.small_it_office.flatserve.core.request.
ParameterMappingException
のコンストラクタ
例外のコンストラクタ。
ParameterMappingException(String)
- 例外 com.small_it_office.flatserve.core.request.
ParameterMappingException
のコンストラクタ
例外のコンストラクタ。
pathToClass(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
サービスクラスマッピングが設定されている場合、リクエストパスに対するHTTPサービスクラスを返します。
Plugin
-
com.small_it_office.flatserve.core.plugin
の インタフェース
プラグインを表すクラスが実装するマーカインターフェース。
populate(Class<T>)
- クラス com.small_it_office.flatserve.core.request.
Populator
のメソッド
JavaBeanのインスタンスを生成し、リクエスト情報を格納して返します。
Populator
-
com.small_it_office.flatserve.core.request
の クラス
HTTPリクエストで送信された情報を格納したJavaBeanのインスタンスを生成するクラスです。
R
RequestBody
-
com.small_it_office.flatserve.core.request
の 注釈タイプ
このアノテーションを引数に付与すると、HTTPリクエストボディがそのまま引数にインジェクションされます。
respondError(HttpServletRequest, HttpServletResponse, ServletConfig)
- インタフェース com.small_it_office.flatserve.core.
ErrorResponder
のメソッド
不正な画面遷移発生時に後処理を実行します。
Response
-
com.small_it_office.flatserve.core.response
の クラス
HTTPの応答を表すクラスの基底クラスです。
Response()
- クラス com.small_it_office.flatserve.core.response.
Response
のコンストラクタ
ResponseFailException
-
com.small_it_office.flatserve.core.response
の 例外
レスポンスの送信に失敗したことを表す例外です。
ResponseFailException(String)
- 例外 com.small_it_office.flatserve.core.response.
ResponseFailException
のコンストラクタ
例外のコンストラクタ。
ResponseFailException(String, Throwable)
- 例外 com.small_it_office.flatserve.core.response.
ResponseFailException
のコンストラクタ
例外のコンストラクタ。
S
sendResponse()
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
HTTP応答を送信します。
SessionRequired
-
com.small_it_office.flatserve.core.service
の 注釈タイプ
HTTPサービスメソッド実行時に、HTTPセッションが存在しなければならないことを示します。
setContent(byte[])
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
レスポンスボディの内容を設定します。
setContent(String)
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
レスポンスボディで送信するテキストを設定します。
setContentType(String)
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
content-typeヘッダの値を設定します。
setContentType(String)
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
content-typeヘッダの値を設定します。
setEncoding(String)
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
テキストのエンコーディングを設定します。
setHeader(String, String)
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
応答に追加するHTTPヘッダを設定します。
setLocale(Locale)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
実行時のロケールを設定します。
setPackagePrefix(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
パッケージ名共通部を設定します。
setPluginAutoDetect(boolean)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
プラグインをクラスパス上から自動的にプラグインを探し出すかどうかを設定します。
setRequestEncoding(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストエンコーディングを設定します。
setRequestScope(String, Object)
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
リクエストスコープにオブジェクトを格納します。
setServiceNotFoundErrorResponder(ErrorResponder)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストURLに対応するHTTPサービスクラス・メソッドが存在しない場合にエラー応答を返すオブジェクトを設定します。
setServiceNotFoundForwardUrl(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストURLに対応するHTTPサービスクラス・メソッドが存在しない場合にフォワードするURLを設定します。
setSessionScope(String, Object)
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
セッションスコープにオブジェクトを格納します。
setSessionTimeoutErrorResponder(ErrorResponder)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
SessionRequiredアノテーションが指定されたメソッド実行時にHTTPセッションが無効である場合にエラー応答を返すオブジェクトを設定します。
setSessionTimeoutForwardUrl(String)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
SessionRequiredアノテーションが指定されたメソッド実行時にHTTPセッションが無効である場合にフォワードするURLを設定します。
setStatusCode(int)
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
レスポンスで返却するHTTPステータスコードを設定します。
Singleton
-
com.small_it_office.flatserve.core.service
の 注釈タイプ
HTTPサービスクラスのインスタンスを毎回生成せず、ひとつのインスタンスを保持することを指定するアノテーションです。
T
TextResponse
-
com.small_it_office.flatserve.core.response
の クラス
テキストの応答をあらわすクラスです。
TextResponse()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のコンストラクタ
TrueValue
-
com.small_it_office.flatserve.core.request
の 注釈タイプ
true値を表すリクエストパラメータの文字列を指定します。
U
UnexpectedException
-
com.small_it_office.flatserve.core
の 例外
ありえない例外が発生した場合にthrowする例外です。
UnexpectedException()
- 例外 com.small_it_office.flatserve.core.
UnexpectedException
のコンストラクタ
例外のコンストラクタ。
UnexpectedException(Throwable)
- 例外 com.small_it_office.flatserve.core.
UnexpectedException
のコンストラクタ
例外のコンストラクタ。
V
valueOf(String)
- 列挙 com.small_it_office.flatserve.core.service.
HttpMethod
の static メソッド
指定した名前を持つこの型の列挙型定数を返します。
values()
- 列挙 com.small_it_office.flatserve.core.service.
HttpMethod
の static メソッド
この列挙型の定数を含む配列を宣言されている順序で返します。
W
writeResponse()
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
HTTP応答を書き込みます。
writeResponse()
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
HTTP応答を書き込みます。
writeResponse()
- クラス com.small_it_office.flatserve.core.response.
Response
のメソッド
HTTP応答を書き込みます。
writeResponse()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
HTTP応答を書き込みます。
A
B
C
D
E
F
G
H
I
M
P
R
S
T
U
V
W
概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
FlatServe
1.1
前 次
フレームあり
フレームなし
すべてのクラス