PortalBuilderImpl
portals.api.builder.PortalBuilderImpl
class PortalBuilderImpl(name: String)(using bctx: ApplicationBuilderContext) extends PortalBuilder
Internal API. Implementation of the PortalBuilder.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Build a portal with name
and no key-extractor.
Build a portal with name
and no key-extractor.
Type parameters
- R
-
the type of the response
- T
-
the type of the request
Value parameters
- name
-
the name of the portal
Attributes
- Returns
-
the portal reference
- Example
-
builder.portals.portal[String, Int]("portalName")
- Definition Classes
Build a portal with name
and a key-extractor f
.
Build a portal with name
and a key-extractor f
.
Type parameters
- R
-
the type of the response
- T
-
the type of the request
Value parameters
- f
-
the key-extractor function
- name
-
the name of the portal
Attributes
- Returns
-
the portal reference
- Example
-
builder.portals.portal[String, Int]("portalName", keyFrom)
- Definition Classes
In this article