Class RemoteRepositorySearchResponseImpl
java.lang.Object
org.apache.maven.search.support.SearchResponseSupport
org.apache.maven.search.backend.remoterepository.internal.RemoteRepositorySearchResponseImpl
- All Implemented Interfaces:
RemoteRepositorySearchResponse
,SearchResponse
public class RemoteRepositorySearchResponseImpl
extends SearchResponseSupport
implements RemoteRepositorySearchResponse
-
Constructor Summary
ConstructorDescriptionRemoteRepositorySearchResponseImpl
(SearchRequest searchRequest, int totalHits, List<Record> page, String uri, org.jsoup.nodes.Document document) -
Method Summary
Modifier and TypeMethodDescriptionorg.jsoup.nodes.Document
Returns the JSoup document, if exists ornull
.getUri()
The URI that was tried to createDocument
from.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
-
RemoteRepositorySearchResponseImpl
public RemoteRepositorySearchResponseImpl(SearchRequest searchRequest, int totalHits, List<Record> page, String uri, org.jsoup.nodes.Document document)
-
-
Method Details
-
getUri
Description copied from interface:RemoteRepositorySearchResponse
The URI that was tried to createDocument
from.- Specified by:
getUri
in interfaceRemoteRepositorySearchResponse
-
getDocument
public org.jsoup.nodes.Document getDocument()Description copied from interface:RemoteRepositorySearchResponse
Returns the JSoup document, if exists ornull
.- Specified by:
getDocument
in interfaceRemoteRepositorySearchResponse
-