SAP ABAP Class /UI5/CL_UI5_DEMO_HTTP_HANDLER (UI5 HTTP request handler for DEMOKIT)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI5 (Application Component) SAP UI development toolkit for HTML5 - Rendering library
⤷
/UI5/UI5_INFRA (Package) SAP UI5 Infrastructure
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20131111 |
Properties
| Class | /UI5/CL_UI5_DEMO_HTTP_HANDLER | |
| Short Description | UI5 HTTP request handler for DEMOKIT | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /UI5/UI5_INFRA | SAP UI5 Infrastructure |
| Created | 20131111 | SAP |
| Last change | 20141120 | |
| 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20131111 |
Friends
Class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no friend class.
Attributes
Class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | determine the version to use | 20131111 | |
| 2 | Instance method | Private | Method | Searches for the requested file in the DEMOKIT | 20131111 | |
| 3 | Instance method | Private | Method | creates the content for discovery/all_libs request | 20131120 | |
| 4 | Static method | Public | Method | get available demokit versions in the system | 20131113 | |
| 5 | Instance method | Private | Method | Searches for the requested file in the BASE theme | 20131121 |
Events
Class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GS_VERSION_TYPE | Public | See coding | Structure type for versions | 20131113 | BEGIN OF gs_version_type,
version TYPE skwf_descr,
major TYPE i,
minor TYPE i,
patch TYPE i,
snapshot TYPE abap_bool,
END OF gs_version_type
|
|
| 2 | GT_VERSION_TYPE | Public | See coding | Table type for versions | 20131113 | GT_VERSION_TYPE type SORTED TABLE OF gs_version_type WITH UNIQUE KEY major minor patch
|
Method Signatures
Method DETERMINE_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_PATH | Call by reference | Type reference (TYPE) | STRING | path to requested file | 20131111 | |||
| 2 | EV_VERSION | Call by reference | Type reference (TYPE) | STRING | version to use | 20131111 |
Method DETERMINE_VERSION on class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no exception.
Method FIND_FILE_IN_DEMOKIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | file content | 20131111 | |||
| 2 | EV_CONTENT_LAST_CHANGED | Call by reference | Type reference (TYPE) | SDOK_CHTST | last changed | 20131111 | |||
| 3 | EV_ETAG | Call by reference | Type reference (TYPE) | CHAR32 | Etag for server cache | 20131111 | |||
| 4 | EV_IS_FOLDER | Call by reference | Type reference (TYPE) | ABAP_BOOL | Folder indicator | 20131111 | |||
| 5 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | MIME type | 20131111 | |||
| 6 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | not found indicator | 20131111 | |||
| 7 | EV_USE_CACHE | Call by reference | Type reference (TYPE) | ABAP_BOOL | use cache | 20131111 | |||
| 8 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path of reqiested file in demokit | 20131111 | |||
| 9 | IV_VERSION | Call by reference | Type reference (TYPE) | STRING | version of demokit | 20131111 |
Method FIND_FILE_IN_DEMOKIT on class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no exception.
Method GET_DISCOVERY_ALL_LIBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONTENT | Call by reference | Type reference (TYPE) | STRING | file content | 20131120 | |||
| 2 | EV_CONTENT_LAST_CHANGED | Call by reference | Type reference (TYPE) | SDOK_CHTST | last changed | 20131120 | |||
| 3 | EV_ETAG | Call by reference | Type reference (TYPE) | CHAR32 | Etag for server cache | 20131120 | |||
| 4 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | MIME type | 20131120 | |||
| 5 | EV_USE_CACHE | Call by reference | Type reference (TYPE) | ABAP_BOOL | use cache | 20131120 | |||
| 6 | IV_VERSION | Call by reference | Type reference (TYPE) | STRING | version of demokit | 20131120 |
Method GET_DISCOVERY_ALL_LIBS on class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no exception.
Method GET_VERSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_VERSIONS | Call by reference | Type reference (TYPE) | GT_VERSION_TYPE | Table of versions | 20131113 | |||
| 2 | EV_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | requested version found | 20131114 | |||
| 3 | IV_DETAILS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Detailled informatieon needed | 20131113 | ||
| 4 | IV_VERSION | Call by reference | Type reference (TYPE) | SKWF_DESCR | search only for specific version (only for normal versions) | 20131113 |
Method GET_VERSIONS on class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no exception.
Method NEGOTIATE_THEME_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | file content | 20131121 | |||
| 2 | EV_CONTENT_LAST_CHANGED | Call by reference | Type reference (TYPE) | SDOK_CHTST | last changed | 20131121 | |||
| 3 | EV_ETAG | Call by reference | Type reference (TYPE) | CHAR32 | Etag for server cache | 20131121 | |||
| 4 | EV_IS_FOLDER | Call by reference | Type reference (TYPE) | ABAP_BOOL | Folder indicator | 20131121 | |||
| 5 | EV_MIME_TYPE | Call by reference | Type reference (TYPE) | CSEQUENCE | MIME type | 20131121 | |||
| 6 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | not found indicator | 20131121 | |||
| 7 | EV_USE_CACHE | Call by reference | Type reference (TYPE) | ABAP_BOOL | use cache | 20131121 | |||
| 8 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | path of reqiested file in demokit | 20131121 | |||
| 9 | IV_VERSION | Call by reference | Type reference (TYPE) | STRING | version of demokit | 20131121 |
Method NEGOTIATE_THEME_REQUEST on class /UI5/CL_UI5_DEMO_HTTP_HANDLER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 100 |