SAP Spartacus public API的概念 - index.ts

简介: 看一个具体的例子:https://github.com/SAP/spartacus/issues/11730

backport of #11744 to maintanance branch


As described in the Angular docs, a HttpResponse.url can be null or string. Therefore it should be checked in the AnonymousConsentsInterceptor before accessing it with startsWith.


By the way, now we export AnonymousConsentsInterceptor in the public API. There is no reason to hide it in the private API.


因为根据Angular文档,url 可以为null,因此在调用其方法之前,要先检查其是否可用。

image.png

image.png

image.png


相关文章
|
3月前
|
开发框架 容器
SAP UI5 控件的 aggregation 的概念解析
SAP UI5 控件的 aggregation 的概念解析
37 0
|
4月前
|
应用服务中间件 Windows
129. SAP ABAP Update Process(更新进程)的概念和设计动机解析
129. SAP ABAP Update Process(更新进程)的概念和设计动机解析
37 1
|
6月前
|
Linux 程序员 C++
Linux系统函数API----基本概念
Linux系统函数API----基本概念
38 0
|
7月前
|
缓存 API 流计算
Flink--7、窗口(窗口的概念、分类、API、分配器、窗口函数)、触发器、移除器
Flink--7、窗口(窗口的概念、分类、API、分配器、窗口函数)、触发器、移除器
|
4月前
|
应用服务中间件 调度 数据库
SAP ABAP Update Process(更新进程)的概念和设计动机解析试读版
SAP ABAP Update Process(更新进程)的概念和设计动机解析试读版
21 0
|
24天前
|
Java BI API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
18 0
|
2月前
|
数据库 开发者 容器
SAP OData metadata.xml 里 EntityType,EntitySet 和 EntityContainer 三个概念之间的区别和联系
SAP OData metadata.xml 里 EntityType,EntitySet 和 EntityContainer 三个概念之间的区别和联系
26 0
|
4月前
|
安全 数据安全/隐私保护 UED
关于 SAP ABAP NetWeaver 系统的 /sap/public/bc/icf/logoff
关于 SAP ABAP NetWeaver 系统的 /sap/public/bc/icf/logoff
29 0
|
4月前
|
监控 安全 数据安全/隐私保护
SAP RBAM (Role-Based Authorization Management) 概念解析
SAP RBAM (Role-Based Authorization Management) 概念解析
32 0
|
4月前
|
SQL 数据库
SAP ABAP 系统的 Update Process 概念
SAP ABAP 系统的 Update Process 概念
35 0