Class SmoSearchResponseImpl
java.lang.Object
org.apache.maven.search.support.SearchResponseSupport
org.apache.maven.search.backend.smo.internal.SmoSearchResponseImpl
- All Implemented Interfaces:
SmoSearchResponse
,SearchResponse
-
Constructor Summary
ConstructorDescriptionSmoSearchResponseImpl
(SearchRequest searchRequest, int totalHits, List<Record> page, String searchUri, String rawJsonResponse) -
Method Summary
Modifier and TypeMethodDescriptionReturns "raw" JSON response from SMO endpoint, nevernull
.Returns the full search URI (base + params) that was used for this search, nevernull
.Methods inherited from class org.apache.maven.search.support.SearchResponseSupport
getCurrentHits, getPage, getSearchRequest, getTotalHits, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.search.SearchResponse
getCurrentHits, getPage, getSearchRequest, getTotalHits
-
Constructor Details
-
SmoSearchResponseImpl
public SmoSearchResponseImpl(SearchRequest searchRequest, int totalHits, List<Record> page, String searchUri, String rawJsonResponse)
-
-
Method Details
-
getSearchUri
Description copied from interface:SmoSearchResponse
Returns the full search URI (base + params) that was used for this search, nevernull
.- Specified by:
getSearchUri
in interfaceSmoSearchResponse
-
getRawJsonResponse
Description copied from interface:SmoSearchResponse
Returns "raw" JSON response from SMO endpoint, nevernull
.- Specified by:
getRawJsonResponse
in interfaceSmoSearchResponse
-