Package org.codelibs.fess.app.web.api
Class ApiResult.ApiDocResponse
java.lang.Object
org.codelibs.fess.app.web.api.ApiResult.ApiResponse
org.codelibs.fess.app.web.api.ApiResult.ApiDocResponse
- Enclosing class:
ApiResult
Represents an API response for a single document.
-
Field Summary
FieldsFields inherited from class org.codelibs.fess.app.web.api.ApiResult.ApiResponse
status, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the document object.result()Returns a new ApiResult instance with this ApiResponse.Methods inherited from class org.codelibs.fess.app.web.api.ApiResult.ApiResponse
status
-
Field Details
-
doc
The document object.
-
-
Constructor Details
-
ApiDocResponse
public ApiDocResponse()Constructs an empty ApiDocResponse.
-
-
Method Details
-
doc
Sets the document object.- Parameters:
doc- The document object.- Returns:
- The ApiDocResponse instance.
-
result
Description copied from class:ApiResult.ApiResponseReturns a new ApiResult instance with this ApiResponse.- Overrides:
resultin classApiResult.ApiResponse- Returns:
- A new ApiResult instance.
-