SAP ABAP Class CL_WDR_ECATT_RESOURCE_HANDLER (eCATT Support: Management of Resources for HTML Snapshots)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-ABA (Application Component) Web Dynpro ABAP
⤷
SWDP_RUNTIME_ECATT_SUPPORT (Package) eCATT Specific Support from Web Dynpro ABAP
⤷
⤷
Properties
| Class | CL_WDR_ECATT_RESOURCE_HANDLER | |
| Short Description | eCATT Support: Management of Resources for HTML Snapshots | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWDP_RUNTIME_ECATT_SUPPORT | eCATT Specific Support from Web Dynpro ABAP |
| Created | 20101028 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WDR_ECATT_RESOURCE_HANDLER has no interface implemented.
Friends
Class CL_WDR_ECATT_RESOURCE_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | T_UNIQUE_URL_TAB | HTTP Framework (iHTTP) Table Name/Value Pairs | 20101105 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if resources are accessible | 20120510 | |
| 2 | Instance method | Public | Method | Determines resource requirement and replaces the URLs | 20101104 | |
| 3 | Instance method | Public | Method | Determines resource requirement and replaces the URLs | 20101104 | |
| 4 | Instance method | Public | Method | Replaces the resources with absolute URLs | 20101104 | |
| 5 | Static method | Private | Method | Internal: XML Attribute Escaping | 20101028 | |
| 6 | Instance method | Public | Method | Globally Unique URL Through Content Hash | 20120411 | |
| 7 | Instance method | Public | Method | Determines the URL for a resource reference | 20101104 | |
| 8 | Instance method | Private | Method | Globally Unique URL Through Content Hash | 20101105 | |
| 9 | Instance method | Private | Method | Makes URLs for static resources unique | 20101105 | |
| 10 | Instance method | Public | Method | Returns resource references from XML | 20101028 | |
| 11 | Instance method | Public | Method | Creates XML for resource references | 20101028 | |
| 12 | Static method | Public | Method | Test | 20120510 | |
| 13 | Instance method | Public | Method | Determines resource requirement and replaces the URLs | 20101105 | |
| 14 | Instance method | Public | Method | Determines resource requirement and replaces the URLs | 20101105 |
Events
Class CL_WDR_ECATT_RESOURCE_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_RESOURCE | Public | See coding | 20101028 | begin of t_resource,
unique_id type string,
store_local type abap_bool,
mimetype type string,
url type string,
placeholder type string,
data type string,
end of t_resource
|
||
| 2 | T_RESOURCE_TAB | Public | See coding | 20101028 | t_resource_tab type standard table of t_resource with default key
|
||
| 3 | T_UNIQUE_URL | Private | See coding | 20120510 | begin of t_unique_url,
url type string,
unique_url type string,
unique_id type string,
end of t_unique_url
|
||
| 4 | T_UNIQUE_URL_TAB | Private | See coding | 20120510 | t_unique_url_tab type standard table of t_unique_url
|
Method Signatures
Method CAN_ACCESS_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACCESS_POSSIBLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120510 |
Method CAN_ACCESS_RESOURCES on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method CONVERT_HTML_URLS_TO_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Call by reference | Type reference (TYPE) | STRING | 20101104 | ||||
| 2 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101104 |
Method CONVERT_HTML_URLS_TO_RESOURCES on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method CONVERT_PAGE_URLS_TO_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESOURCES | Value transfer | Type reference (TYPE) | T_RESOURCE_TAB | 20101104 | ||||
| 2 | UR_PAGE | Call by reference | Object reference (TYPE REF TO) | IFUR_NW7_PAGE | 20101104 | ||||
| 3 | UR_SYSTEM | Call by reference | Object reference (TYPE REF TO) | IFUR_NW7_SYSTEM | 20101104 |
Method CONVERT_PAGE_URLS_TO_RESOURCES on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method CONVERT_RESOURCES_TO_URLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Call by reference | Type reference (TYPE) | STRING | 20101104 | ||||
| 2 | HTTP_SERVER_URL | Call by reference | Type reference (TYPE) | STRING | HTTP Server URL des Zielsystems | 20101104 | |||
| 3 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101104 |
Method CONVERT_RESOURCES_TO_URLS on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method E Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED | Value transfer | Type reference (TYPE) | STRING | 20101028 | ||||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | 20101028 |
Method E on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method GET_RESOURCE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CDATA | Call by reference | Type reference (TYPE) | STRING | 20120411 | ||||
| 2 | DATA | Call by reference | Type reference (TYPE) | XSTRING | 20120411 | ||||
| 3 | URL | Value transfer | Type reference (TYPE) | STRING | 20120411 |
Method GET_RESOURCE_DATA on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method GET_RESOURCE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTTP_SERVER_URL | Call by reference | Type reference (TYPE) | STRING | 20101104 | ||||
| 2 | RESOURCE | Call by reference | Type reference (TYPE) | T_RESOURCE | 20101104 | ||||
| 3 | URL | Value transfer | Type reference (TYPE) | STRING | 20101104 |
Method GET_RESOURCE_URL on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method MAKE_UNIQUE_RESOURCE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | UNIQUE_ID | Value transfer | Type reference (TYPE) | STRING | 20101105 | ||||
| 2 | UNIQUE_URL | Value transfer | Type reference (TYPE) | STRING | 20101105 | ||||
| 3 | URL | Value transfer | Type reference (TYPE) | STRING | 20101105 |
Method MAKE_UNIQUE_RESOURCE_URL on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method MAKE_UNIQUE_RESOURCE_URLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101105 |
Method MAKE_UNIQUE_RESOURCE_URLS on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method PARSE_RESOURCES_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESOURCES | Value transfer | Type reference (TYPE) | T_RESOURCE_TAB | 20101028 | ||||
| 2 | XML | Call by reference | Type reference (TYPE) | STRING | 20101028 |
Method PARSE_RESOURCES_XML on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method RENDER_RESOURCES_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101028 | ||||
| 2 | XML | Value transfer | Type reference (TYPE) | STRING | 20101028 |
Method RENDER_RESOURCES_XML on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method TEST_MAKE_UNIQUE_RESOURCE_URL Signature
Method TEST_MAKE_UNIQUE_RESOURCE_URL on class CL_WDR_ECATT_RESOURCE_HANDLER has no parameter.
Method TEST_MAKE_UNIQUE_RESOURCE_URL on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method _CONVERT_HTML_JS_TO_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Call by reference | Type reference (TYPE) | STRING | 20101105 | ||||
| 2 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101105 | ||||
| 3 | ROOT_URL | Call by reference | Type reference (TYPE) | STRING | 20101105 |
Method _CONVERT_HTML_JS_TO_RESOURCES on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
Method _CONVERT_HTML_URLS_TO_RES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Call by reference | Type reference (TYPE) | STRING | 20101105 | ||||
| 2 | RESOURCES | Call by reference | Type reference (TYPE) | T_RESOURCE_TAB | 20101105 |
Method _CONVERT_HTML_URLS_TO_RES on class CL_WDR_ECATT_RESOURCE_HANDLER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |