public interface RequestHandler
Modifier and Type | Method and Description |
---|---|
void |
afterError(Request<?> request,
Exception e)
リクエストが失敗した後に、特定のリクエストに対する追加処理を実行します。
|
void |
afterResponse(Request<?> request,
Object response)
(クライアントランタイムによって実行された後に)
特定のリクエストに対する追加処理を実行します。
|
void |
beforeRequest(Request<?> request)
(クライアントランタイムによって実行される前に)
特定のリクエストに対する追加処理を実行します。
|
void beforeRequest(Request<?> request)
request
- 処理される低レベルのリクエストvoid afterResponse(Request<?> request, Object response)
request
- 処理される低レベルのリクエストresponse
- 特定のリクエストから生成されたレスポンスCopyright © 2018. All rights reserved.