case class FollowingSearchQuery(originalQuery: PaginatedApiQuery[SearchResponse, Content], contentId: String, direction: Direction = Next) extends PaginatedApiQuery[SearchResponse, Content] with Product with Serializable
- Alphabetic
- By Inheritance
- FollowingSearchQuery
- Serializable
- Serializable
- Product
- Equals
- PaginatedApiQuery
- ContentApiQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FollowingSearchQuery(originalQuery: PaginatedApiQuery[SearchResponse, Content], contentId: String, direction: Direction = Next)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val contentId: String
- val direction: Direction
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
followingQueryGiven(response: SearchResponse, direction: Direction): Option[PaginatedApiQuery[SearchResponse, Content]]
- Definition Classes
- PaginatedApiQuery
-
def
followingQueryGivenFull(response: SearchResponse, updatedDirection: Direction): Option[PaginatedApiQuery[SearchResponse, Content]]
Construct a query for the subsequent results after this response.
Construct a query for the subsequent results after this response. This method will only be called if the response was supplied a full page of results, meaning that there's the possibility of more results to fetch.
- Attributes
- protected
- Definition Classes
- FollowingSearchQuery → PaginatedApiQuery
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getUrl(targetUrl: String, customParameters: Map[String, String] = Map.empty): String
- Definition Classes
- ContentApiQuery
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val originalQuery: PaginatedApiQuery[SearchResponse, Content]
-
def
parameters: Map[String, String]
- Definition Classes
- FollowingSearchQuery → ContentApiQuery
-
def
pathSegment: String
- Definition Classes
- FollowingSearchQuery → ContentApiQuery
-
def
setPaginationConsistentWith(response: SearchResponse): PaginatedApiQuery[SearchResponse, Content]
Produce a version of this query that explicitly sets previously unset pagination/ordering parameters, matching how the Content API server decided to process the previous request.
Produce a version of this query that explicitly sets previously unset pagination/ordering parameters, matching how the Content API server decided to process the previous request.
For instance, if the Content API decided to process https://content.guardianapis.com/search?q=brexit with pageSize:10 & orderBy:relevance, that will have been detailed in the CAPI response - and therefore we can copy those parameters into our following query so we don't change how we're ordering the results as we paginate through them!
- Definition Classes
- FollowingSearchQuery → PaginatedApiQuery
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ContentApiQuery → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.