Package nablarch.fw
Interface Result
- All Known Implementing Classes:
BadRequest,Conflicted,DataReader.NoMoreRecord,DataRecordResponse,DuplicateProcessCheckHandler.DuplicateProcess,EntityResponse,ErrorResponseMessage,FileResponse,Forbidden,HttpResponse,InternalError,MessageReadError,NablarchHttpServletRequestWrapper.PostParameterReadError,NoMoreHandlerException,ProcessAbnormalEnd,ProcessStopHandler.ProcessStop,RequestEntityTooLarge,ResponseMessage,Result.ClientError,Result.Error,Result.MultiStatus,Result.NotFound,Result.Success,ServiceError,ServiceUnavailable,SessionConcurrentAccessHandler.SessionConfliction,StreamResponse,StructuredResponseMessage,TransactionAbnormalEnd,TransactionAbnormalEnd,Unauthorized
ハンドラでの処理結果を表すインターフェース。
- Author:
- Iwauo Tajima <iwauo@tis.co.jp>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classサービス呼出側に起因すると思われる問題により、処理が継続できないことを示す例外。static classハンドラの処理が異常終了したことを示す実行時例外。static class処理結果が複数のステータスを含んでいることを表す。static class要求されたリソースが存在しないため、 処理を継続することができないことを示す例外。static classハンドラの処理が正常終了したことを表す。 -
Method Summary
Modifier and TypeMethodDescription処理結果に関する詳細情報を返す。intステータスコードを返す。boolean処理が正常終了したかどうかを返す。
-
Method Details
-
getStatusCode
int getStatusCode()ステータスコードを返す。- Returns:
- ステータスコード
-
getMessage
String getMessage()処理結果に関する詳細情報を返す。- Returns:
- 詳細情報
-
isSuccess
処理が正常終了したかどうかを返す。- Returns:
- 正常終了した場合は
true
-