Class SmoSearchResponseImpl
java.lang.Object
org.apache.maven.search.support.SearchResponseSupport
org.apache.maven.search.backend.smo.internal.SmoSearchResponseImpl
- All Implemented Interfaces:
SmoSearchResponse
,org.apache.maven.search.SearchResponse
public class SmoSearchResponseImpl
extends org.apache.maven.search.support.SearchResponseSupport
implements SmoSearchResponse
-
Constructor Summary
ConstructorDescriptionSmoSearchResponseImpl
(org.apache.maven.search.SearchRequest searchRequest, int totalHits, List<org.apache.maven.search.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
-
-
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
-