trait Proxy extends Page
This Proxy trait allows you to extend the Page trait with additional state or behavior and implement the read-only methods from Page using an underlying instance.
- Alphabetic
- By Inheritance
- Proxy
- Page
- Serializable
- HasThriftStructCodec3
- Product9
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Concrete 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
-
def
_1: Url
- Definition Classes
- Page → Product9
-
def
_2: Option[Set[String]]
- Definition Classes
- Page → Product9
-
def
_3: Option[Platform]
- Definition Classes
- Page → Product9
-
def
_4: Option[String]
- Definition Classes
- Page → Product9
-
def
_5: Option[String]
- Definition Classes
- Page → Product9
-
def
_6: Option[Set[String]]
- Definition Classes
- Page → Product9
-
def
_7: Option[Set[String]]
- Definition Classes
- Page → Product9
-
def
_8: Option[Set[Tag]]
- Definition Classes
- Page → Product9
-
def
_9: Option[Podcast]
- Definition Classes
- Page → Product9
-
def
_codec: ThriftStructCodec3[Page]
- Definition Classes
- Page → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
campaignCodes: Option[Set[String]]
The values of all of the CMP and INTCMP parameters
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Page → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
contentTypes: Option[Set[String]]
Returns some approximation of the content type, generated by the serving platform.
Returns some approximation of the content type, generated by the serving platform.
Currently, next-gen produces a maximum of one entry whereas R2 generates a number of varying entries. Native mobile apps produce nothing. There is little consistency between the strings that the platforms report.
As a result, you are strongly advised not to make use of this field unless you have a really good reason to do so. It will likely be removed at some point in the future.
-
def
copy(url: Url = this.url, campaignCodes: Option[Set[String]] = this.campaignCodes, platform: Option[Platform] = this.platform, section: Option[String] = this.section, publicationDate: Option[String] = this.publicationDate, contentTypes: Option[Set[String]] = this.contentTypes, renderedComponents: Option[Set[String]] = this.renderedComponents, tags: Option[Set[Tag]] = this.tags, podcast: Option[Podcast] = this.podcast, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Page
- Definition Classes
- Page
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Page → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
- Definition Classes
- Page
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- Page
-
def
hashCode(): Int
- Definition Classes
- Page → AnyRef → Any
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
platform: Option[Platform]
The platform that served this page.
-
def
podcast: Option[Podcast]
Additional information for pageviews that refer to a podcast
-
def
productArity: Int
- Definition Classes
- Page → Product9 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Page → Product9 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Page → Product
-
def
publicationDate: Option[String]
For most content pages, the publication date of the content, in ISO date format "YYYY-MM-DD" e.g.
For most content pages, the publication date of the content, in ISO date format "YYYY-MM-DD" e.g. 2014-01-20
Note this is currently extracted from the url, though in the future more advanced techiniques may be used to calculate this data.
Fronts will never have a publication date.
-
def
renderedComponents: Option[Set[String]]
The set of component names that were rendered on this page.
-
def
section: Option[String]
The section id of the page.
The section id of the page.
Network front pages (e.g. "/uk") are assigned to a section named "/" (a single slash).
Note this is currently extracted from the url, though in the future more advanced techiniques may be used to caluclate this data.
Will always be undefined for non www.theguardian.com urls.
-
def
setField(_blob: TFieldBlob): Page
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
- Definition Classes
- Page
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tags: Option[Set[Tag]]
The set of tags that were rendered on this page.
-
def
toString(): String
- Definition Classes
- Page → AnyRef → Any
-
def
toTuple: (Url, Option[Set[String]], Option[Platform], Option[String], Option[String], Option[Set[String]], Option[Set[String]], Option[Set[Tag]], Option[Podcast])
- Definition Classes
- Page
-
def
unsetCampaignCodes: Page
- Definition Classes
- Page
-
def
unsetContentTypes: Page
- Definition Classes
- Page
-
def
unsetField(_fieldId: Short): Page
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- Page
-
def
unsetPlatform: Page
- Definition Classes
- Page
-
def
unsetPodcast: Page
- Definition Classes
- Page
-
def
unsetPublicationDate: Page
- Definition Classes
- Page
-
def
unsetRenderedComponents: Page
- Definition Classes
- Page
-
def
unsetSection: Page
- Definition Classes
- Page
-
def
unsetTags: Page
- Definition Classes
- Page
-
def
unsetUrl: Page
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- Page
-
def
url: Url
Url of the page served
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- Page → ThriftStruct