Package | Description |
---|---|
nablarch.fw.web |
画面オンライン処理方式による業務処理の自動テストで使用するツール。
|
nablarch.test.core.http |
HTTPリクエスト機能のテスト機能を提供する。
|
Modifier and Type | Method and Description |
---|---|
abstract HttpServer |
HttpServer.join()
サーバスレッドが終了するまでカレントスレッドをwaitさせる。
|
HttpServer |
HttpServer.setHttpDumpEnabled(boolean enabled)
HTTPダンプ機能の有効化/無効化を設定する。
|
HttpServer |
HttpServer.setHttpDumpFilePath(java.lang.String path)
HTTPダンプの出力先ファイルパスを指定する。
|
HttpServer |
HttpServer.setHttpDumpRoot(java.lang.String path)
HTTPダンプの出力先フォルダのパスを設定する。
また、HTTPダンプ機能が無効化されている場合は有効化される。
|
HttpServer |
HttpServer.setPort(int port)
このサーバが使用するポート番号を設定する。
|
HttpServer |
HttpServer.setServletContextPath(java.lang.String path)
ベースURIを設定する。
|
HttpServer |
HttpServer.setTempDirectory(java.lang.String path)
context用の一時ディレクトリパスを指定する。
本パスを指定した場合、jspのコンパイル後のクラスなどはこのディレクトリ配下に保存される。
|
HttpServer |
HttpServer.setWarBasePath(java.lang.String warBasePath)
このサーバにデプロイするWARのパスを設定する。
|
HttpServer |
HttpServer.setWarBasePaths(java.util.List<nablarch.fw.web.ResourceLocator> warBasePaths)
このサーバにデプロイするWARのパスを複数設定する。
引数で渡されたリストの順にリソースが探索される。
|
abstract HttpServer |
HttpServer.start()
サーバを起動する。
|
abstract HttpServer |
HttpServer.startLocal()
このサーバをテストモードで起動する。
|
Modifier and Type | Method and Description |
---|---|
protected HttpServer |
HttpRequestTestSupport.createHttpServer()
HttpServerのインスタンスを生成する。
|
protected HttpServer |
HttpRequestTestSupport.createHttpServer(HttpTestConfiguration config)
HttpServerを生成する。
|