概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
FlatServe
0.2
前 次
フレームあり
フレームなし
すべてのクラス
A
B
C
D
F
G
H
I
P
R
S
T
U
W
A
AbstractResponse
-
com.small_it_office.flatserve.core.response
の クラス
HTTPの応答を表すクラスの基底クラスです。
AbstractResponse()
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のコンストラクタ
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サービスクラスのマッピングを追加します。
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
doGet(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
doPost(HttpServletRequest, HttpServletResponse)
- クラス com.small_it_office.flatserve.core.
FlatServe
のメソッド
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.
AbstractResponse
のメソッド
HTTP応答で送信するcontent-typeヘッダの値を返します。
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.
TextResponse
のメソッド
HTTP応答で送信するcontent-typeヘッダの値を返します。 ここでは、"text/plain"を返します。
getEncoding()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
テキストのエンコーディングを返します。
getHeader(String)
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のメソッド
応答に追加されるHTTPヘッダの値を取得します。
getHeaders()
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のメソッド
応答に追加されるHTTPヘッダを、保持しているものについて全て取得します。
getLocale()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
実行時のロケールを返します。
getOptionalConfig(Class<T>)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
オプション設定を返します。
getPackageHeadName()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
パッケージ名共通部の設定を返します。
getRequestEncoding()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
リクエストエンコーディングの設定を返します。
H
HtmlTextResponse
-
com.small_it_office.flatserve.core.response
の クラス
HTMLテキストの応答を表すクラスです。
HtmlTextResponse()
- クラス com.small_it_office.flatserve.core.response.
HtmlTextResponse
のコンストラクタ
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
のメソッド
プラグインをクラスパス上から自動的にプラグインを探し出すかどうかを返します。
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
の インタフェース
プラグインを表すクラスが実装するマーカインターフェース。
R
RequestBody
-
com.small_it_office.flatserve.core.request
の 注釈タイプ
このアノテーションを引数に付与すると、HTTPリクエストボディがそのまま引数にインジェクションされます。
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(RequestContext)
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のメソッド
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ヘッダの値を設定します。
setEncoding(String)
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
テキストのエンコーディングを設定します。
setHeader(String, String)
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のメソッド
応答に追加するHTTPヘッダを設定します。
setLocale(Locale)
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
実行時のロケールを設定します。
setPackageHeadName(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
のメソッド
リクエストスコープにオブジェクトを格納します。
setSessionScope(String, Object)
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
セッションスコープにオブジェクトを格納します。
T
TextResponse
-
com.small_it_office.flatserve.core.response
の クラス
テキストの応答をあらわすクラスです。
TextResponse()
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のコンストラクタ
toString()
- クラス com.small_it_office.flatserve.core.config.
Config
のメソッド
このオブジェクトが持つ設定内容を文字列にして返します。
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
のコンストラクタ
例外のコンストラクタ。
W
writeResponse(RequestContext)
- クラス com.small_it_office.flatserve.core.response.
AbstractResponse
のメソッド
HTTP応答を書き込みます。
writeResponse(RequestContext)
- クラス com.small_it_office.flatserve.core.response.
ByteArrayResponse
のメソッド
HTTP応答を書き込みます。
writeResponse(RequestContext)
- クラス com.small_it_office.flatserve.core.response.
ForwardResponse
のメソッド
HTTP応答を書き込みます。
writeResponse(RequestContext)
- クラス com.small_it_office.flatserve.core.response.
TextResponse
のメソッド
HTTP応答を書き込みます。
A
B
C
D
F
G
H
I
P
R
S
T
U
W
概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
FlatServe
0.2
前 次
フレームあり
フレームなし
すべてのクラス