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 ABAP 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 M_UNIQUE_URLS 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 CAN_ACCESS_RESOURCES Static method Public Method Check if resources are accessible 20120510
2 CONVERT_HTML_URLS_TO_RESOURCES Instance method Public Method Determines resource requirement and replaces the URLs 20101104
3 CONVERT_PAGE_URLS_TO_RESOURCES Instance method Public Method Determines resource requirement and replaces the URLs 20101104
4 CONVERT_RESOURCES_TO_URLS Instance method Public Method Replaces the resources with absolute URLs 20101104
5 E Static method Private Method Internal: XML Attribute Escaping 20101028
6 GET_RESOURCE_DATA Instance method Public Method Globally Unique URL Through Content Hash 20120411
7 GET_RESOURCE_URL Instance method Public Method Determines the URL for a resource reference 20101104
8 MAKE_UNIQUE_RESOURCE_URL Instance method Private Method Globally Unique URL Through Content Hash 20101105
9 MAKE_UNIQUE_RESOURCE_URLS Instance method Private Method Makes URLs for static resources unique 20101105
10 PARSE_RESOURCES_XML Instance method Public Method Returns resource references from XML 20101028
11 RENDER_RESOURCES_XML Instance method Public Method Creates XML for resource references 20101028
12 TEST_MAKE_UNIQUE_RESOURCE_URL Static method Public Method Test 20120510
13 _CONVERT_HTML_JS_TO_RESOURCES Instance method Public Method Determines resource requirement and replaces the URLs 20101105
14 _CONVERT_HTML_URLS_TO_RES 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 Returning 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 Changing HTML Call by reference Type reference (TYPE) STRING 20101104
2 Changing 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 Returning RESOURCES Value transfer Type reference (TYPE) T_RESOURCE_TAB 20101104
2 Importing UR_PAGE Call by reference Object reference (TYPE REF TO) IFUR_NW7_PAGE 20101104
3 Importing 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 Changing HTML Call by reference Type reference (TYPE) STRING 20101104
2 Importing HTTP_SERVER_URL Call by reference Type reference (TYPE) STRING HTTP Server URL des Zielsystems 20101104
3 Importing 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 Returning ESCAPED Value transfer Type reference (TYPE) STRING 20101028
2 Importing 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 Exporting CDATA Call by reference Type reference (TYPE) STRING 20120411
2 Exporting DATA Call by reference Type reference (TYPE) XSTRING 20120411
3 Importing 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 Importing HTTP_SERVER_URL Call by reference Type reference (TYPE) STRING 20101104
2 Importing RESOURCE Call by reference Type reference (TYPE) T_RESOURCE 20101104
3 Returning 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 Exporting UNIQUE_ID Value transfer Type reference (TYPE) STRING 20101105
2 Exporting UNIQUE_URL Value transfer Type reference (TYPE) STRING 20101105
3 Importing 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 Changing 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 Returning RESOURCES Value transfer Type reference (TYPE) T_RESOURCE_TAB 20101028
2 Importing 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 Importing RESOURCES Call by reference Type reference (TYPE) T_RESOURCE_TAB 20101028
2 Returning 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 Changing HTML Call by reference Type reference (TYPE) STRING 20101105
2 Changing RESOURCES Call by reference Type reference (TYPE) T_RESOURCE_TAB 20101105
3 Importing 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 Changing HTML Call by reference Type reference (TYPE) STRING 20101105
2 Changing 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