CONSTANT_ADDRESS
Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string.
Examples
Given the following operation config:
Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser
Requests to the following request paths will call the backend at the translated path:
Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe
Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe
Attributes
- Source
- BackendRule.scala
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Recognizedclass PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
CONSTANT_ADDRESS.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
The names of the product elements
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
The mirrored *-type
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
Inherited and Abstract types
The name of the type
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- BackendRule.scala
Inherited methods
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
GeneratedEnum -> Any
- Inherited from:
- GeneratedEnum
- Source
- GeneratedMessageCompanion.scala
Inherited fields
Attributes
- Inherited from:
- PathTranslation
- Source
- BackendRule.scala