object ReqHdl extends Serializable
HTTP Request Handler
- Alphabetic
- By Inheritance
- ReqHdl
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 AllStudyPlan(size: Int = 1500): ParVector[JsonObject]
Follows each
next
link, extracting the underlyingJsonObject
until there is no more result to getFollows each
next
link, extracting the underlyingJsonObject
until there is no more result to getNOTE: This method needs only to be called when retrieving study plans
- size
amount of element to get for each parallel request
- returns
Vector of each response's page
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseUrl: String
API entry point
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def course(id: String = null, size: Int = 1000): ReqHdl
Same as
studyPlan()
but for couse, see ch.ReqHdl.studyPlan for more infosSame as
studyPlan()
but for couse, see ch.ReqHdl.studyPlan for more infos- size
Int, number of results (optional, defaults to 1000)
- returns
new Request i.e.
ReqHdl
instance, requesting a list of courses if id was not given and details about course with givenid
if it was
- lazy val courseUrl: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def g(endpoint: String): ReqHdl
Instantiate ReqHdl class with a new request, to execute it call the apply method i.e.
Instantiate ReqHdl class with a new request, to execute it call the apply method i.e.
ReqHdl(req)()
orReqHdl(req).apply()
- endpoint
end of url to be appended to
this.baseUrl
- returns
ReqHdl
instance
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def studyPlan(id: String = null, size: Int = 2000): ReqHdl
- id
String, exact url-id of the form
studyPlanUrlId
. (Optional) if not given, defaults to aksing for the list of studyPlans- size
Int, number of results (optional, defaults to 2000) NB: MAXIMUM (accepted by api) IS 2000
- returns
new Request i.e.
ReqHdl
instance, requesting a list of study-plans if id was not given and details about study-plan with givenid
if it was
- lazy val studyPlanNodeUrl: String
will return study plan info and the courses inside it
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated